64bit - How to know if the iOS App you build is for 64 bit. -


i trying build ios application 64 bit. how know weather build 32 bit or 64 bit ?

does mach-o-view can ? if yes, ? there command line it. ?

i reffered not me know weather built or not 64 bit. https://developer.apple.com/library/ios/documentation/general/conceptual/cocoatouch64bitguide/convertingyourappto64-bit/convertingyourappto64-bit.html#//apple_ref/doc/uid/tp40013501-ch3-sw1

try this:

#ifdef __lp64__ // nslog(@"64"); #else // nslog(@"32"); #endif 

it works os x, didn't test ios (i don't have iphone5s :( ).

edit:

by way, works fine on iphone simulator.

enter image description here


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -