Sencha Touch 2.3 app causes iPhone 5 to freeze or crash - sencha-touch-2

I have created a Sencha Touch 2.3 app and tried to build it on iPhone5 using xcode. Sometimes when I deploy it, the phone freezes and then the only choice left is to force a reboot.
This happens occasionally only while trying to build it.
Has anyone else come across this ?
At first, I assumed it happens once in a while only while trying to build and deploy it.
But recently, someone reported a similar issue with another sencha app on an iPhone5 which was already downloaded and used several times. While launching this app, the screen went white and after a while the phone rebooted !
Is Sencha Touch apps causing this ?

Related

ios app lags and freezing iphone 6s/7/8 in iOS 13

We have an iOS native app developed with Objective C and using auto-layout with Storyboard for UIs.
It is working fine in iOS 12.4.1 in all devices and it is not
working now in the iOS 13 on iPhone 6s/7/8 only.
Only this screen size has the issue.
Other than that all other iphone screens are supporting upto to
iPhone 11 Pro Max.
And this issue is not there in the iPhone 6s/7/8 simulators. Only in
the real device.
When it is installed on iPhone 7 and run the app it lags very much
and freeze the app occasionally, I have to close it, But the iphone is also gets laggy.
I am not getting any errors.
I thought this is layout issue, so I've Removed constraints of all first showing screens and re-added the constraints. And tried to debug with XCode Instruments to test performance but that didnt show me any issue also(I am not much familiar with using XCode Instruments).
I am stuck with this issue for several days.
And I couldnt find anyone having the same issue.
I appreciate any help regarding this.
What could cause this?
I was facing a similar issue and found out that SearchDisplayController which is deprecated, was being used in the code and storyboard as well. That was causing my app to crash on real device, but not on simulator with iOS 13.1.2. After removing the SearchDisplayController, things worked fine for me.

How can I see why titanium app crashes on Blackberry simulator

I do a Titanium application that woks on iOS and android. Now, I want to create the Blackberry version.
I've tried with a simple app and it's launched well at simulator, but when I've tried my app it doesn't work.
It launches splash screen and begins to load the elements, but I think the app crash because simulator returns to main screen, there isn't any alert (like on android when app stop unexpectedly), it only returns to main screen.
My problem is that I don't know what happen and I can't find any error logs...
I connect by telnet to the simulator, and there I can see the first traces of my app, but any error.
Do you know what can be happened? How can I know if I have an error? How can I know if my app has crashed?
Sorry, if it's an easy question, I'm newbie at Blackberry.
I'm using Titanium SDK 3.2.2 and Blackberry SDK 10.02
Thank you very much
I've created a new project (with Titanium SDK 3.1.3 instead of Titanium SDK 3.2.2) and copy all files there. I've tried to launch the app many times, and one of them, the app launches.
Maybe it was a computer or simulator problem.

Xcode 5 fails to launch app with error: failed to launch '/path/to/.app' -- Busy

I am using XCode 5, with an iPhone 5s as the dev device. Every other time I run the app I get a pop that says "Could not launch [app name] \n busy". My iPhone 5s then appears to crash and the only way it will respond is if I hold the home and lock button until it resets.
The application is a single view application, the only thing I have done is added the Parse.framework from here and used
[Parse setApplicationID:appID clientKey:clientKey];
[PFAnalytics trackAppOpenedWithLaunchOptions:launchOptions];
In applicationDidFinishLaunchingWithOptions, along with some UI that isn't hooked up to anything.
I'm not sure if this has to do with Parse or possibly the App settings.
So to be clear, the behavior is:
Fresh reset > Build and Run application on iPhone 5s > application runs fine > Build and Run application on iPhone 5s > application appears to launch but screen remains black and iPhone is no longer responsive except the screen will turn off when the lock button is pressed (but not back on) > Build and Run application on iPhone 5s > XCode says "could not launch app - busy" > hard reset iPhone
When I run this on the 64-bit simulator it works fine.
Edit 1:
I have tested with multiple applications now that we know work on multiple other devices (iPhone 5, iPhone 4, iPhone 4s) and the simulators. I don't have another iPhone 5s so it is hard to compare exactly but everything crashes my 5s..
My device was completely stuck with black screen. "To fix you have to hard reboot, holding the power and home button until the phone reboots - doesn't lose any of the data you have on your phone (a concern the first time I did it)." as stated here:
http://blog.paulhadfield.net/2014/01/iphone-hangs-when-running-from-xcode.html
For iPhone7 there is a different approach:
Press and hold down the power button located on the right side of
the iPhone 7.
While holding down the power button, press and hold
down the Volume Down button on the left side of the iPhone 7.
http://www.hongkiat.com/blog/force-reset-iphone7-7plus/
You were using your phone when you ran the app. Make sure you don't use your phone after you press build and run, otherwise it will be "busy"
Which Xcode version do you use? Same issue with Xcode 5.0.1 + iPhone 5S (iOS 7.0.4). It crashed my iPhone 5S even by the simple application created by Xcode's default project template.
It seems this issue has been fixed in Xcode 5.0.2. Xcode 5.0.2 works fine for me by now.
I've got the same problem for several times. It seems that this problem always happens when iCloud or other background App is running & the App I was debug is already in running mode.
My suggestion is: Avoid any background App running when debug and Make sure the App debugging is fully killed before restart a debug.
It is obvious a bug in iOS 7 + Xcode 5.
I had the same issue and upgrading to Xcode 5.0.2 resolved it.

How to lock screen orientation to landscape for Android?

There are lots of similar questions on stackoverflow and I have tried multiple ways but nothing is working for me. I am doing a Sencha application using phone gap. i want show the app only in Landscape mode.
I have followed the link below to create Sencha touch2 - Phonegap appplication
http://vimeo.com/55335529.
I have tried the following :
a. Inside the manifest file(FirstApp\build\FirstApp\android\AndroidManifest.xml) i have added the line android:screenOrientation="landscape" but when i do Sencha build then the complete app is building and thus the above line is missing.
b. I have added this line
< preference name="orientation" value="portrait" /> inside the res/config.xml
still same. It doesnt lock the orientation.
Can anyone please help me in resolving this? Thanks.
When you build your cordova app ( e.g. using cordova as cordova build android ) and that is done after building the sencha app, then just before deploying it to device ( using cordova run android ), in cordovaProject/platforms/android/AndroidManifest , u can add this
android:screenOrientation="landscape"
It works for me.

Worklight Application Center v5.0.5 - Apps fail at download stage for ios6, works for ios5

I am trying to download applications from my Worklight Application Center Client (5.0.5 version) on an iPhone 5 runnning ios 6.1.2.
9 times out of 10 the download and install of the application will fail, whilst 1 in 10 times it will download and install correctly.
I have also tried using an iPhone running io5.1 and the install works fine. It also works fine on an iPad running ios5.1. It fails on another iPhone running ios6.0
I have checked issues such as signing of the apps and if I am using a correct UDID and I can say that these are not causing the issue, especially when you consider that it works some of them time.
It seems to be something to do with ios6 specifically.
Has anyone else seen this kind of behavior or can offer any help in terms of resolving it?
Thanks in advance,
Joe
The situation with iOS 6 seems better with Worklight 5.0.6, to be released in the near future.