【发布时间】:2011-10-14 21:29:16
【问题描述】:
我正在尝试在我的项目中使用Unrar4iOS 框架。我构建了 Unrar4iOS 项目,将框架的文件夹复制到我的项目中,并将其添加到项目的现有框架中。我已经设置了我的框架搜索路径。但是当我编译我得到这个错误:
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
你怎么看?
【问题讨论】:
-
你在 Xcode 中添加了框架吗?简单地把它复制到项目目录中是不对的。
-
是的,当然......但正如我所说,真正解决问题的是升级到 XCode 4.2......
标签: iphone ios xcode frameworks