[英]iOS: Error adding external framework to my project
I'm trying to use the Unrar4iOS framework in my project. 我正在尝试在我的项目中使用Unrar4iOS框架。 I built the Unrar4iOS project, copied the framework's folder to my project and added it to the project's existing frameworks.
我构建了Unrar4iOS项目,将框架的文件夹复制到了我的项目中,并将其添加到了项目的现有框架中。 I have my Framework search paths all set.
我的框架搜索路径都已设置。 But when I compile I get this error:
但是当我编译的时候我得到这个错误:
cd /Users/alex/Documents/iphone/production/iphone/myapp
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/g++-4.2 -arch i386 -isysroot /Developer/Platforms/
ld: framework not found Unrar4iOS
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
What do you think? 你怎么看?
升级到Xcode 4.2并在iOS 5上构建可解决此问题...真的不知道为什么...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.