我无法创建在 xcode 4 中工作的框架
我有这个库 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
I have this library https://github.com/ararog/Unrar4iOS for unrar in IOS device
and i build, like the creator of the project say, but one files is missing and dont work when i importing to my project but if i use the framework that cames with the example work fine.
I need to compile but my self because the framework has a important leak of memory and i want to fix this issue.
I am using xcode version 4.1 for snow leopard
Regards
Edit the error is:
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
The file missing is Unrar4iOS
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在框架搜索路径中包含包含 Unrar4iOS 框架的文件夹,这是您在编辑项目对象时可以编辑的构建设置之一。
You need to include the folder that contains the Unrar4iOS framework among your Framework Search Paths, which is one of the build settings you can edit while editing the project object.