Apple Mach-O Linker Error

Ich habe versucht, fügen Sie eine testunit Ziel zu meinem Projekt scheiterte aber enorm.
Meine testunit erfordert libxml2.dylib (eigentlich libxml2.2.dylib) und natürlich sentestingunit.Rahmen.
Ich füge die libxml2.dylib der FRAMEWORK_SEARCH_PATHS in den build-Einstellungen
$(inherited) "$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"

Dann füge ich das sentestingunit.Rahmen in der build-phase -> link-binary mit Bibliotheken.
Ich habe meine app (genannt vindfyrar) als Ziel von Abhängigkeiten.
Jetzt ist das build meiner Tests Ziel, zu Schreien, all die Dinge unter;
Irgendeiner einer ne Idee, was ich falsch gemacht haben?
i386? Warum?

Glauben Sie mir auf diesen einen, ich habe meine Hausaufgaben gemacht, ich e gegooglet und versuchen jede option, die in den build-Einstellungen, könnte möglich sein, falsch... Kein Erfolg.
XCode 4.6 auf Lion 10.7.5

Freundlichen GRÜßEN,
Jan Gifvars

Ld /Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Products/Debug-iphonesimulator/DavisTest.octest/DavisTest normalen i386
cd /Users/jan/utveckling/vivasjofart/vivasjofart
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Products/Debug-iphonesimulator -L/Users/jan/utveckling/vivasjofart/vivasjofart -L/Users/jan/utveckling/vivasjofart/vivasjofart/../../coreplot-Beispiele/DatePlot -L/Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -F/Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Intermediates/vivasjofart.build/Debug-iphonesimulator/DavisTest.build/Objects-normal/i386/DavisTest.LinkFileList -bundle_loader /Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Products/Debug-iphonesimulator/vindfyrar.app/vindfyrar -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework SenTestingKit -framework UIKit -framework Foundation -o /Users/jan/Library/Developer/Xcode/DerivedData/vivasjofart-dvimgeakkxnlwqceslyrhdyifmtf/Build/Products/Debug-iphonesimulator/DavisTest.octest/DavisTest

ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/bundle1.o, es fehlen erforderliche Architektur i386 in der Datei /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/bundle1.o (2 Scheiben)
ld: warning: ignoring file /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libobjc.dylib, fehlen erforderliche Architektur i386 in der Datei /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libobjc.dylib (2 Scheiben)
ld: warning: ignoring file /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libSystem.dylib, fehlen erforderliche Architektur i386 in der Datei /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libSystem.dylib (2 Scheiben)
ld: in " /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libobjc.Ein.dylib', fehlen erforderliche Architektur i386 in der Datei /Developer/Platforms/iPhoneOS.Plattform/DeviceSupport/4.2/Symbole/usr/lib/libobjc.Ein.dylib (2 Scheiben) für Architektur i386
clang: error: linker command failed with exit code 1 (use-v zu sehen invocation)

InformationsquelleAutor Jan Gifvars | 2013-03-25
Schreibe einen Kommentar