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

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


你可能感兴趣的:(File)