프레임 워크 SSZipArchive를 사용하려고합니다. CocoaPods를 통해 "설치"하려고했으나 (나중에 만들 수는 없었습니다) 나중에 카르타고를 통해 시도했습니다. 나는 두 번째 옵션이 그것을 설치했다고 생각했지만, 그렇지 않았다. 그것은 나에게 오류를 제공합니다Xcode : 프레임 워크를 설치할 때 링커 명령 오류가 발생했습니다.
Ld /Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Products/Debug-iphonesimulator/webR.app/webR normal x86_64 cd /Users/alumno/Documents/iosProj/webR export IPHONEOS_DEPLOYMENT_TARGET=7.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Products/Debug-iphonesimulator -L/Users/alumno/Documents/iosProj/webR/Pods/GGLInstanceID/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/Google/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleCloudMessaging/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleIPhoneUtilities/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleInterchangeUtilities/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleNetworkingUtilities/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleSymbolUtilities/Libraries -L/Users/alumno/Documents/iosProj/webR/Pods/GoogleUtilities/Libraries -F/Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Products/Debug-iphonesimulator -F/Users/alumno/Documents/iosProj/webR/Carthage/Build/iOS -filelist /Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Intermediates/webR.build/Debug-iphonesimulator/webR.build/Objects-normal/x86_64/webR.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=7.0 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lGGLCloudMessaging -lGGLCore -lGGLInstanceIDLib -lGIP_Locale -lGIP_Reachability -lGSDK_Overload_external -lGTMSessionFetcher_core_external -lGTMSessionFetcher_full_external -lGTMStackTrace_external -lGTM_AddressBook_external -lGTM_DebugUtils_external -lGTM_GTMURLBuilder_external -lGTM_KVO_external -lGTM_NSData+zlib -lGTM_NSDictionary+URLArguments_external -lGTM_NSScannerJSON_external -lGTM_NSStringHTML_external -lGTM_NSStringXML_external -lGTM_Regex_external -lGTM_RoundedRectPath_external -lGTM_StringEncoding_external -lGTM_SystemVersion_external -lGTM_UIFont+LineHeight_external -lGTM_core_external -lGTM_iPhone_external -lGcmLib -lProtocolBuffers_external -lsqlite3 -lstdc++ -lz -framework AddressBook -framework AssetsLibrary -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework CoreMotion -framework MessageUI -framework SSZipArchive -framework Security -framework SystemConfiguration -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -force_load -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a -Xlinker -add_ast_path -Xlinker /Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Intermediates/webR.build/Debug-iphonesimulator/webR.build/Objects-normal/x86_64/webR.swiftmodule -framework ZipArchive -Xlinker -dependency_info -Xlinker /Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Intermediates/webR.build/Debug-iphonesimulator/webR.build/Objects-normal/x86_64/webR_dependency_info.dat -o /Users/alumno/Library/Developer/Xcode/DerivedData/webR-enbsuevwixwhtweyjzzmrsectubh/Build/Products/Debug-iphonesimulator/webR.app/webR
ld: framework not found SSZipArchive clang: error: linker command failed with exit code 1 (use -v to see invocation)
이 내가 만든 단계는 다음과 같습니다
1~10 carpfile를 작성하고이 줄을 추가 :
github "ZipArchive/ZipArchive"
2 것은 이것에 의해 터미널을 통해 설치가 명령 :
carthage update --platform iOS
3- 프로젝트 옵션에서 프레임 워크 및 라이브러리 링크. 내가 프로젝트를 빌드 할 때, 그것은 아래 나에게 오류를 제공,
Shell: /bin/sh
/usr/local/bin/carthage copy-frameworks
Input Files: $(SRCROOT)/Carthage/Build/iOS/ZipArchive.framework
5
지금 내가 바르게 가져 오기를 사용할 수 있지만 : 빌드 단계에3-
스크립트를 실행합니다.EDIT : iOS 7을 지원하는 다운로드 한 데이터의 압축을 푸는 데 필요한 도구를 알고 있습니까?