2014-11-20 6 views
5

मैं कोकोपोड का उपयोग कर रहा हूं और नीचे चेतावनियां प्राप्त कर रहा हूं। त्रुटि डिफ़ॉल्ट सेटिंग्स को $ (विरासत में) बदलने के लिए कहती है, लेकिन इन लक्ष्यों के साथ यह संभव नहीं है। आप केवल विकल्पों की सूची से ही चयन कर सकते हैं। सबकुछ काम कर रहा है, इसलिए मुझे चेतावनियों को अनदेखा करने में खुशी है, लेकिन अगर कोई कुछ प्रकाश डाल सकता है, तो मैं इसकी सराहना करता हूं!संकुचित करने के लिए CocoaPods लक्ष्य को ओवरराइड चेतावनी

[!] The `VitogoTests [Debug]` target overrides the `CLANG_CXX_LANGUAGE_STANDARD` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

[!] The `VitogoTests [Debug]` target overrides the `CLANG_CXX_LIBRARY` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

[!] The `VitogoTests [Release]` target overrides the `CLANG_CXX_LANGUAGE_STANDARD` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.release.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

[!] The `VitogoTests [Release]` target overrides the `CLANG_CXX_LIBRARY` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.release.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 
+1

http://stackoverflow.com/a/30780124/1576402 – fbeeper

उत्तर

2

मुझे यकीन है कि के लिए नहीं कह सकता, लेकिन मेरे शोध से, चेतावनी cocoapods में एक बग से हैं, तो यह उन्हें अनदेखा करने के लिए सुरक्षित है।

+0

मैंने जो शोध किया है, उससे आपको $ (विरासत) ध्वज को किसी भी सेटिंग में जोड़ना होगा जिसे आप कोकोपोड से ओवरराइड करना चाहते हैं, लेकिन चूंकि CLANG_CXX_LANGUAGE_STANDARD और CLANG_CXX_LIBRARY मुक्त फॉर्म मानों को स्वीकार न करें, मैं निर्माण सेटिंग में $ (विरासत) ध्वज नहीं जोड़ सकता। –

+0

मैं कोकोपोड्स द्वारा बनाए गए लक्ष्यों को मैन्युअल रूप से संपादित करने जा रहा हूं –

संबंधित मुद्दे