{ "id": "141058", "key": "TIMOB-18145", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-06T20:58:49.000+0000", "created": "2014-12-06T00:27:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "43753", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "140180", "key": "TIMOB-18071", "fields": { "summary": "CLI: Fail build if compiled architectures do not match module manifest", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-03-19T23:19:19.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" }, { "id": "10207", "name": "Tooling" } ], "description": "Related to TIMOB-18071. If x86_64 architecture is removed from the manifest, then there is a warning in the build logs, but the build still succeed. However, if any arch is missing for android module, then the build has failed with appropriate warning.\r\n\r\nWe need to address this parity of build between android and iphone platforms.", "attachment": [], "flagged": false, "summary": "iphone module build succeed though there is a missing architecture", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 319, "state": "closed", "name": "2015 Sprint 03 Tooling", "startDate": "2015-01-31T03:56:17.033Z", "endDate": "2015-02-14T02:30:00.000Z", "completeDate": "2015-02-14T02:18:47.439Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "336115", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6474\r\n\r\nFunctional Test:\r\n\r\n1. create a module\t\r\n{code} ti create -p all -t module -n test -u http:// --id com.appc.test {code}\r\n2. cd into module iphone directory\r\n3. remove {{x86_64}} architecture from the manifest\r\n3. run ./build.py\r\n4. build should fail with more intuitive error message\r\n{code}\r\nCreateUniversalBinary build/Release-iphonesimulator/libComAppcTest.a normal i386\\ x86_64\r\n cd /Users/feonsua/work/testapps/360/mods/newTestMod/iphone\r\n export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/feonsua/Library/android-sdk-macosx/tools:/Users/feonsua/Library/android-sdk-macosx/platform-tools\"\r\n /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Users/feonsua/work/testapps/360/mods/newTestMod/iphone/build/newTestMod.build/Release-iphonesimulator/newTestMod.build/Objects-normal/i386/libComAppcTest.a /Users/feonsua/work/testapps/360/mods/newTestMod/iphone/build/newTestMod.build/Release-iphonesimulator/newTestMod.build/Objects-normal/x86_64/libComAppcTest.a -o /Users/feonsua/work/testapps/360/mods/newTestMod/iphone/build/Release-iphonesimulator/libComAppcTest.a\r\n\r\n** BUILD SUCCEEDED **\r\n\r\nCheck build architectures\r\n\r\n[WARN] architectures in manifest: i386, arm64, armv7\r\n[WARN] compiled binary architectures: x86_64, i386, arm64, armv7\r\n\r\nMODULE BUILD FAILED\r\n[ERROR] there is discrepancy between the architectures specified in module manifest and compiled binary.\r\n[ERROR] Please update manifest to match module binary architectures.\r\n{code}", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-12T04:26:18.000+0000", "updated": "2014-12-12T04:26:18.000+0000" }, { "id": "342459", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "CR & FR passed, merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-06T20:58:49.000+0000", "updated": "2015-02-06T20:58:49.000+0000" }, { "id": "346612", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.10.2\r\nAppcelerator Studio, build: 4.0.0.201503171723\r\nTitanium SDK build: 4.0.0.v20150317234215, 4.1.0.v20150319124255 \r\nTitanium CLI, build: 4.0.0-alpha\r\nAlloy: 1.6.0-alpha\r\n\r\nFollowed the provided test instructions and when an architecture is missing from the manifest the warning is printed out.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-03-19T23:19:11.000+0000", "updated": "2015-03-19T23:19:11.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }