[TIMOB-15677] CLI: iOS: Resources not copied during incremental simulator builds
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-08T18:11:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0 |
Components | iOS, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-11-06T19:35:50.000+0000 |
Updated | 2013-11-12T10:29:36.000+0000 |
Description
When building for iOS Simulator, the first build works just fine because it's doing a full rebuild. Subsequent builds do not copy resources because createSymlinks() was consolidated into copyResources() and due to an accidental omission, copyResources() is not invoked for incremental simulator builds.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4926 To test: 1) create an app 2) ti clean 3) ti build -p ios 4) add Resources/foo.js with contents: console.log('howdy!'); 5) add to app.js: require('foo'); 6) ti build -p ios You should see "howdy!" and no errors.
Tested and Verified fix with: OSX: 10.8.5 Xcode:5.0 Appcelerator Studio: 3.2.0.201311120707 SDK: 3.2.0.v20131111174605 acs:1.0.7 alloy:1.3.0 npm:1.3.2 titanium:3.2.0 titanium-code-processo:1.0.3 Device: iOS7(v7.0.3)-iPodTouch1 Simulator- iPhone Retina(4-inch) iOS 7.0