[TIMOB-17876] iOS: Set "Standard Architectures" of 32/64-bit in Xcode project
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-11-18T20:32:17.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.5.0, Release 4.0.0 |
| Components | iOS |
| Labels | qe-assigned |
| Reporter | Ingo Muschenetz |
| Assignee | Vishal Duggal |
| Created | 2014-10-20T19:57:46.000+0000 |
| Updated | 2014-12-10T00:10:12.000+0000 |
Description
From Apple:
"'Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.'
Here's the reference in our default pbxproj: https://github.com/appcelerator/ioslib/blob/master/test/TestApp/TestApp.xcodeproj/project.pbxproj#L292 And notice the reference in an updated Xcode project to "ARCHS_STANDARD":
buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD)";Pull pending https://github.com/appcelerator/titanium_mobile/pull/6357
Backport to 3_5_X https://github.com/appcelerator/titanium_mobile/pull/6370
Verified fixed using: Titanium SDK 3.5.0.v20141208122514 Studio 3.4.1.201410281743 Xcode 6.1.1