You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched and made sure there are no existing issues for the issue I am filing
I have searched the existing issues
Description
I am facing an issue while running my Titanium-based iOS application (version 4.4.05) on Titanium SDK 12.1.2.1e3a7d3afb. The app is unable to load the index.json file, which leads to a "SyntaxError: JSON Parse error: Unexpected identifier 'undefined'" during the JSON parsing process.
`Reading stylesheet from: /private/var/containers/Bundle/Application/05C15C26-F859-4066-9F91-C4F956FC95F9/Advisor.app/stylesheet.plist
2023-07-19 11:49:14.794068+0530 Advisor[6841:1971119] [ERROR] Could not load index.json require index, error was File not found
2023-07-19 11:49:14.889741+0530 Advisor[6841:1971119] [INFO] Advisor 4.4.05 (Powered by Titanium 12.1.2.1e3a7d3afb)
hi, did you try the comment I've put in the stackoverflow post? Add a console.log(json) before your parse line. As the first part of the error says Could not load index.json require index, error was File not found
It seems like you are trying to open the generated Xcode project ("or running its from xCode and connected on connected device.") which is not officially supported. If this really also happens for CLI-based builds, please provide a sample project and we can take a look :)
I have searched and made sure there are no existing issues for the issue I am filing
Description
I am facing an issue while running my Titanium-based iOS application (version 4.4.05) on Titanium SDK 12.1.2.1e3a7d3afb. The app is unable to load the index.json file, which leads to a "SyntaxError: JSON Parse error: Unexpected identifier 'undefined'" during the JSON parsing process.
`Reading stylesheet from: /private/var/containers/Bundle/Application/05C15C26-F859-4066-9F91-C4F956FC95F9/Advisor.app/stylesheet.plist
2023-07-19 11:49:14.794068+0530 Advisor[6841:1971119] [ERROR] Could not load index.json require index, error was File not found
2023-07-19 11:49:14.889741+0530 Advisor[6841:1971119] [INFO] Advisor 4.4.05 (Powered by Titanium 12.1.2.1e3a7d3afb)
2023-07-19 11:49:14.905497+0530 Advisor[6841:1971119] [ERROR] /ti.kernel.js:1073
SyntaxError: JSON Parse error: Unexpected identifier "undefined"
Expected Behavior
Device Container should be generated : Bundle/Application/05C15C26-F859-4066-9F91-C4F956FC95F9/Advisor.app/stylesheet.plist
Actual behavior
Reading stylesheet from: /private/var/containers/Bundle/Application/05C15C26-F859-4066-9F91-C4F956FC95F9/Advisor.app/stylesheet.plist
2023-07-19 11:49:14.794068+0530 Advisor[6841:1971119] [ERROR] Could not load index.json require index, error was File not found
Reproducible sample
/ti.kernel.js:1073
Steps to reproduce
ti build -p ios
or running its from xCode and connected on connected device.
Platform
iOS
SDK version you are using
12.1.2
Alloy version you are using
2.0.2
The text was updated successfully, but these errors were encountered: