尼玛,升级到xcode 4.6的bug:
ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system/libcommonCrypto.dylib. Link against the umbrella framework 'System.framework' instead.
ios编程群里提问才有了些启发:
'System.framework' 实际是libSystem.dylib
ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system/libcommonCrypto.dylib. Link against the umbrella framework 'System.framework' instead.
ios编程群里提问才有了些启发:
'System.framework' 实际是libSystem.dylib
也即添加一个库:libSystem.dylib
有时候可能要去掉 libcommonCrypto.dylib