今天碰到个错误,ile was built for unsupported file format which is not the architecture being linked (armv7)

来源:互联网 发布:数据恢复精灵离线激活 编辑:程序博客网 时间:2024/05/29 18:05
ld: warning: ignoring file /Users/xuguo/Desktop/FengjingIOS/StoreKit.framework/StoreKit, file was built for unsupported file format which is not the architecture being linked (armv7)

ld: warning: ignoring file /Users/xuguo/Desktop/FengjingIOS/libz.1.2.5.dylib, file was built for unsupported file format which is not the architecture being linked (armv7)

原因是包加错了位置,链接的包要加载到正确的位置,原来工程是在这个位置

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib

而我随意加到了工程文件夹里当然编译不过

iwannermac.taobao.com


原创粉丝点击