Project: titanium
Issue TIMOB-19549: iOS: JS files in Resources get minified if minification is not "skipped"
JS files in the Resources dir are getting minified. This is due to a bug introduced in Ti SDK 5.0.0. To reproduce, do: {code} ti clean {code} {code} ti build -p ios -T device --build-only --skip-js-minify {code} At this point, since we did't minify the JS files, the {{build/iphone/assets}} dir will contain symlinks to the original files in the Resources dir. titanium_prep happily encrypts them and all is good. {code} ti build -p ios -T device --build-only {code} Now the iOS build will minify and then encrypt. Except this time, when we write the minified JS code to the assets dir, the destination exists and it's a symlink! When it writes to the symlinked JS file, it modifies the original in the Resources dir.
Story points: 5