facebook

iPhone Build does not run – CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #341966 Reply

    After the last round of the server problems, I tried rebuilding my APP.

    Now it gens and finishes, but I am not able to run it on the phone. Screens are acting up, buttons don’t work, I get a lot of messages in the iPhone console about not finding functions .

    I tried uninstalling and reinstalling the APP on the phone. No difference.

    However, the APP runs in the Test Center.

    Phone: iPhone4
    IOS: 6.1.3

    Using Mobi2.3.2
    IOS Build #: 10272143

    I can send in further info if needed.

    Any ideas ? Is there still a problem with the MOBI environment ?
    You guys have not posted any updates to the announcements about the server status.
    Last update shows AUG.26. I’m not sure if all is OK or not.

    Thanks,TG

    #341970

    Hi tguneysu,

    >Last update shows AUG.26. I’m not sure if all is OK or not.
    I posted a followed up that issue with App Center is fixed now: http://www.genuitec.com/support-genuitec/viewtopic.php?p=19969#p19969

    >Now it gens and finishes, but I am not able to run it on the phone. Screens are acting up, buttons don’t work, I get a lot of messages in the iPhone console about not finding functions .
    1) Is this the first time you test this app on device?
    2) Does something similar happen with other apps?
    3) Do you have added some additional .js files? Is all the custom code in the _custom.js file?
    4) What is the default page arch?

    #341976

    Hi Octavio,

    1) Is this the first time you test this app on device?
    No this APP has been working for several months, but under development.

    2) Does something similar happen with other apps?
    I built and tested another big APP and that one runs OK on the phone.

    3) Do you have added some additional .js files? Is all the custom code in the _custom.js file?
    No additional files added.
    All custom code is in the _custom.js file.

    As I have said in the original message, the APP runs OK in the Test center. So there are no missing files.

    4) What is the default page arch?
    If arch means Architecture, then it is a multi-page tabbed design with 5 tabs.

    TG

    #341980

    @tguneysu,

    All seems to be fine. Please send us a zip file with your project to support at genuitec dot com, use title mobione data from tguneysu. If the app is more than 10 MB consider using a service such wetransfer.com

    #341991

    Octavio,

    Files have been sent.

    TG

    #342019

    support-michael
    Keymaster

    >Now it gens and finishes, but I am not able to run it on the phone. Screens are acting up, buttons don’t work, I get a lot of messages in the iPhone console about not finding functions .

    Thanks for the error info. To start the feedback the fact that variables and function defined in the custom javascript file are undefined is a strong indicator of a javascript error most likely in the custom javascript file (e.g., unclose function can really goof things up) or there is some javascript language feature used that may be supported my the mobione tools on the desktop but not on the device/os. I was talking to Octavio about if/how we can replicate the issue on an ios test device. We need more time to investigate and see if we can isolate the issue.

    Can you provide a very specific set of steps that leads to failure? Given this we can try building the app and testing.

    #342024

    Hi Wayne and Octavio,

    OK, I have the problem located.

    I was having a problem with function call timings and sequencing. So I implemented one of those setInterval loops to resolve it. Resolve it it did, but in the process I copied the code to two different areas in the program with the SAME function name and screwed it up totally. That was problem #1.

    The second was the weird syntax error I kept seeing in the iPhone console logs: it was saying I had an invalid syntax on a BREAK statement. All by itself on a line within a string of case evaluations. Because of the other problem I was not paying attention to it. Upon further closer inspection, I realized that the BREAK was in a function within a CASE. So thinking I wanted to terminate the CASE I used a BREAK. But it is not allowed within a function. I replaced it with a RETURN, followed by the actual BREAK at the end of the CASE statements and ALL PROBLEMS DISAPPEARED.

    I wanted to let you guys know to cancel my email etc, and also to thank you for directing me to inspect the custom JS more closely. OK, I am a new JS programmer, but the error messages leave something to be desired…

    Lesson learned.

    However, it is still a mystery why the program with these two errors was running fine in the Test Center.

    Thanks, TG

    #342060

    support-michael
    Keymaster

    Thank you for the feedback. I’m glad your problem is resolved. Best wishes with your app delivery.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: iPhone Build does not run – CLOSED

You must be logged in to post in the forum log in