2012-05-05 7 views
0

xcodeを最近4.3にアップグレードしました。 私はテスト中です。ターゲットファイルを複製し、FoneMonkeyファイルを統合してターゲットを実行する必要があります。 私はそれが正常に実行さ取得するorginalターゲットへの変更の下にやった:今xcode3.2からxcode4.3.2にアップグレードした後のBuilderror

updated framework serch paths 

"$(DEVELOPER_FRAMEWORKS_DIR)" 
"$(SRCROOT)/../../Developer/Library/Frameworks" 
"$(SRCROOT)" 

updated Library search paths 

"$(DEVELOPER_FRAMEWORKS_DIR)" 
"$(SRCROOT)/../../Developer/Library/Frameworks" 
"$(SRCROOT)" 
"https://stackoverflow.com/users/ezprintsqa/FoneMonkey/lib" 

executed below command 
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 

構築が正常に実行されます。 しかし、追加Fonemonkeyファイルと重複ターゲットはエラーの下に与える:

Ld "/Users/ezprintsqa/Library/Developer/Xcode/DerivedData/SnapCards-dtjqrhfvqueyhrbbgjgydberyqdm/Build/Products/Debug-iphonesimulator/SnapCards copy.app/SnapCards copy" normal i386 
    cd /Users/ezprintsqa/Documents/snapcards 
    setenv MACOSX_DEPLOYMENT_TARGET 10.6 
    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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/ezprintsqa/Library/Developer/Xcode/DerivedData/SnapCards-dtjqrhfvqueyhrbbgjgydberyqdm/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Library/Frameworks -L/Applications/Xcode.app/Contents/Developer/Library/Frameworks/CPlusTest.framework -L/Applications/Xcode.app/Contents/Developer/Library/Frameworks/DTPerformanceSession.framework -L/Applications/Xcode.app/Contents/Developer/Library/Frameworks/InterfaceBuilderKit.framework -L/ 
. 
. 

ld: warning: directory not found for option '-L/Users/ezprintsqa/Documents/snapcards/../../Developer/Library/Frameworks' 
ld: warning: directory not found for option '-F/Users/ezprintsqa/Documents/snapcards/../../Developer/Library/Frameworks' 
Undefined symbols for architecture i386: 
    "_SCNetworkReachabilitySetCallback", referenced from: 
     -[Reachability startNotifier] in Reachability.o 
    "_SCNetworkReachabilityScheduleWithRunLoop", referenced from: 
     -[Reachability startNotifier] in Reachability.o 
    "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from: 
     -[Reachability stopNotifier] in Reachability.o 
    "_SCNetworkReachabilityCreateWithName", referenced from: 
     +[Reachability reachabilityWithHostName:] in Reachability.o 
    "_SCNetworkReachabilityCreateWithAddress", referenced from: 
     +[Reachability reachabilityWithAddress:] in Reachability.o 
    "_SCNetworkReachabilityGetFlags", referenced from: 
     -[Reachability currentReachabilityStatus] in Reachability.o 
     -[Reachability isReachable] in Reachability.o 
     -[Reachability isConnectionRequired] in Reachability.o 
     -[Reachability isConnectionOnDemand] in Reachability.o 
     -[Reachability isInterventionRequired] in Reachability.o 
     -[Reachability isReachableViaWWAN] in Reachability.o 
     -[Reachability isReachableViaWiFi] in Reachability.o 
     ... 
    "_OBJC_CLASS_$_SenTestSuite", referenced from: 
     objc-class-ref in libFoneMonkeyOCUnit.5.5b.a(FoneMonkey+OCUnit.o) 
    "_OBJC_CLASS_$_SenTestObserver", referenced from: 
     objc-class-ref in libFoneMonkeyOCUnit.5.5b.a(FoneMonkey+OCUnit.o) 
    "_OBJC_CLASS_$_SenTestLog", referenced from: 
     objc-class-ref in libFoneMonkeyOCUnit.5.5b.a(FoneMonkey+OCUnit.o) 
ld: symbol(s) not found for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

いくつかのいずれかが、以下の問題で私を助けてください:

  1. フォルダ/Users/ezprintsqa/Library/Developer/は4.3にアップグレードした後、今は使用できませんが、ここではこのパスは設定されています(どのように変更できますか)。
  2. _objc_classの問題。

ありがとうございました。

答えて

0

XcodeからSenTesting.frameworkを削除すると、問題は解決しました。

関連する問題