{ "id": "84492", "key": "TIMOB-7003", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-10T12:43:59.000+0000", "created": "2012-01-05T11:32:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:26.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": "h4. PROBLEM \r\nCustomer wants to use his build factory to build projects for device. He is using ANT. He tried this with CI, and it's working. With 1.8.0.1, he gets error on the architecture. \r\n\r\nh4. EXTRA INFO\r\nEarlier today, I was able to get a local machine (not build server) command-line ANT build running on a device, but that was with SDK 1.8.0.r05ee9f48.d10.17. When I switched to SDK 1.8.0.1, I got a persistent build error. The build log says:\r\n\r\nld: in /Users/csadil/dev/env/tablet/MB-Next-Gen-Client/build/iphone/lib/libtiverify.a, file is universal but does not contain a(n) armv6 slice for architecture armv6 collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1\r\n\r\nSome searches suggest that this is related to armv architecture settings in the TI-generated files (see http://stackoverflow.com/questions/5266576/way-to-restore-xcode-to-accept-armv6-architecture )\r\n\r\nI have Xcode 4.0.2 and iOS SDK 4.3 installed.", "attachment": [], "flagged": false, "summary": "iOS: CLI in 1.8 is not able to build projects for distribution (but CI does)", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": null, "comment": { "comments": [ { "id": "178164", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We require the full build log that generated this error. This is likely a problem with the external build system, since {{libtiverify.a}} contains the correct symbols for armv6:\r\n\r\n{code}\r\nstiv@Macintosh-140 [11:35:47] [~/src/appcelerator/titanium_mobile] [1_8_X *]\r\n-> % nm iphone/lib/libtiverify.a | grep armv6\r\niphone/lib/libtiverify.a(TiVerifyErrorController.o) (for architecture armv6):\r\niphone/lib/libtiverify.a(TiVerify.o) (for architecture armv6):\r\nstiv@Macintosh-140 [11:35:49] [~/src/appcelerator/titanium_mobile] [1_8_X *]\r\n-> % nm iphone/lib/libtiverify.a | grep armv7\r\niphone/lib/libtiverify.a(TiVerifyErrorController.o) (for architecture armv7):\r\niphone/lib/libtiverify.a(TiVerify.o) (for architecture armv7):\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T11:37:05.000+0000", "updated": "2012-01-05T11:38:25.000+0000" }, { "id": "178746", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\nthe upgrade to Xcode 4.2 fixed this issue. \r\n\r\nBest,\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-01-10T12:43:59.000+0000", "updated": "2012-01-10T12:43:59.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }