tunghathanh / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Support Xcode 5.1 architecture selection in xcode_emulation.py #412

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Xcode 5.1 release notes

Building

Arm64 is now included in the “Standard architectures” setting.
Xcode 5.0 introduced support for building 64-bit iOS applications but it was 
not enabled by default. To enable the option of building 64-bit in Xcode 5.0, 
an architectures setting was provided: “Standard Architectures Including 
64-Bit” (ARCHS_STANDARD_INCLUDING_64_BIT).

With the introduction of Xcode 5.1, arm64 is included in the default "Standard 
architecture” build setting. This results in projects using the default 
setting automatically building for arm64 along with the standard 32-bit 
architectures.

Note: Be aware of the following architectures issues when opening your existing 
projects in Xcode 5.1:
When building for all architectures, remove any explicit architectures setting 
and use the default Standard Architectures setting. For projects that were 
previously opted-in using “Standard Architectures Including 64-Bit”, switch 
back to the “Standard architectures” setting.
When opening an existing project for the first time, Xcode 5.1 may display a 
warning about the use of the Xcode 5.0 architectures setting. Selecting the 
warning provides a workflow to revise the setting.
Projects not able to support 64-bit need to specifically set the architectures 
build setting to not include 64-bit.
Projects configured to use ”Standard Architectures Including 64-bit” will 
be converted to “Standard Architectures $(ARCHS_STANDARD).

Original issue reported on code.google.com by sdefresne@chromium.org on 11 Mar 2014 at 9:39

GoogleCodeExporter commented 9 years ago
https://codereview.chromium.org/194713003

Original comment by sdefresne@chromium.org on 11 Mar 2014 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by sdefresne@chromium.org on 24 Mar 2014 at 2:06