2014-02-14 3 views
5

그래서 문제가 조금 있습니다. Apple은 지난 3 번 내 앱을 거부했습니다. 그리고 그들은 항상이 실수로 나를 떠났습니다. ld : iOS 시뮬레이터 용 건물이지만 MacOSX 파일 용 dylib와 연결

Incident Identifier: 0F8AC4C8-57A6-4E1E-BE2B-0A93E6A85564 
CrashReporter Key: 03e6d04a9f8fcf7989c751d0befe3b50ff6720c8 
Hardware Model:  xxx 
Process:    Unoffical Statitics [1012] 
Path:    /var/mobile/Applications/0A0DD25F-0320-4D79-BB3D-F69A9823B82C/Unoffical Statitics.app/Unoffical Statitics 
Identifier:   com.APPSTARME.ManUtd 
Version:    1.0 (1.0) 
Code Type:   ARM (Native) 
Parent Process:  launchd [1] 

Date/Time:   2014-02-12 10:44:08.759 -0800 
OS Version:   iOS 7.0.4 (11B554a) 
Report Version:  104 

Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe 
Triggered by Thread: 0 

Dyld Error Message: 
    Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit 
    Referenced from: /var/mobile/Applications/0A0DD25F-0320-4D79-BB3D-F69A9823B82C/Unoffical Statitics.app/Unoffical Statitics 
    Reason: image not found 
    Dyld Version: 324 

Binary Images: 
0x2befd000 - 0x2bf1d77a dyld armv7s <fd7cb81f388f39cbac4f71338b669c24> /usr/lib/dyld 
0x3ae07000 - 0x3aebafff libxml2.2.dylib armv7s <810acee8bebe317492118d752643bde3> /usr/lib/libxml2.2.dylib 

그래서 난하지만 난 그냥 내 프레임 워크 검색 경로를 모두 제거, 전혀 운이 문제를 해결하기 위해 노력했습니다

그러나 (엑스 코드는 $(DEVELOPER_FRAMEWORKS_DIR) 기본적으로 지금이 하나를 설정) 때

수출 PATH =/응용 프로그램/Xcode.app : 나는 당신의 client.app에이 오류를

ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Applications/Xcode51-DP2.app/Contents/Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit' for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

답변

1

실행이 명령을 수신하고있어 이제 응용 프로그램을 실행하려고 /Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH

은 Xcode의 이름으로 Xocde.app입니다.