Reputation: 39
After Upgrading to xcode 7 getting below error, I tried adding both libraries also but it couldn't solve my issue. Tried to update pods also.
ld: file is universal (2 slices) but does not contain a(n) x86_64 slice: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk/usr/lib/system/libcommonCrypto.dylib file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk/usr/lib/system/libcommonCrypto.dylib' for architecture x86_64
Upvotes: 0
Views: 751
Reputation: 39
I have solved this problem by removing libCommonCrypto.dylib,libz.dylib from project and adding security.framework, javascript.framework to the project.
Upvotes: 1