2012-09-24 2 views
1

초보자입니다. 정보가 너무 많거나 너무 적 으면 용서해주세요. 파생 된 데이터를 삭제하고이 질문과 유사한 다른 질문에서 본 XCode를 다시 시작했지만 여전히 동일한 세 가지 오류 메시지가 표시됩니다.XCode 4.5 DP4에서 XCode 4.5로 업데이트 한 후 앱이 시뮬레이터에서 실행되지만 기기에서는 실행되지 않습니다.

Apple Mach-O 링커 오류 : 링커 명령이 종료시 실패했습니다. 코드 1

Ld /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7s/GayHaiku normal armv7s 
cd /Users/joel/Desktop/GayHaiku 
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos -L/Users/joel/Desktop/GayHaiku/facebook-ios-sdk/build/facebook-ios-sdk.build/Release-iphoneos/facebook-ios-sdk.build/Objects-normal/armv6 -L/Users/joel/Desktop/GayHaiku/facebook-ios-sdk/build/facebook-ios-sdk.build/Release-iphoneos/facebook-ios-sdk.build/Objects-normal/armv7 -L/Users/joel/Desktop/GayHaiku/facebook-ios-sdk/build/Release-iphoneos -L/Users/joel/Desktop/GayHaiku/facebook-ios-sdk/build/Release-iphonesimulator -L/Users/joel/Desktop/GayHaiku/facebook-ios-sdk/lib/facebook-ios-sdk -F/Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos -F/Users/joel/Desktop/GayHaiku -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7s/GayHaiku.LinkFileList -dead_strip -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework Accounts -framework Social -framework CFNetwork -lsqlite3 -lz.1.1.3 -framework MobileCoreServices -framework Security -framework StoreKit -framework SystemConfiguration -framework AudioToolbox -framework Twitter -framework QuartzCore -framework MessageUI -framework UIKit -framework Foundation -framework CoreGraphics -framework Parse -o /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7s/GayHaiku 

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/joel/Desktop/GayHaiku/Parse.framework/Parse for architecture armv7s 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

분류 : 명령은 종료 코드 1

CreateUniversalBinary /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app/GayHaiku normal "armv7 armv7s" 
cd /Users/joel/Desktop/GayHaiku 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
lipo -create /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7/GayHaiku /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7s/GayHaiku -output /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app/GayHaiku 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Intermediates/GayHaiku.build/Debug-iphoneos/GayHaiku.build/Objects-normal/armv7s/GayHaiku (No such file or directory) 
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo failed with exit code 1 

Dysmutil 오류 실패 : 실행 열 수 없습니다

GenerateDSYMFile /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app.dSYM /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app/GayHaiku 
cd /Users/joel/Desktop/GayHaiku 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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/dsymutil /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app/GayHaiku -o /Users/joel/Library/Developer/Xcode/DerivedData/GayHaiku-crhnnbsqptnxaogjezyomdzplbag/Build/Products/Debug-iphoneos/GayHaiku.app.dSYM 

해결 방법에 대한 의견이 있으십니까?

답변

6

나는 내 애플 리케이션 중 하나에서 비슷한 문제를 발견했다.

armv7 용으로 컴파일되지 않은 외부 라이브러리에 연결하고 있습니까? 그렇다면이 오류가 발생합니다. 문제를 해결하려면 armv7s 지원을 사용하여 라이브러리를 찾아 컴파일해야합니다. 그렇지 않으면 유효한 아키텍처에서 armv7을 제거 할 수 있습니다.

프로젝트 파일을 클릭하고 대상을 선택하고 유효한 아키텍처 선에서 armv7s 행을 삭제하여이 작업을 수행하십시오.

이것은 나를 위해 일했습니다.

+0

당신은 남자들 사이에서 왕자 (또는 여자들 사이에서 공주)입니다! 이제 내 질문, 유효한 아키텍처에서 armv7 만있는 줄은 보이지 않습니다. 나는 다른 대답으로 사진을 올릴 것이다. –

+0

신경 쓰지 마세요 - 외부 라이브러리의 최신 버전을 다운로드하여 해결했습니다! 고마워, 고마워, 고마워! –

관련 문제