Rohit
Rohit

Reputation: 39

Developer/SDKs/iPhoneSimulator9.1.sdk/usr/lib/system/libcommonCrypto.dylib file error

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

Answers (1)

Rohit
Rohit

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

Related Questions