【发布时间】:2011-11-27 23:45:15
【问题描述】:
我有这个库 https://github.com/ararog/Unrar4iOS 用于在 IOS 设备中解压缩 我构建,就像项目的创建者说的那样,但是当我导入我的项目时缺少一个文件并且不工作但是如果我使用示例附带的框架工作正常。 我需要自己编译,因为框架有一个重要的内存泄漏,我想解决这个问题。
我正在为雪豹使用 xcode 4.1 版
问候
编辑错误是:
Ld /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator/prueba.app/prueba normal i386
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/llvm-g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator -F/Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator -F/Users/pacoflaco/Proyectos/prueba -filelist /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Intermediates/prueba.build/Debug-iphonesimulator/prueba.build/Objects-normal/i386/prueba.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreData -framework Unrar4iOS -o /Users/pacoflaco/Library/Developer/Xcode/DerivedData/prueba-dvzvrihnyniqghgnyjzjdvqvnvne/Build/Products/Debug-iphonesimulator/prueba.app/prueba
ld: framework not found Unrar4iOS
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
缺少的文件是Unrar4iOS
【问题讨论】:
-
它认为缺少什么文件?构建时遇到什么错误?这里没有足够的信息。
-
对不起,我添加了更多信息。当我构建时,我有一些警告,但有一些未使用的变量
-
@pacoflaco:请编辑您的问题以包含完整的错误消息,包括产生它的命令。
-
@pacoflaco:命令(我指的是包含所有参数的行)在输出之前。请包含命令。
-
@pacoflaco:你解决过这个问题吗??
标签: iphone xcode cocoa ipad frameworks