When I connect my iPhone 5 with xcode5, then on Iphone Home screen Tap long, after some time, its give worried behaviors. Sometime open any random app installed in my iphone, sometime open browser.
When run app, and press long, any random event occur like some time push new view controller,some time textfield becomeFirstResponder, some time any random keyboard value prees..
Is this OS issue ??
Its not related to xcode. I have noticed the same issue in OS apps as well. For ex. iMessage etc. Random keyboard were pressing.
Looks like OS issue. Quick way to resolve this issue is just restart you device and also upgrade your OS version to more stable version.
Related
I know that for Android it's possible to use Chrome://inspect to view the phone screen on your desktop. Clicking there is equal to tapping on the phone.
It's fine for browsers and after 4.4 - for apps that have some special lines of code inserted.
Whether it's possible for iPhone / iPad?
i.e. I have a REAL device with latest OS installed, which screen I'd like to be shown on MAC + clicking on the items on the screen will be equal to tappping on the phone.
XCode iOS Simulator - I am somewhat surprised you missed this part of the IDE.
It seems that this is not possible.
Our company has an app which is basically an eBook reader.
We use the RMSDK to perform book downloads & read.
Now, something very strange is happening in iOS7 devices (not in the simulator):
I download a book using the fulfillment method in the RMSDK
I wait for the book to finish downloading. The book is saved in the NSCachesDirectory (for App Store guidelines reasons) - so far, everything works fine
I hit the home button, the app moves to the background
I hit the app button to bring the app back, that's when the problem happens:
The app gets completely stuck. Hitting the home button does nothing, hitting the power button shuts down the screen, but then hitting the power button again does nothing.
The device itself has effectively crashed.
After a few minutes, the Apple logo appears on the device and the device comes back to life after a reboot.
I have no idea what in my code could be causing the device to act this way. Shouldn't the iOS7 sandbox prevent me from being able to crash the whole device?
Any ideas on why this could be happening and what I can do to prevent it would be greatly appreciated.
EDIT:
I placed a breakpoint on the -(void)applicationDidBecomeAcvive: method in the AppDelegate, and it's not being called when clicking on the app icon in the last phase before the crash.
EDIT:
The RMSDK is using libcurl to download the books. Could this be a cause for this behavior?
EDIT:
The problem is happening if I click on ANY app after I click on the home button, not just on the same app. So for example, I click on the home button, then I try to open Fruit Ninja, and the device crashes.
We managed to solve this issue by disabling functions in RMSDK, which call mkfifo(). I'm not sure how much I can say here due to NDA but they're all located in one file and can be cleanly converted to no-ops with a nice preprocessor #if defined()
Its an OS level bug. iOS 7 is still unstable in areas, for example my Apps report crashes in places that are part of iOS 7 itself and couldn't be caused by my app.
I am developing an application in Blackberry 10. I have installed QNXMomentics for development, and Dev alpha Simulator for debugging. For running application in QNX need to specify the IP Addess from device or simulator. But on my simulator it does not showing the menu, Only the welcome screen is showing in the simulator , What the problem here
In context of your problem, Richard gives you idea about how to connect you simulator or device to your IDE you can find out one more option there is AUTO DISCOVER.
On startup of your loading your simulator on VM player their are two option for selecting screen type:
BB10DevAlfaKeyboard
BB10DevAlfaKeyboardSafe
Try 2nd option.
(*This setting for simulator debug only)
Your blackberry simulator device get stuck on welcome screen, I think this happens because of your PC hardware configuration little bit low, for first time it will take time
you have to wait till you didn't get HOME SCREEN of your BB Os 10 on your simulator.
On the simulator home screen, at the top, near the time you should see an icon that looks like a person with a gear inside. Selecting that icon will show you the IP addresses assigned to the device.
Or Run->Debug configuration...->Add new target->auto discover
Trying to finish up an app I've been developing and have hit an odd bug that I'm not sure if it's on my end? a bug on apple's end? or perhaps the underpinnings of multitasking showing themselves.
My current app is doing this weird thing when you press the home button to quit the app, and then immediately relaunch the app. You see the Default.png image as the app starts up, but when it goes to display the window/view it briefly shows the screen as it was just before you quit the app, then goes to black for about 2 seconds and then displays the correct screen as if you were starting up fresh. I'm see this on all devices, iPods, iPhones, and iPad.
This is not just me, however, I've been trying other apps to see if they do it, and have found that the Air Hockey ( http://itunes.apple.com/us/app/air-hockey/id286106725?mt=8 ) is an example of an app that does this same thing. My instinct is that there are many apps that do. But the bulk of apps dont seem to have this issue.
I've done everything I can do make sure all views and view controllers are properly released, but it's almost like the device is taking a while to truly shut down even though the app has visually disappeared, and if you restart the app within probably 3 seconds or less then it still has something in the window buffer, or tht the full on view controller hasn't truly been released yet.
Anybody seen something like this and been able to solve it?
I'm the dev of that Air Hockey - It looks like it's probably Flurry that's causing it. I have a version without Flurry & it doesn't do it.
I solved this problem by updating my Flurry files to the latest version. http://dev.flurry.com/iphone_uploadNewVersion.do
I'm having some strange behaviour ocurring when I try to run my Iphone app without using Xcode. If I run it by choosing Build & Run in Xcode it runs just fine, but if I do it by disconnecting the USB cable and tapping on the app on the Iphone, it crashes, yielding an unhelpful crash log.
Is there any difference between these 2 scenarios that could be causing this behaviour?
The difference is that if you run it via Xcode, the debugger is attached and a lot of restrictions are not applied. For example, if an app starts up it must respond with a few seconds otherwise it's killed. If you run it with the debugger, that restriction is lifted. Same when exiting: if you hit the home button (on iOS < 4 or iOS >= 4 without multitasking) then an app gets five seconds to exit. Not so with the debugger attached.
It might help if you post the error message from the crash log.
After having run the app out of XCode, have you terminated it? With iOS 4 it will continue to run in the background, and when you tap on the app on the iPhone, it just brought to the foreground.
Double click on the home button and see if it's still running. If so, tap on the app until the minus sign appears and tap it.