简体   繁体   中英

iOS: Error adding external framework to my project

I'm trying to use the Unrar4iOS framework in my project. I built the Unrar4iOS project, copied the framework's folder to my project and added it to the project's existing frameworks. 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上构建可解决此问题...真的不知道为什么...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM