Description
When building to device the app appears to always be 32-bit. Using the code below and
xcrun lipo -info <PathToBinary>
show that there is not 64bit slice when building for device.
*Note*
When packaging the 64-bit slice is present, as the app passes Xcode validation and xrcun shows that there is a 64-bit slice.
This is a *regression* from 4.1.0.GA
var win = Ti.UI.createWindow({
backgroundColor: 'blue'
});
win.open();
win.addEventListener('click', function(e) {
console.log('ostype: ' + Ti.Platform.ostype);
console.log('architecture: ' + Ti.Platform.architecture);
});
Steps to reproduce
1. Add the above code to a project
2. Build the app to a 64-bit device
3. Tap the screen
Actual result
The below is printed out
[INFO] ostype: 32bit
[INFO] architecture: armv7
Expected result
The below should be printed out
[INFO] ostype: 64bit
[INFO] architecture: arm64
Fix is the same as the attached ticket the following needs to be added to [these args](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L2240)
ONLY_ACTIVE_ARCH: 'NO',
PR here: https://github.com/appcelerator/titanium_mobile/pull/6990
Verified using: Appc CLI (Core): 4.2.0-1 Ti SDK: 4.2.0.v20150729134419 iPhone 6 8.2 Using the attached code when building to a 64-bit device the logging now reports as 64-bit and when running xcrun lipo -info it now reports that there is a 64-bit slice Closing ticket
Reopening issue to fix Affect Versions field.