単体テストを実行しようとすると、XCodeでエラーが発生します。何か案は?
ビルド設定のフレームワーク検索パスを$(SDKROOT)/ Developer / Library / Frameworks $(DEVELOPER_LIBRARY_DIR)/Frameworksに変更してみました
しかし、それは何も変わりませんでした。
ld: warning: directory not found for option '-F/Applications/Xcode'
ld: warning: directory not found for option '-
F4.3.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode'
ld: warning: directory not found for option '-F4.3.2.app/Contents/Developer/Library/Frameworks'
ld: warning: ignoring file /Applications/Xcode 4.3.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks//SenTestingKit.framework/SenTestingKit, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
"_STComposeString", referenced from:
-[AddressBookFrameworkSyncHelperTest testAddingAPersonToGroupsFromAVcard] in AddressBookFrameworkSyncHelperTest.o
-[SyncTesting testExample] in SyncTesting.o
"_OBJC_CLASS_$_SenTestCase", referenced from:
_OBJC_CLASS_$_AddressBookFrameworkSyncHelperTest in AddressBookFrameworkSyncHelperTest.o
_OBJC_CLASS_$_SyncTesting in SyncTesting.o
"_OBJC_CLASS_$_AddressBookFrameworkSyncHelper", referenced from:
objc-class-ref in AddressBookFrameworkSyncHelperTest.o
(maybe you meant: _OBJC_CLASS_$_AddressBookFrameworkSyncHelperTest)
"_OBJC_METACLASS_$_SenTestCase", referenced from:
_OBJC_METACLASS_$_AddressBookFrameworkSyncHelperTest in AddressBookFrameworkSyncHelperTest.o
_OBJC_METACLASS_$_SyncTesting in SyncTesting.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)