XCode5-Simulator: Unbekanntes Optionszeichen "X" in: -Xlinker

Ich bin derzeit durch einen Linker-Fehler blockiert, der NUR auf XCode5 (XCode4 kompiliert einwandfrei) und NUR auf dem Simulator (normale Geräte kompilieren einwandfrei) auftritt.

Wenn ich versuche zu kompilieren, erhalte ich einen "Apple Mach-O Librarian Error", der mir die folgende Textwand gibt:

Libtool build / DevOnly-iphonesimulator / libCozi \ Common \ Code.a normale i386-CD / Users / jr / ios / app / iCozi setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 setenv PATH "/Applications/XCode5/Xcode.app/Contents/Developer/PlatSatform. Plattform / Entwickler / usr / bin: /Applications/XCode5/Xcode.app/Contents/Developer/usr/bin: / usr / bin: / bin: / usr / sbin: / sbin "/Applications/XCode5/Xcode.app/ Inhalt / Entwickler / Toolchains / XcodeDefault.xctoolchain / usr / bin / libtool -static -arch_only i386 -syslibroot /Applications/XCode5/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs.iP -L / Benutzer / jr / ios / App / iCozi / Build / DevOnly-iPhonesimulator -L / Benutzer / jr / ios / App / iCozi /../../ ext / aiMatch / SASIA_iOS_SDK-iPhonesimulator -L / Benutzer / jr /ios/app/iCozi/../../ext/GoogleAdsSDK-iphone-v3.1/Library -L / Nutzer / jr / ios / app / iCozi /../../ ext / Google \ Analytics \ SDK / Bibliothek -L / Benutzer / jr / ios / app / iCozi /../../ ext / AdMarvel_iOS_SDK_2_9_1 / AdMarvelSDK -L / Benutzer / jr / ios / app / iCozi /../../ ext / libComScore-1.1107 .12 -L / Benutzer / jr / ios / app / iCozi /../../ ext / TestFlightSDK -L / Benutzer / jr / ios / app / iCozi /../../ ext / mBlox-SDK / Debug-universal -L / Benutzer / jr / ios / app / iCozi /../../ ext / mBlox-SDK / Release-universal -L / Benutzer / jr / ios / app / iCozi /../../ ext / FacebookSDK /FacebookSDK.framework/Versions/A -L / Users / jr / ios / app / iCozi /../../ ext / GoogleConversionTrackingSDK -L / Users / jr / ios / app / iCozi /../../ ext / TapjoyAdvertiserSDK / TapjoyAdvertiserLibrary -L / Benutzer / jr / ios / app / iCozi /../../ ext / MobileAppTracker.framework / Versionen / A -Dateiliste /Users/jr/ios/app/iCozi/build/iCozi.build / DevOnly-iphonesimulator / Cozi \ Common \ Code.build/Objects-normal/i386/Cozi \ Common \ Code.LinkFileList -all_load -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker / Users / jr / ios / app /iCozi/build/iCozi.build/DevOnly-iphonesimulator/Cozi \ Common \ Code.build/Cozi \ Common \ Code.xcent -framework MobileAppTracker /Applications/XCode5/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Entwickler / SDKs / iPhoneSimulator7.0.sdk / usr / lib / libz.dylib -Framework Foundation -Framework UIKit -Framework CoreGraphics -Framework QuartzCore -Framework Security -Framework MobileCoreServices -Framework CFNetwork -Framework SystemConfiguration -Framework MessageUI -Framework QuartzCore / Users / jr / ios / ext / three20 / Build / Products / Release-iphonesimulator / libT .a /Users/jr/ios/ext/three20/Build/Products/Release-iphonesimulator/libThree20UI.a /Users/jr/ios/ext/three20/Build/Products/Release-iphonesimulator/libThree20UINavigator.a / Users / /ios/ext/three20/Build/Products/Release-iphonesimulator/libThree20UICommon.a /Users/jr/ios/ext/three20/Build/Products/Release-iphonesimulator/libThree20Style.a / Users / jr / ios / ext / three20 /Build/Products/Release-iphonesimulator/libThree20Network.a /Users/jr/ios/ext/three20/Build/Products/Release-iphonesimulator/libThree20Core.a -framework CoreLocation -weak_framework MediaPlayer -weak_framework Audio lGoogleAnalytics /Applications/XCode5/Xcode.app/Contents/Deve loper / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator7.0.sdk / usr / lib / libsqlite3.0.dylib -schwaches_Framework EventKit -schwaches_Framework EventKitUI -lTestFlight -Framework comScore -framework MDS-SDK-PhoneGap -lMDSCore -lGoogleConversionTracking /Users/jr/ios/ext/TapjoyAdvertiserSDK/TapjoyAdvertiserLibrary/TapjoyAdvertiserLibrary.a /Users/jr/ios/ext/FacebookSDK/FacebookSDK.framework/Versions/A/FacebookSDK/Us / Versionen / A / MobileAppTracker -o / Benutzer / jr / ios / app / iCozi / build / DevOnly-iphonesimulator / libCozi \ Common \ Code.a

/Applications/XCode5/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unbekanntes Optionszeichen "X" in: -Xlinker Verwendung: /Applications/XCode5/Xcode.app/Contents/Developer/ Toolchains / XcodeDefault.xctoolchain / usr / bin / libtool -static [-] file [...] [-filelist listfile [, dirname]] [-arch_only arch] [-sacLT] Verwendung: /Applications/XCode5/Xcode.app /Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile [, dirname]] [-arch_only arch] [-o output] [-install_name name ] [-compatibility_version #] [-current_version #] [-seg1addr 0x #] [-segs_read_only_addr 0x #] [-segs_read_write_addr 0x #] [-seg_addr_table] [-seg_addr_table_filename] [-all_load] [-x.c /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool ist mit Exit-Code 1 fehlgeschlagen

Die Wurzel des Problems scheint "unbekanntes Optionszeichen" X "in: -Xlinker" zu sein, aber Google gibt nicht viel Hilfe bei diesem Fehler:https://www.google.com/search?q=%22%60X%27+in%3A+Xlinker%22

"XLinker" erscheint viermal in der obigen Liste (".. -All_load -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/jr/ios/app/iCozi/build/iCozi.build/DevOnly- iphonesimulator / Cozi \ Common \ Code.build/Cozi \ Common \ Code.xcent.. ")

Nur zum Grinsen habe ich versucht, die Leerzeichen aus dem Zielnamen "Cozi Common Code" zu entfernen, aber das hat nicht geholfen.

Auch hier funktioniert die Kompilierung in XCode4-Simulator einwandfrei, und in XCode5 funktioniert sie einwandfrei für die Ausführung auf physischen Geräten, einschließlich iPod und iPad, aber in XCode5 hat jeder Simulator dieses Problem (iPhone / iPod / iPad, sowohl normal als auch retina). auf iOS5 / iOS6 / iOS7).

Ich würde mich WIRKLICH über jeden freuen, der mir dabei helfen kann, dem auf den Grund zu gehen. Vielen Dank!

Antworten auf die Frage(9)

Ihre Antwort auf die Frage