Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5975] iOS: Default Module Template with Xcode 4.2 Doesn't Target Latest iOS, Excludes armv6

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-03T13:46:31.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-44, Release 1.8.0
ComponentsiOS
Labelsn/a
ReporterDawson Toth
AssigneeDawson Toth
Created2011-11-03T10:31:28.000+0000
Updated2014-06-19T12:43:47.000+0000

Description

Problem

When building with Xcode 4.2, modules don't target the latest iOS, and since the default architecture changed, they also don't target armv6. This results in the module not being usable in a Titanium Mobile project that is targeting armv6.

Solution

The project template for modules should be updated to: 1. Also target armv6, where appropriate 2. Target the latest iOS

How To Test

- Create a module from the terminal:
titanium create --type=module --platform=iphone --name=armtesting --id=ti.armtesting
- Open the module's project in Xcode 4.2:
open armtesting/armtesting.xcodeproj
- In Xcode, verify that it does NOT say "missing base SDK" beneath the project name in the Project navigator. - Click on the project name in the Project navigator to open up the settings. - Under the Build Settings tab for BOTH the project and the target, verify that all references to armv7 are accompanied by armv6. It shouldn't say just "armv7" anywhere.

Pull Request

https://github.com/appcelerator/titanium_mobile/pull/625

Comments

  1. Dawson Toth 2011-11-03

    Added a "How To Test" section.
  2. Dawson Toth 2011-11-03

    Pull request sent.
  3. Dawson Toth 2011-11-03

    Verified on Jeff English's machine. Looks good.
  4. Wilson Luu 2011-12-10

    Closing bug. Verified fix on: OS: Mac OS X Lion SDK build: 1.8.0.1.RC1 Titanium Studio, build: 1.0.7.201112080131 Xcode: 4.2

JSON Source