[TIMOB-16796] iOS: Build fails to place JavaScript files into the iOS sim app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-04-11T22:05:13.000+0000 |
Affected Version/s | Release 3.2.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | APP-792585, supportTeam, triage |
Reporter | Eduardo Gomez |
Assignee | Chris Barber |
Created | 2014-04-02T15:58:27.000+0000 |
Updated | 2017-03-22T20:53:20.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2014-03-25 at 9.57.08 AM (1).png | 2014-04-02T15:58:28.000+0000 | 112225 |
Chris, FYI
Chris, what's you opinion about this change. He deleted everything node and npm, npm cache cleaned upon re-install. Same result, still fails. Then he reset CLI hook.js per note above and it builds fine.
[~egomez] The problem here is the hook api needed to change between 3.2.0 and 3.2.1. 3.2.1 is now correct. You need to fix it in the offending hook. What hooks are being invoked? Look for a hook that has a 'pre' event callback and add version checks like this:
Can I check hooks from ti config? Otherwise, can you elaborate a bit more please.
[~egomez] You need to look in several places. ti config's "paths.hooks" will list all directories containing hooks that are loaded. You also need to look at what plugins are enabled in the tiapp.xml. Then look at each hook file and find the offending code and fix it using the code above. If you are using LiveView, you MUST update to the latest version. Studio may not be updating that properly. Make sure you do not have more than one version of a single hook that is being loaded.
Thanks. It seems the problem is solved. Removing the paths.hooks did the trick. Once they removed the Appcelerator Studio paths, the test project (and all others) build fine using un-altered CLI 3.2.1. Please resolved ticket as applicable.
Resolving as invalid since the problem is in a CLI hook, not Titanium CLI or SDK.
Closing ticket as invalid with reference to the above comments.