[TIMOB-9025] iOS: Error message when distribute
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-05-07T20:50:21.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Jong Eun Lee |
Assignee | Neeraj Gupta |
Created | 2012-04-12T23:48:45.000+0000 |
Updated | 2017-03-22T21:49:02.000+0000 |
Description
When I use "Distribute - Apple app store" button, I got a *"UI element scripting is not enabled. Check "Enable access for assistive devices""* alert message.
After that If I run on iPhone Simulator, I got a red message below.
*That message is "'undefined' is not a function (evaluating 'Ti.UI.iPhone.createNavigationGroup()') (unknown file)"*
Check attachment snapshot files.
Thanks.
Attachments
Hi JongEun, Would it be possible to provide a small code sample that reproduces the issue? Thanks, Betty
Resource/app.js
\\ \\ Resource/iphone/ui/bootstrap.js
\\ \\ Follow these step,
make default titanium mobile project
delete all javascript file in Resource folder
make app.js & bootstrap.js file (above code) (MAKE SURE bootstrap.js file location!! under "iphone/ui/")
click "run iPhone Simulator" ( you can see blue screen :) )
"Distribute - Apple ...."
click "run iPhone Simulator" ( you can see error(red) screen :( )
I should guess the problem is checking what Ti modules used. When distribute, Ti don't do this checking under /iphone/ folder?! If you move bootstrap.js file to /Resource/ui/ folder, It work properly. I hope this comment help you. Thanks, JongEun.The feature called 'Enable access for assistive devices' is found in the Universal Access preference pane. It needs to be enabled in order for any GUI AppleScripts to run. You can enable it from Terminal as well using the following command. To turn it on, type this in Terminal: sudo touch /private/var/db/.AccessibilityAPIEnabled To then disable it, type this: sudo rm /private/var/db/.AccessibilityAPIEnabled
After follow above commend, System reference alert disapear. (system reference.jpg attachment) But Application Error message appear. (iOS Simulator.jpg attachment) please read my last commend. If you follow step, you can see application error message.
JongEun Lee: did you manage to resolve this?
Demostenes Garcia : No, I didn't. You can see this bug in 2.0.2GA. If you follow step on my previous comment, you can see application error message. :)
Closing ticket as invalid with reference to previous comments.