{ "id": "82279", "key": "TIMOB-5975", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12084", "description": "", "name": "Sprint 2011-44", "archived": true, "released": true, "releaseDate": "2011-11-07" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-03T13:46:31.000+0000", "created": "2011-11-03T10:31:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "updated": "2014-06-19T12:43:47.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h1. Problem\r\nWhen 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.\r\n\r\nh2. Solution\r\nThe project template for modules should be updated to:\r\n\r\n1. Also target armv6, where appropriate\r\n2. Target the latest iOS\r\n\r\nh2. How To Test\r\n\r\n- Create a module from the terminal:\r\n{code}titanium create --type=module --platform=iphone --name=armtesting --id=ti.armtesting{code}\r\n- Open the module's project in Xcode 4.2:\r\n{code}open armtesting/armtesting.xcodeproj{code}\r\n- In Xcode, verify that it does NOT say \"missing base SDK\" beneath the project name in the Project navigator.\r\n- Click on the project name in the Project navigator to open up the settings.\r\n- 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.\r\n\r\nh2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/625", "attachment": [], "flagged": false, "summary": "iOS: Default Module Template with Xcode 4.2 Doesn't Target Latest iOS, Excludes armv6", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "Xcode 4.2", "comment": { "comments": [ { "id": "171352", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Added a \"How To Test\" section.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-03T10:51:48.000+0000", "updated": "2011-11-03T10:51:48.000+0000" }, { "id": "171362", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Pull request sent.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-03T11:29:40.000+0000", "updated": "2011-11-03T11:29:40.000+0000" }, { "id": "171405", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Verified on Jeff English's machine. Looks good.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-03T15:01:37.000+0000", "updated": "2011-11-03T15:01:37.000+0000" }, { "id": "175691", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nOS: Mac OS X Lion\r\nSDK build: 1.8.0.1.RC1\r\nTitanium Studio, build: 1.0.7.201112080131\r\nXcode: 4.2\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-10T14:17:31.000+0000", "updated": "2011-12-10T14:17:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }