Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24887] iOS: Build slown down because launch-logs are re-generated although not changed (invalid caching)

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 6.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2017-06-23T21:55:18.000+0000
Updated2018-02-28T19:55:19.000+0000

Description

When buildung a new project (appc new -p ios), the app-icons are always regenerated, even when not changed and the build is simply triggered again. The following steps are done in every build:
[INFO]  Forcing rebuild: launch logos changed since last build
[WARN]  If this app has been previously installed on this simulator, you may need restart it to see the latest launch logo
[WARN]  iOS renders and caches the launch screen to a PNG image that seems to only be invalidated by restarting iOS
[WARN]  The default icon "DefaultIcon.png" contains an alpha channel and will be flattened against a white background
[WARN]  You may create an image named "DefaultIcon-ios.png" that does not have an alpha channel in the root of your project
[WARN]  It is highly recommended that the DefaultIcon.png be 1024x1024
[DEBUG] Stripping alpha channel: /Users/hknoechel/Documents/Apps/Abifestival/DefaultIcon.png => /Users/hknoechel/Documents/Apps/Abifestival/build/iphone/DefaultIcon.png
[DEBUG] Found /Users/hknoechel/Documents/Apps/Abifestival/build/iphone/DefaultIcon.png (1024x1024)
[INFO]  Missing 16 app icons, generating missing icons
[INFO]    appicon-Small.png - Used for iPad - size: 29x29
[INFO]    appicon-Small@2x.png - Used for iPhone, iPad - size: 58x58
[INFO]    appicon-Small@3x.png - Used for iPhone - size: 87x87
[INFO]    appicon-Small-40.png - Used for iPad - size: 40x40
[INFO]    appicon-Small-40@2x.png - Used for iPhone, iPad - size: 80x80
[INFO]    appicon-Small-40@3x.png - Used for iPhone - size: 120x120
[INFO]    appicon-60@2x.png - Used for iPhone - size: 120x120
[INFO]    appicon-60@3x.png - Used for iPhone - size: 180x180
[INFO]    appicon-76.png - Used for iPad - size: 76x76
[INFO]    appicon-76@2x.png - Used for iPad - size: 152x152
[INFO]    appicon-83.5@2x.png - Used for iPad - size: 167x167
[INFO]    LaunchLogo~iphone - Used for iphone - size: 320x320 - size: 320x320
[INFO]    LaunchLogo@2x~iphone - Used for iphone - size: 374x374 - size: 374x374
[INFO]    LaunchLogo@3x~iphone - Used for iphone - size: 621x621 - size: 621x621
[INFO]    LaunchLogo~ipad - Used for ipad - size: 384x384 - size: 384x384
[INFO]    LaunchLogo@2x~ipad - Used for ipad - size: 1024x1024 - size: 1024x1024
[TRACE] Resizing images: java -jar "/Users/hknoechel/Library/Application Support/Titanium/mobilesdk/osx/6.1.1.v20170622183547/node_modules/node-appc/tools/resizer/resizer.jar" "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/DefaultIcon.png" "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small.png" 29 29 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small@2x.png" 58 58 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small@3x.png" 87 87 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40.png" 40 40 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40@2x.png" 80 80 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small-40@3x.png" 120 120 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-60@2x.png" 120 120 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-60@3x.png" 180 180 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-76.png" 76 76 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-76@2x.png" 152 152 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-83.5@2x.png" 167 167 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo~iphone.png" 320 320 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@2x~iphone.png" 374 374 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@3x~iphone.png" 621 621 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo~ipad.png" 384 384 "/Users/hknoechel/Documents/Apps/Abifestival/build/iphone/Assets.xcassets/LaunchLogo.imageset/LaunchLogo@2x~ipad.png" 1024 1024
[INFO]  Creating launch image set
[WARN]  Missing 5 launch images:
[WARN]    Default
[WARN]      Default-Landscape.png - Used for iPad - dimensions: 1024x768, orientation: landscape
[WARN]      Default-Landscape@2x.png - Used for iPad - dimensions: 2048x1536, orientation: landscape
[WARN]      Default-Landscape-736h@3x.png - Used for iPhone - dimensions: 2208x1242, orientation: landscape
[WARN]      Default-Portrait.png - Used for iPad - dimensions: 768x1024, orientation: portrait
[WARN]      Default-Portrait@2x.png - Used for iPad - dimensions: 1536x2048, orientation: portrait
Expected behavior: It's only regenerated when actually changed.

Comments

No comments

JSON Source