Xcode 5.1 libcrypto.a, missing required architecture arm64

My application has stop linking after Xcode 5.1 came out. This is the error message I get:


ld: warning: ignoring file /Users/jkerich/Library/Developer/Xcode/DerivedData/MOPA2-cuqcsubixggrvwbfutebuu vmxvaj/Build/Products/Debug-iphoneos/libcrypto.a, missing required architecture arm64 in file /Users/jkerich/Library/Developer/Xcode/DerivedData/MOPA2-cuqcsubixggrvwbfutebuu vmxvaj/Build/Products/Debug-iphoneos/libcrypto.a (2 slices)

ld: warning: ignoring file /Users/jkerich/Library/Developer/Xcode/DerivedData/MOPA2-cuqcsubixggrvwbfutebuu vmxvaj/Build/Products/Debug-iphoneos/libssl.a, missing required architecture arm64 in file /Users/jkerich/Library/Developer/Xcode/DerivedData/MOPA2-cuqcsubixggrvwbfutebuu vmxvaj/Build/Products/Debug-iphoneos/libssl.a (2 slices)

Undefined symbols for architecture arm64:

"_EVP_DigestInit", referenced from:

_otp_hash in libsasl2.a(otp.o)

_word2bin in libsasl2.a(otp.o)

"_EVP_DigestFinal", referenced from:

_otp_hash in libsasl2.a(otp.o)

_word2bin in libsasl2.a(otp.o)


etc


"_SSLv23_client_method", referenced from:

_ssl_data_new in libmailcore.a(mailstream_ssl.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


This happens if I build for My Mac 64 bit or IOS Device. It doesn't happen if a plug in the device and select the device as my build target. This IOS level is 6.1 since the device is an ipad.


I did a clean recompiled all the libraries that I download: MailCore and base64.ssl, crypto, and libetpan which got the device plug in to rebuild. But not the other 2 options give me teh arm64 error.

iPhone 4, iOS 6.1

Posted on Mar 13, 2014 10:15 AM

Reply
3 replies

Mar 13, 2014 12:53 PM in response to john kerich

I have check the libraries and it looks to me like the are compiling with the correct architecture. At least I see 64 somewhere on the lines.


MailCore.xcodeproj

Project MailCore

Architectures Standard Architectures (64-bit intel) (x86_64) -$


Target MailCore

Architectures Standard Architectures (64-bit intel) (x86_64) - $


Target MailCore iOS

Architectures Standard Architectures (armv7, armv7s, arm64) - $



openssl.xcodeproj

Project openssl

Architectures <multiple values>

Debug Standard Architectures (armv7, armv7s, arm64) - $

Any IOS Simulator SDK I386

Release Standard Architectures (armv7, armv7s, arm64) - $

Any IOS Simulator SDK I386


Target Makefile-openssl

ARCHS < multiple values>

Debug armv7 armv7s arm64

Any IOS Simulator SDK I386

Release

Any IOS Simulator SDK I386


Target ssl

Architectures Standard Architectures (armv7, armv7s, arm64) - $


Target MailCore iOS

Archtectures Standard Architectures (armv7, armv7s, arm64) - $


Target cyrpto

Architectures <multiple values>

Debug Standard Architectures (armv7, armv7s, arm64) - $

Any IOS Simulator SDK I386

Release Standard Architectures (armv7, armv7s, arm64) - $

Any IOS Simulator SDK I386


Cyrus SASL.xcodeproj

Project Cyrus SASL

Architectures Standard Architectures (armv7, armv7s, arm64) - $


libetpan.xcodeproj

Project libetpan

Architectures Standard Architectures (64-bit Intel) (x86_64)- $


Target libetpan

Architectures Standard Architectures (64-bit Intel) (x86_64)- $


Target static libetpan IOS

Architectures Standard Architectures (armv7,armv7s,arm64)- $


Target libetpan Mac

Architectures Standard Architectures (64-bit Intel) (x86_64)- $

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode 5.1 libcrypto.a, missing required architecture arm64

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.