CBCentralManager state 5, App crashed - iphone

I am trying to connect a heart rate monitor with my app and it is working properly in 4S and iPAD 3, but now I am testing it with iPhone 5, in that case it is giving me crash, I have followed this link also but no help. Please see the attached device log for any help. Please suggest.
Thanks

Related

Xcode 4.2.3 App Not Running On iPhone 4S

I have just started to learn how to code iOS apps. I have made a quick app as a first test. It runs perfect in the simulator but when running on my iPhone 4s the app runs and instantly i am set back to home screen.
Heres a link to my app if you could kindly view it and see what the problem could be because I have no clue.
http://netload.in/dateiGpnBm98FTY/FirstTest.zip.htm
Thank You
Try set a Device frameworks, not a frameworks for simulator

Test Application on iPhone 3G without SIM card

I am working on one application that has APNS in the same. And for the same purpose,i have installed an SSL certificate in the application. For the purpose of getting the device token,i am attaching the device with MAC and the organizer window starts connecting to the iPhone device and starts copying the files but it sticks at a point saying copying file 2 of 2 and takes hours but in vain.The symbol next to device remains orange in Organizer. I am using Xcode version 3.2.6 and have iPhone 3G for testing.
Is this possible due to No SIM in the iPhone device or some other reason? Kindly help. I really have lost so much time on the same issue.
Thanks in advance.
I don't know if it the same reason or not but after testing my application on iPhone 3GS, i was able to run my app successfully.

Blank screen on some user devices. No crash reports. Can't replicate the bug - how to fix it?

I released an iPhone/iPad app some weeks ago. From 15 reviews (worldwide) I got a dozen 1 star reviews from users saying the app does not work, they only get a blank screen. The other three are happy and it works for them.
I tested the app on an iPad 1, an iPad 2, an iPhone 3GS and several iPhone 4s - it worked on every device flawlessly. And it passed the app store submission process, so it must have worked at Apple...
The crash report in iTunes Connect is empty - the app obviously does not crash, it just hangs somewhere.
Unfortunately there is no way to contact the users where it doesn't work :-(
I know its really hard to help with that less information, but I don't know what to do when I can't replicate the problem on my side...
So does anybody has any idea?
If its a memory problem - shouldn't the app crash then?
I use AVFoundation to play a movie and I know of some flaws since its a relatively new library - does somebody know of this problem (a blank screen) in relation with AVFoundation?
It would be helpful as well if you could download the app (the name is "Hyperactive") and test if you get a blank screen. If so I would be glad to learn the exact device and the iOS version. I hope this is not missunderstood as spam, thats not what I intend...
Thanks in advance,
best regards,
Walchy
This is a longshot, but maybe the user had the application running for a long time, receiving a viewDidUnload, and something you unload is not getting reloaded on the viewDidLoad.
Try running a "Simulate Memory Warning" on the iphone simulator options.
Both iPhone and iPad versions work fine on iPad 1.
Application won't install on iPhone 3G with iOS 4.2.1.
Have you tested your application on a jailbroken device?
It turned out that the black screen only happens on an iPod Touch and the solution is very easy:
You need an additional entry in the .plist file for the iPod Touch:
Main nib file base name ...
iPod Touch 4G thinks it's an iPad

Debugging ok on iPhone4 but EXC_BAD_ACCESS on iPod Touch and iPhone 3G

I'm developing an app on my Macbook debugging it on my iPhone4. The app make use of camera, internet connections, and normal stuffs.
Today I'm trying to debug it on an iPod Touch 2G and on an iPhone 3G......but it always install the app on the device, it says "running" but before the app il really launched I get a "EXC_BAD_ACCESS".....non message...even NSZombieEnabled didn't work!!
Any help?
Thanks
Check the stacktrace when it crashes then look up the last called function.
It might be a new API function and in that case you must first check for it's existence in the installed iOS version.

App freeze and then crashes on splash screen

I have an iPhone App published for a while, developed under the SDK3, and everything works great. Some weeks ago, when Apple released the SDK4 I made some changes to my app to support multitasking (it plays audio in the background).
In my simulator and my device (iPhone 3GS iOS4) the app runs great, there is no problem at all. But, now when I submit the update, a lot of users are contacting me because they say that the app freezes on the splash screen and after waiting about 40-60 seconds, it crashes.
By asking to the users, I have determinate that the problem is only in those devices that haves iOS4 (iPhone 3Gs and 4G).
I tested the app over and over in my simulator and my device but it never happens to me!! Some one have any idea or information about this?
I will really appreciate it. Thanks.
After search for the crashes, and try over and over, I can't reproduce the bug on
my devices. So, I decide to start reading at the Apple Developer Forums and I
found a thread where my suspicions are affirmed: this problem is caused by an internal
iOS4 bug.
"There's a bug in the App Store's code signing process. Talk to DTS: they can
help you with the workaround. Mention rdar://7909951."
"...but it should be the cause of nearly all "failed to launch in time" inside
libobjc:_mapStrHash..." (This appears in some of my app crashes)
Here is the link to the post: failed to launch in time in iOS4
There is no certain solution, but some suggest that a start is changing from arm6 to arm7 and try.
You can try changing some code in the app for producing a different binary and submit it again.
I hope it can help anyone else.
Check the crash report on itunesconnect.apple.com
iPhone 3G also supports iOS 4, except it "doesn't support multitasking" (presumably due to lack of RAM?). If you're only seeing crashes on the 3GS and 4, then that might be the issue.
Default.png is shown on launch, but it's also shown on the foreground when the OS didn't manage to get a screenshot while backgrounding, or for various other reasons (e.g. your app was launched with openURL, so the UI is likely to be different).