[TIMOB-19424] iOS: After a few builds, icons and launch images are missing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-31T21:16:53.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Chris Barber |
Created | 2015-08-28T08:52:14.000+0000 |
Updated | 2015-09-11T14:42:50.000+0000 |
Description
While working on the [Ti 5.0 Sample App](https://github.com/appcelerator-developer-relations/appc-sample-ti500) I noticed that on the second and following builds the app is in letter box mode and the icon and launch image is missing (which triggers the letter box of course).
Probably related to the incremental builds.
PR: https://github.com/appcelerator/titanium_mobile/pull/7099
App icon and launch image are shown properly after few subsequent builds. Verified on: Mac OS 10.10.4 Appc Studio: 5.0.0.201508271032 Ti SDK: 5.0.0.v20150831202903 Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-33 Node.js: 0.10.37 Xcode 7b6
I'm seeing this with CLI 5.0.2 and SDK 5.0.0.v20150908200706 (Sept 9 CI). No app icon and letterboxed apps on iPhone5s.
[~timpoulsen] Try doing a clean, then build once to do the full build, then again for a subsequent build. This bug was fixed, so I'm surprised it's popping up again.
Cleaning seems to have taken care of it. Until I did the clean, I was definitely getting no icon/launch images after switching SDKs (
ti sdk select
and updating tiapp.xml). I guess anyone using Studio won't see this because it cleans automatically when you switch SDK versions.The problem re-appears after a few builds. However, adding
--force-copy
as I noted on TIMOB-19283 creates a proper build with icons/launch images every time.