Rebuild bin/target/assets folder

Every time I update an asset I need to rebuild. I'd love to be able to simply resync the assets folder with a command like, nme sync "application.nmml" ios

Viewing 1 to 5 (5 Total)
Rebuild bin/target/assets folder

neurofuzzy

neurofuzzy
Total Posts: 151
Joined: January 21, 2012

Every time I update an asset I need to rebuild. I'd love to be able to simply resync the assets folder with a command like,

nme sync "application.nmml" ios

Tags:
Posted on June 27, 2012 at 5:47 PM

Philippe

Philippe
Total Posts: 261
Joined: September 08, 2011

Re: Rebuild bin/target/assets folder

Maybe: nme update app.nmml cpp

Posted on June 28, 2012 at 1:27 PM

neurofuzzy

neurofuzzy
Total Posts: 151
Joined: January 21, 2012

Re: Rebuild bin/target/assets folder

Yes! Thank you!!

Posted on June 28, 2012 at 4:21 PM

neurofuzzy

neurofuzzy
Total Posts: 151
Joined: January 21, 2012

Re: Rebuild bin/target/assets folder

So this works sometimes. However, Xcode is not playing nice. It seems that after a while, no matter how many times I rebuild the app, the assets will not update on the device unless I do:

rm -rf bin/iphone

and build from scratch. I'm not sure what is causing this. I've tried build, upgrade, and deleting the app from the device, nothing works except that. Weird huh?

Posted on July 11, 2012 at 4:35 PM

Philippe

Philippe
Total Posts: 261
Joined: September 08, 2011

Re: Rebuild bin/target/assets folder

I think xcode doesn't like this kind of external updating - I have similar problems with Titanium for instance and the project needs to be regenerated once in a while.

Posted on July 12, 2012 at 2:09 AM