Is iOS 64-bit simulator really 64-bit?
ios, objective-c
Solution
Yes, the simulator is 64-bit. You get this output because probably your app is not compiled for 64-bit. In your project settings select the following (including 64-bit)
Problem
According to Major 64-Bit Changes int & long sizes are 4 and 8 bytes. But when I run on iOS 64-bit simulator with following code: ``` NSLog(@"NSInteger size: %i", sizeof(NSInteger)); NSLog(@"int size: %i", sizeof(int)); NSLog(@"long size: %i", sizeof(long)); ``` The output is ``` NSInteger size: 4 int size: 4 long size: 4 ``` So, the sizes tell us another. What's output on real device?