[TIMOB-20430] Switching to or updating custom Storyboard should trigger full rebuild
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.2.0 |
Fix Version/s | n/a |
Components | iOS, Tooling |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Chris Barber |
Created | 2016-02-18T15:00:39.000+0000 |
Updated | 2016-06-27T07:15:38.000+0000 |
Description
If you first add a custom
LaunchScreen.storyboard
or modify your existing one, the storyboard is not compiled and remains the same (aside from the known [Launch Logo Caching Issue](http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_SDK_5.2.0.RC_Release_Note-section-46244759_TitaniumSDK5.2.0.RCReleaseNote-iOSLaunchLogoCachingIssue)).
It does not trigger a full rebuild and the logs don't show it being compiled like it is after a clean:
[TRACE] CompileStoryboard LaunchScreen.storyboard
[TRACE] cd /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone
[TRACE] export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/fokkezb/dev/bin/apache-ant-1.9.6/bin:/Users/fokkezb/dev/bin/android-ndk-r10e"
[TRACE] export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
[TRACE] /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Ti_5_2_0 --output-partial-info-plist /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Intermediates/Ti\ 5.2.0.build/Debug-iphonesimulator/Ti\ 5.2.0.build/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --minimum-deployment-target 8.4 --output-format human-readable-text --compilation-directory /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Intermediates/Ti\ 5.2.0.build/Debug-iphonesimulator/Ti\ 5.2.0.build /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/LaunchScreen.storyboard
...
[TRACE] LinkStoryboards
[TRACE] cd /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone
[TRACE] export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/fokkezb/dev/bin/apache-ant-1.9.6/bin:/Users/fokkezb/dev/bin/android-ndk-r10e"
[TRACE] export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
[TRACE] /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Ti_5_2_0 --target-device iphone --minimum-deployment-target 8.4 --output-format human-readable-text --link /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Products/Debug-iphonesimulator/Ti\ 5.2.0.app /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Intermediates/Ti\ 5.2.0.build/Debug-iphonesimulator/Ti\ 5.2.0.build/LaunchScreen.storyboardc
Whenever a new/changed custom LaunchScreen.storyboard
is detected, we should force a full rebuild. In particular _because_ of the caching issue, which is only more confusing/stubborn because of this.
/cc [~cbarber]
Can we bump this for 5.4? As I explained in the ticket this makes the caching issue even more frustrating to users.