On Sunday, October 13, 2013 2:59:53 AM UTC-4, Yong Duk Lee wrote:
>
>
> Hello.
>
>
> I am using the cryptopp library from cryptopp-5.6.2-ios-7.0 in Xcode 5.0.
>
> Everything works fine, and I can run my program either in simulator or 
> device.
>
> However, when I try to archive the program in xcode to build ad-hoc app, 
> it 
>
> says "Undefined symbols for architecture arm64".
>
>
> The library was said to be built for arm7, arm7s, arm64, i386.
>
It is. You can use `lipo` to verify:
 
    $ xcrun -sdk iphoneos lipo -info libcryptopp.a
    Architectures in the fat file: libcryptopp.a are: armv7 armv7s arm64 
i386

What could be wrong? Can anyone help? 
>
I believe this as an Apple problem that is supposed to be fixed soon. The 
problem is `lipo` can build fat binaries that mix 32-bit and 64-bit code 
(e.g., libcrpytopp), but Xcode cannot at the moment (e.g., your app with 
32-bit ARMv7, 32-bit ARMv7s and 64-bit ARM64). See "ARM64 and 
-mios-version-min=7.0?", 
http://lists.apple.com/archives/xcode-users/2013/Oct/msg00074.html.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to