简体   繁体   中英

Error in linking framework in ios application

Hello I am having following error in ios project

ld: warning: ignoring file /Users/Documents/ios5 Examples/FlacPlayerUniversal/opt/iphone-4.3/lib/libFLAC++.a, missing required architecture i386 in file

I have searched some post related to this error but my issue is not resolved . This error is coming when I am building project for iphone simulator and for device, it is not giving error.

I checked framework header path , header search path .Don't know how to solve this

Please help

Thanks in Advance..

You've already built (or installed) libFLAC for the iPhone device.

You simply need to build libFLAC for simulator as well.

This question may tell you how to build for i386 , but I think it's for MacOS and not iPhone simulator. You'll need to make some tweaks to the CONFIG file. Here is another previously asked question which might have useful hints, it seems to point to a wiki for an open source app that uses libFLAC .

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