주를 컴파일하기 없습니다 :이이 질문을 할 수있는 적절한 장소인지 모르겠지만, 은 내가 ... 명백한 또는 "일반"답변을 얻을 수 있다고 생각하는 앞으로 누군가 다른 사람 을 도울 수 있습니다. 그래서, 여기 갑니다.워드 프레스는
here에서 WordPress 소스 코드의 사본을 받았습니다. 내가 여기에이 문제를 해결하기 위해 해결책을 발견
error: CrashReporter/CrashReporter.h: No such file or directory
: 내가 먼저 컴파일 할 때
, 내가 이러한 오류의 무리를 받았다
http://ios.trac.wordpress.org/ticket/511
내가 plcrashreported의 최신 복사본을 다운로드, 교체 기존의 것. 그러나 여전히 프로젝트는 컴파일되지 않습니다. 여기에 내가 무엇을 얻을 수 있습니다 :
Build WordPress of project WordPress with configuration Debug
Ld build/Debug-iphonesimulator/WordPress.app/WordPress normal i386
cd /Users/imauser/Downloads/trunk
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -L/Users/imauser/Downloads/trunk/build/Debug-iphonesimulator -L/Users/imauser/Downloads/trunk/FlurryLib -F/Users/imauser/Downloads/trunk/build/Debug-iphonesimulator -F/Users/imauser/Downloads/trunk/Classes -filelist /Users/imauser/Downloads/trunk/build/WordPress.build/Debug-iphonesimulator/WordPress.build/Objects-normal/i386/WordPress.LinkFileList -mmacosx-version-min=10.6 -weak_library /usr/lib/libSystem.B.dylib -weak_framework UIKit -lxml2 -licucore -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework SystemConfiguration -framework QuartzCore -framework Security -framework MapKit -framework CoreLocation -framework MobileCoreServices -framework CoreData -framework MediaPlayer -framework CFNetwork -lz.1.2.3 -weak_framework AssetsLibrary -framework MessageUI -framework CrashReporter -lFlurry -liconv -o /Users/imauser/Downloads/trunk/build/Debug-iphonesimulator/WordPress.app/WordPress
ld: warning: duplicate dylib /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/system/libSystem.host.dylib
Undefined symbols:
"_OBJC_CLASS_$_PLCrashReport", referenced from:
objc-class-ref-to-PLCrashReport in WordPressAppDelegate.o
objc-class-ref-to-PLCrashReport in CrashReportViewController.o
"_OBJC_CLASS_$_PLCrashReporter", referenced from:
objc-class-ref-to-PLCrashReporter in WordPressAppDelegate.o
objc-class-ref-to-PLCrashReporter in CrashReportViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
그래서, 어떻게 된거 야? 나는 이것을 이해할 수 없다. 그리고 어떻게 해결할 수 있습니까?
프로젝트 설정에서 "라이브러리 검색 경로"가 비어 있습니다! 그러나 대상 설정에는 해당되지 않습니다. "라이브러리 검색 경로"에는 루트 디렉토리에있는 "CrashReporter.framework"의 검색 경로가 없습니다. 심지어 "라이브러리 검색 경로"및 "프레임 워크 검색 경로"에서 "$ (SRCROOT) /CrashReporter.framework"경로를 추가하더라도 작동하지 않습니다. 아니면 다른 일을해야합니까? – Mustafa