Project: titanium
Issue TIMOB-18168: iOS: Module - Cannot build 32-bit module urlSession and coremotion with SDK 3.5.0 
*Details:* If you try to build a project with both 32-bit modules urlSession and coremotion with SDK 3.5.0, then you will get build failures. *Note:* Was not able to reproduce this issue with the following 32-bit modules: ||module||version|| |com.appcelerator.apm|1.0.10| |facebook|3.1.1| |ti.geofence|1.1.2| |ti.map|2.0.6| |ti.touchid|1.0.1| *Steps to reproduce:* 1. Create a Titanium project 2. Include both com.appcelerator.urlSession (1.0.1) and ti.coremotion (1.0.1) modules in the tiapp.xml; do not need to require them into your app.js 3. Install app to device *Actual:* On first build failure, you will get this urlSession build error: {code} [ERROR] : Error Command failed: fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: fat input file (/Users/wluu/Library/Application Support/Titanium/modules/iphone/com.appcelerator.urlSession/1.0.1/libcom.appcelerator.urlsession.a) does not contain the specified architecture (x86_64) to thin it to at exithandler (child_process.js:648:15) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Socket. (child_process.js:969:11) at Socket.emit (events.js:95:17) at Pipe.close (net.js:465:12) --------------------------------------------- at exports.execFile (child_process.js:702:9) at exports.exec (child_process.js:589:18) at processNextCommand (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141208122514/iphone/cli/hooks/hyperloop.js:119:7) at exithandler (child_process.js:646:7) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Socket. (child_process.js:969:11) {code} 4. Use change the urlSession version module to latest (1.1.0) 5. Save changes and install to device *Actual:* On second build failure, you will get this coremotion build error: {code} [ERROR] : Error Command failed: fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: fat input file (/Users/wluu/Library/Application Support/Titanium/modules/iphone/ti.coremotion/1.0.1/libti.coremotion.a) does not contain the specified architecture (x86_64) to thin it to at exithandler (child_process.js:648:15) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Socket. (child_process.js:969:11) at Socket.emit (events.js:95:17) at Pipe.close (net.js:465:12) --------------------------------------------- at exports.execFile (child_process.js:702:9) at exports.exec (child_process.js:589:18) at processNextCommand (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141208122514/iphone/cli/hooks/hyperloop.js:119:7) at exithandler (child_process.js:646:7) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Socket. (child_process.js:969:11) {code} *Expected:* Should fail gracefully with warning indicating to the user that they should use the latest modules or build fine like the other specified 32-bit modules.
Story points: 1