{ "id": "162908", "key": "TIMOB-23851", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-07T22:11:44.000+0000", "created": "2016-08-31T11:29:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "build.py", "cli", "module", "ti.facebook" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T18:40:07.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": "A few months ago, we made great process with replacing our python scripts with node-commands. One of those effords was to replace the {{build.py}} in the module project with {{appc ti build}} commands. In detail, when we build and package a module, that should be done using {{appc ti build -p [ios/android] --build-only}}. \r\n\r\nWhile that works for all other modules I recently built, the ti.facebook module seems to have problems with that, throwing the following error:\r\n\r\n{quote}\r\n[ERROR] Unable to determine the compiled module's architecture (code 1):\r\n[ERROR] fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/hans/Documents/appcelerator_modules/ti.facebook/ios/build/libfacebook.a (No such file or directory)\r\n{quote}\r\n\r\nFull log: https://gist.github.com/hansemannn/686079630bd9575319e03b0e115ec5d3\r\n\r\nIt obviously searches for the generated static library in {{build/}} instead of {{build/Release-iphoneos}} where it is. Also interesting: When I build the module with the python script first and rebuild it with our CLI, it also works. \r\n\r\nSince we can still use the old way for now to generate our ti.facebook releases, it would be worth a try to reproduce it. Thanks!", "attachment": [], "flagged": false, "summary": "Cannot build ti.facebook iOS using \"appc ti build\"", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 705, "state": "closed", "name": "2016 Sprint 18 Tooling", "startDate": "2016-08-27T00:16:26.485Z", "endDate": "2016-09-10T00:16:00.000Z", "completeDate": "2016-09-13T20:21:37.063Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "394906", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber] Dedicated to you :-)", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-31T11:30:03.000+0000", "updated": "2016-08-31T11:30:03.000+0000" }, { "id": "394971", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8296\r\nTiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8297", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-31T23:05:11.000+0000", "updated": "2016-08-31T23:05:11.000+0000" }, { "id": "395544", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-09-07T22:11:44.000+0000", "updated": "2016-09-07T22:11:44.000+0000" }, { "id": "414300", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:40:07.000+0000", "updated": "2017-03-21T18:40:07.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }