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