2014-11-20 11 views
5

Ich benutze CocoaPods und bekomme die Warnungen unten. Der Fehler sagt, dass die Standardeinstellungen auf $ (geerbt) geändert werden sollen, aber das ist mit diesen Zielen nicht möglich. Sie können nur aus einer Liste von Optionen auswählen. Alles scheint zu funktionieren, also bin ich glücklich, die Warnungen einfach zu ignorieren, aber wenn jemand etwas Licht werfen könnte, würde ich es schätzen!Auflösen CocoaPods Ziel überschreibt Warnungen für Compiler

[!] 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

Antwort

2

ich sicher nicht sagen, aber aus meiner Forschung sind die Warnungen von einem Bug in cocoapods, so ist es sicher, sie zu ignorieren.

+0

Von der Forschung, die ich getan haben Sie die $ hinzufügen sollen (geerbt) Flag auf jede Einstellung, die Sie von cocoapods außer Kraft setzen wollen, aber da CLANG_CXX_LANGUAGE_STANDARD und CLANG_CXX_LIBRARY Akzeptiere keine Freiform-Werte, ich kann das $ (geerbt) -Flag nicht zur Build-Einstellung hinzufügen. –

+0

Ich werde die von Cocoapods erstellten Ziele manuell bearbeiten –

Verwandte Themen