@awang, I finally have a workaround for this issue, it turned out the app got frozen because the dev guy logged all the received json data. and somehow the app ran to racing condition with that logging. If I turn the log off then everything is ok.
I guess probably your app has faced the same issue too, here are steps that I made to figured it out:
- Run the app until it get frozen, then open activity monitor to print the sample of the app process.
- You can find the waiting thread in there, and track back to the code which called to that.
- Try to disable that called function and try with the app again to see if it solves the problem.
Although I can have a workaround here but there are still 3 questions that I cannot answer:
- Why the app run well with xcode?
- Why the app run well with command line ( exactly the same command line as Appium)?
- Why the app run well with ios 7.1 on Appium?
I’ll investigate this when I have time. Good luck