Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link against the umbrella framework

I got ios app where i want to implement Flurry-analytics.

After importing Flurry and ling libsystem_network.dylib

I got this problem which cannot solve

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)

In google i find the same problem with libcommonCrypto.dylib here and in some other places:

CommonCrypto isn't building for arch armv7 iOS

but this doesn't help me

Any ides? thnx

like image 766
Eugene Trapeznikov Avatar asked May 10 '13 20:05

Eugene Trapeznikov


2 Answers

When using CommonCrypto in a framework, I was getting a similar error durning linking with libcommonCypto.dylib, changed to Security.framework and it is working well.

like image 166
Popmedic Avatar answered Nov 05 '22 04:11

Popmedic


I simply change libsystem_network.dylib for SystemConfiguration.framework and that works for Flurry

like image 7
Eugene Trapeznikov Avatar answered Nov 05 '22 03:11

Eugene Trapeznikov