{ "id": "169121", "key": "TIMOB-25029", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-10-11T13:28:14.000+0000", "created": "2017-07-26T20:20:47.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": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-08-06T17:52:03.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": "Using Xcode 9 Beta 4 and the latest iOS 11 Beta 4, I noticed a couple of warnings when running the iOS build on the packaged SDK:\r\n{code}\r\n[TRACE] /Applications/Xcode9.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Intermediates/test_tmp.build/Debug-iphonesimulator/test_tmp.build/assetcatalog_dependencies --output-partial-info-plist /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Intermediates/test_tmp.build/Debug-iphonesimulator/test_tmp.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPhone9,2 --filter-for-device-os-version 11.0 --sticker-pack-identifier-prefix com.appcelerator.titanium.sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphonesimulator --product-type com.apple.product-type.application --compile /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/Assets.xcassets\r\n[TRACE] 2017-07-26 22:15:27.815 ibtoold[4601:72299] CoreSimulatorService connection interrupted. Resubscribing to notifications.\r\n[TRACE] 2017-07-26 22:15:27.815 ibtoold[4601:72113] CoreSimulatorService connection interrupted. Resubscribing to notifications.\r\n[TRACE] 2017-07-26 22:15:27.815 ibtoold[4601:72297] CoreSimulatorService connection interrupted. Resubscribing to notifications.\r\n[TRACE] 2017-07-26 22:15:27.820 ibtoold[4601:72298] CoreSimulatorService connection interrupted. Resubscribing to notifications.\r\n[TRACE] 2017-07-26 22:15:27.820 ibtoold[4601:72113] CoreSimulatorService connection interrupted. Resubscribing to notifications.\r\n[TRACE] 2017-07-26 22:15:27.820 ibtoold[4601:72090] CoreSimulatorService connection became invalid. Simulator services will no longer be available.\r\n[TRACE] 2017-07-26 22:15:28.071 ibtoold[4601:72298] CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change. Framework path (/Library/Developer/PrivateFrameworks/CoreSimulator.framework) and version (494.4) does not match existing job path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc) and version (375.21). Attempting to remove the stale service in order to add the expected version.\r\n[TRACE] 2017-07-26 22:15:28.324 ibtoold[4601:72299] CoreSimulatorService connection became invalid. Simulator services will no longer be available.\r\n[TRACE] 2017-07-26 22:15:28.325 ibtoold[4601:72299] CoreSimulatorService connection became invalid. Simulator services will no longer be available.\r\n[TRACE] CoreUI(DEBUG): Current version = 483.0, Linked UIKit version = 65535, Compatibility mode = 9999\r\n[TRACE] 2017-07-26 22:15:34.714 IBCocoaTouchImageCatalogTool[4607:72433] RPC shutdown with error: Error Domain=IBMessageChannelErrorDomain Code=4 \"Failed to communicate with Interface Builder\" UserInfo={NSLocalizedDescription=Failed to communicate with Interface Builder, NSLocalizedFailureReason=The agent crashed}\r\n[TRACE] /* com.apple.actool.document.notices */\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][landscape][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.\r\n[TRACE] /* com.apple.actool.compilation-results */\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon29x29@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon29x29@3x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon40x40@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon40x40@3x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon60x60@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon60x60@3x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon29x29~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon29x29@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon40x40~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon40x40@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon76x76~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon76x76@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/AppIcon83.5x83.5@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-800-Portrait-736h@3x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-800-Landscape-736h@3x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-800-667h@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700-568h@2x.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700-Portrait~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700-Landscape~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700-Portrait@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/LaunchImage-700-Landscape@2x~ipad.png\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Products/Debug-iphonesimulator/test_tmp.app/Assets.car\r\n[TRACE] /Users/hknoechel/Documents/Apps/test_tmp/build/iphone/build/Intermediates/test_tmp.build/Debug-iphonesimulator/test_tmp.build/assetcatalog_generated_info.plist\r\n{code}\r\n\r\nSome of the warnings are pretty self-describing and seem to be easy to fix:\r\n{quote}\r\nThis launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.\r\n{quote}\r\nAnother one might be related to an issue I discovered earlier, where the Simulator could not save the sim-state and force-quite-relaunches the Sim on every build, causing huge build delays (15+ seconds more):\r\n{quote}\r\nCoreSimulatorService connection became invalid. Simulator services will no longer be available.\r\n{quote}\r\nWe should investigate the warnings, fix the icon-generation for legacy sizes and ensure the generated project works correctly.", "attachment": [], "flagged": false, "summary": "iOS 11: Build warnings for legacy launch images using Xcode 9", "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": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "426616", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The {{CoreSimulatorService}} message is unrelated to this ticket. It should be harmelss. {{ioslib}} will detect the {{CoreSimulatorService}} swap and rerun the command.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-14T15:12:50.000+0000", "updated": "2017-08-14T15:12:50.000+0000" }, { "id": "426619", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/9314\r\nTi SDK 6_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/9315", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-14T16:28:19.000+0000", "updated": "2017-08-14T16:28:19.000+0000" }, { "id": "427276", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I cannot approve the master PR at this time, because it has to be something else. The warning talks about iOS 6 related launch-screens, the PR removes launch-screens introduced in iOS 8 / 9, which are the most recent ones required for the latest iPhone models (iPhone 6/7). If we remove those screens, these devices won't have a proper launch-screen anymore, which must be incorrect. I'll research a bit more on that after 6.2.0 releases.\r\n\r\nFor the {{CoreSimulatorService}}, I still think it is Titanium-related, because the build time has extremely slown down for iOS builds - because of the reasons mentioned above. Titanium kills the iOS Simulator on every build (on purpose or not). And a fresh iOS sim boot take around 15 seconds, which is blocking the user. What others do and what we also do on Android already is that we should launch the Sim as soon as we now the model (which should be at a quite early point, at least before xcodebuild steps in) and just install the app once compiling finished. This could even speed-up general iOS builds, as other non iOS 11 sims would also benefit from it. This is written down in TIMOB-24888 as well.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-26T10:28:52.000+0000", "updated": "2017-08-26T10:35:49.000+0000" }, { "id": "428943", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as {{Not our Bug}} as it has to be an Xcode 9 bug to detect false-positives here. The launch-images are required and look the same in the asset-catalog of a native project, so we cannot remove them. I'll try to open a radar at Apple for this to track it further and reopen this ticket if necessary.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-11T13:28:14.000+0000", "updated": "2017-10-11T13:28:14.000+0000" }, { "id": "440260", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as \"not our bug\". If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:52:03.000+0000", "updated": "2018-08-06T17:52:03.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }