链接到伞架
我得到了ios应用程序,我想实施Flurry分析。
导入Flurry和ling libsystem_network.dylib之后
我得到了这个无法解决的问题
ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system/libsystem_network.dylib. Link against the umbrella framework 'System.framework' instead. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
在谷歌,我发现在这里和其他一些地方libcommonCrypto.dylib
相同的问题:
CommonCrypto不是为armv7 iOS开发的
但这并不能帮助我
任何ides? 日Thnx
在框架中使用CommonCrypto时,在与libcommonCypto.dylib链接时出现类似的错误,改为Security.framework,运行良好。
我只是改变libsystem_network.dylib
的SystemConfiguration.framework
并为Flurry工作
你可以试试像这样设置Link Binary With Libraries,它适用于我。 有一个演示,它被称为与iOS的Socket.io,你可以检出它。