{ "id": "169691", "key": "TIMOB-25226", "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": "20183", "description": "", "name": "Release 7.4.0", "archived": false, "released": true, "releaseDate": "2018-09-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-01T08:19:36.000+0000", "created": "2017-09-04T17:15:50.000+0000", "epic": { "id": 168100, "key": "TIMOB-24772", "name": "iOS: Support iOS 11 / Xcode 9", "summary": "iOS: Add support for iOS 11 and Xcode 9", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-10-18T16:19:44.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": "Xcode 9 includes the preview of the new build system, written entirely in Swift. In can be enabled in the project-settings or - what's more relevant for us - using the xcodebuild flag {{-UseNewBuildSystem=YES}}. \r\n\r\nWe could introduce a new \"use-new-build-system\" property so users can try it out, input welcome!", "attachment": [], "flagged": false, "summary": "Xcode 9/10: Support using new build-system", "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": 1028, "state": "closed", "name": "2018 Sprint 09 SDK", "startDate": "2018-04-22T22:53:08.928Z", "endDate": "2018-05-06T22:53:00.000Z", "completeDate": "2018-05-07T00:02:15.883Z", "originBoardId": 114 }, { "id": 1018, "state": "closed", "name": "2018 Sprint 07 SDK", "startDate": "2018-03-25T21:59:36.637Z", "endDate": "2018-04-08T21:59:00.000Z", "completeDate": "2018-04-08T17:55:14.467Z", "originBoardId": 114 }, { "id": 1034, "state": "closed", "name": "2018 Sprint 10 SDK", "startDate": "2018-05-07T00:03:21.636Z", "endDate": "2018-05-21T00:03:00.000Z", "completeDate": "2018-05-20T20:54:58.928Z", "originBoardId": 114 }, { "id": 1021, "state": "closed", "name": "2018 Sprint 08 SDK", "startDate": "2018-04-08T17:57:36.122Z", "endDate": "2018-04-22T17:57:00.000Z", "completeDate": "2018-04-22T22:51:19.120Z", "originBoardId": 114 }, { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "428377", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, so I have a prototype working locally that works the same as we handle autolayout/app-thinning/jscore/main-thread. If set, we inject the build-parameter into the arguments of xcodebuild, e.g. [here|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L6496].\r\n{code:js}\r\nif (this.useNewBuildSystem && appc.version.gte(this.xcodeEnv.version, '9.0')) {\r\n args.push('UseNewBuildSystem=YES');\r\n}\r\n{code}\r\nTogether with some validation and docs around it, this should be a small ticket. And as it's optional, it should not block 6.3.0, so moving it to 7.0.0.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-23T21:28:49.000+0000", "updated": "2017-09-23T21:28:49.000+0000" }, { "id": "429860", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since you have a prototype... assigning. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T21:47:11.000+0000", "updated": "2017-10-30T21:47:11.000+0000" }, { "id": "429961", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Due to the schedule for 7.0.0 versus the remaining work, moving to 7.1.0", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-01T16:58:42.000+0000", "updated": "2017-11-01T16:58:42.000+0000" }, { "id": "434266", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] Yes, meant to make it 7.1.0. Do you even want it for 7.1.0? We can move it or create tickets in CLI to support.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-08T17:58:21.000+0000", "updated": "2018-02-08T17:58:21.000+0000" }, { "id": "434403", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber] What do you think? I'd propose a {{}} property in the {{}} tag that, if enabled, just appends the new {{UseNewBuildSystem=YES}} flag to xcodebuild.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-13T09:10:35.000+0000", "updated": "2018-02-13T09:10:35.000+0000" }, { "id": "434533", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hknoechel] I prefer a property over a CLI option. I wish we had something like a {{}} that was _not_ baked into the app. I proposed a new {{}} tag, but it never gained traction. There's still hope. Until then, I'm cool with a {{}} tag under the {{}} section.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-02-15T19:08:39.000+0000", "updated": "2018-02-15T19:08:39.000+0000" }, { "id": "439235", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "titanium_mobile/master: https://github.com/appcelerator/titanium_mobile/pull/10181\r\nnode-titanium-sdk/master: https://github.com/appcelerator/node-titanium-sdk/pull/40\r\n\r\n* Using the new build system by default on Xcode 10+ (recommended by Apple)\r\n* Using the old build system by default on Xcode < 10 (legacy, for backwards compatibility)\r\n* If {{}} is set in the {{}} section of the tiapp.xml, prioritize that one\r\n\r\nTested with all 6 possible configurations and works fine. Also includes a fix to even be able to use the new build system on Xcode 10, which was caused by Apple require'ing the {{-scheme}} flag to be set when using {{xcodebuild clean}}.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-16T09:49:42.000+0000", "updated": "2018-07-16T09:52:15.000+0000" }, { "id": "439631", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reopening to investigate one possible remaining issue: The incremental build may be broken by this:\r\n{code}\r\n[INFO] Forcing rebuild: use-new-build-system flag changed since last build\r\n[INFO] Was: undefined\r\n[INFO] Now: false\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-31T19:13:43.000+0000", "updated": "2018-07-31T19:13:43.000+0000" }, { "id": "439641", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (fix): https://github.com/appcelerator/titanium_mobile/pull/10223", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-01T07:53:21.000+0000", "updated": "2018-08-01T07:53:21.000+0000" }, { "id": "441089", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "cherry-picked the commits to 7_4_X...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-08-27T16:08:12.000+0000", "updated": "2018-08-27T16:08:12.000+0000" }, { "id": "441165", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed. Able to build using new and legacy systems and correctly with the new tag. Changes verified in SDK builds 7.4.0.v20180828081144 & 7.5.0.v20180828085558", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-08-28T21:47:18.000+0000", "updated": "2018-08-28T21:47:18.000+0000" }, { "id": "441667", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "i see this bug closed, but i still having this error in all my apps.\r\nI dont know if i must report it here.\r\n", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-18T22:29:06.000+0000", "updated": "2018-09-18T22:29:06.000+0000" }, { "id": "441668", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~jcsomac] What specific error are you seeing? Can you please verify that your app is using the latest Titanium SDK 7.4.0.GA and that you are building using iOS SDK 12.0. Paste the error into a comment. If the output is big, then please use a gist or pastebin.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-09-18T22:33:25.000+0000", "updated": "2018-09-18T22:33:25.000+0000" }, { "id": "441670", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "@Chris Barber\r\nHere you have \r\nhttps://pastebin.com/embed_iframe/GGd3cBEC\r\nThanks fot the help", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-18T22:44:42.000+0000", "updated": "2018-09-18T22:44:42.000+0000" }, { "id": "441680", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There was a deprecated library used in Ti.Barcode causing this crash. We are pushing an update today morning!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-19T06:34:41.000+0000", "updated": "2018-09-19T06:34:41.000+0000" }, { "id": "441689", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hi hans, thanks for the help.\r\nThis app is not using any library ( just ti.cloud ) and the problem persist.\r\nhttps://pastebin.com/embed_iframe/g44nVPLs\r\nAgain, thanks for the help.", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-19T11:15:12.000+0000", "updated": "2018-09-19T11:15:12.000+0000" }, { "id": "441690", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "I just testing again with no library with the same result.... \r\ni really dont know whats going on, thanks in advance.", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-19T11:22:16.000+0000", "updated": "2018-09-19T11:22:16.000+0000" }, { "id": "441691", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~jcsomac] You are using an outdated version (7.1.0) in your app, not 7.4.0. See the details in your log:\r\n{code}\r\nTitanium SDK\r\n SDK Version = 7.1.0.GA\r\n SDK Path = /Users/salinasj/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.GA\r\n Target Platform = iphone\r\n{code}\r\nMake sure to update your tiapp.xml key {{}} to 7.4.0.GA as well .", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-19T11:55:58.000+0000", "updated": "2018-09-19T11:55:58.000+0000" }, { "id": "441692", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "So, from now on... i can't use a diferent versin of the SDK ? it must be 7.4.0+ ?", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-19T12:13:53.000+0000", "updated": "2018-09-19T12:13:53.000+0000" }, { "id": "441693", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "If you target Xcode 10 - yes. Because it includes the tooling support for it, but also improvements to handle iOS 12 best possible.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-19T12:26:07.000+0000", "updated": "2018-09-19T12:26:07.000+0000" }, { "id": "441701", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "I understand.... thanks, i just downloaded the new Ti.Barcode and works fine.\r\nThanks again.", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-09-19T15:22:39.000+0000", "updated": "2018-09-19T15:22:39.000+0000" }, { "id": "442093", "author": { "name": "alexcc", "key": "alexcc", "displayName": "alejandro_capel", "active": true, "timeZone": "Europe/Madrid" }, "body": "Hi Everybody,\r\n\r\nI've got the same problem. This is my log:\r\n\r\n2018-9-27 07:27:51\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 9.2.1\r\n npm Version = 5.5.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n\r\nTitanium SDK\r\n SDK Version = 7.5.0.v20180924162121\r\n SDK Path = /Users/alex/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.v20180924162121\r\n Target Platform = iphone\r\n\r\n\r\n[TRACE] [ioslib] Validating iOS Simulator UDID 53FAF.....\r\n[TRACE] [ioslib] Found iOS Simulator UDID 53FA......\r\n[TRACE] [ioslib] Selected iOS Simulator: iPhone 6\r\n[TRACE] [ioslib] UDID = 53FA......\r\n[TRACE] [ioslib] iOS = 12.0\r\n[TRACE] [ioslib] Autoselected Xcode: 10.0\r\n...\r\n...\r\n\r\n[INFO] Cleaning Xcode derived data\r\n[DEBUG] Invoking: DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean -scheme app1\r\n[ERROR] note: Using new build system\r\n\r\nAny ideas? As you can see I downloaded the latest SDK version.\r\n\r\nThanks in advance\r\n", "updateAuthor": { "name": "alexcc", "key": "alexcc", "displayName": "alejandro_capel", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-09-27T05:39:00.000+0000", "updated": "2018-09-27T05:39:00.000+0000" }, { "id": "442729", "author": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "body": "@alejandro_capel did you clean the project ?", "updateAuthor": { "name": "jcsomac", "key": "jcsomac", "displayName": "Juan Carlos Salinas Ojeda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2018-10-17T23:09:23.000+0000", "updated": "2018-10-17T23:09:23.000+0000" }, { "id": "442769", "author": { "name": "alexcc", "key": "alexcc", "displayName": "alejandro_capel", "active": true, "timeZone": "Europe/Madrid" }, "body": "yes of course.\r\n\r\nNow we are here : TIMOB-26433 (same problem)\r\n\r\n", "updateAuthor": { "name": "alexcc", "key": "alexcc", "displayName": "alejandro_capel", "active": true, "timeZone": "Europe/Madrid" }, "created": "2018-10-18T16:19:44.000+0000", "updated": "2018-10-18T16:19:44.000+0000" } ], "maxResults": 26, "total": 26, "startAt": 0 } } }