2013-05-10 29 views
8

我得到了ios應用程序,我想實施Flurry分析。鏈接對傘框

進口亂舞和凌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 isn't building for arch armv7 iOS

但這並不幫助我

任何ides?日Thnx

+0

你有他們最新的版本?你總是可以從你的項目中移除armv7 - 新設備可以使用armv7。 – 2013-05-10 21:57:20

回答

7

我簡單地改變libsystem_network.dylibSystemConfiguration.framework和工程亂舞

+0

嗨,我改變了這樣的,但仍然錯誤到來是否有任何其他方式來清除 – vijay 2016-01-06 15:30:48

11

當在一個框架中使用CommonCrypto,我得到一個類似的錯誤德寧與libcommonCypto.dylib鏈接,改爲Security.framework和它運作良好。

0

Xcode build phases

你可以嘗試設置鏈接的二進制,這樣的圖書館,它爲我工作。 有一個演示,它叫做Socket.io-with-iOS,你可以結帳。