Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15677] CLI: iOS: Resources not copied during incremental simulator builds

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-08T18:11:32.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0
ComponentsiOS, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-11-06T19:35:50.000+0000
Updated2013-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.

Comments

  1. Chris Barber 2013-11-07

    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.
  2. Pragya Rastogi 2013-11-12

    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

JSON Source