Unable to debug on ipad - ipad

I am facing very strange problem.
On my mac machine which has xcode 3.2.5 installed with iOS SDK 4.2. I am working on a universal application that runs fine on iphone 4 [can debug too] but not on iPad. When I run the application on ipad in debug mode then the application stops at splash screen with no error in console.
I can run the application by tapping on the application icon on home screen in ipad but not through xcode.
What may be the reason behind it?
Thanks
Arnieterm

Try restart the ipad. This is due to the debug process in ipad is sucked.

Your build scheme may not be in debug... Check your build scheme..
In XCode 4, goto Product -> Edit Scheme, then set Scheme to 'Debug'...

Related

Xcode shows no error but the react native app crashes forced close automatically right after the splash screen showed

I am developing an android app with react native. It is successful and already uploaded on play store. Now I am trying to build it in iOS version, but when I am opening the simulator, the app crashed, only splash screen that showed up and then forced close automatically. There is no any error showed in terminal in xcode. I am using macbook air M1 and xcode 14.2. Do you know why that happened and how to fix it? Thank you
Check if your Build Configuration for Run is "Debug" and not "Production"
Inside Xcode. Go to Product -> Scheme -> Edit Scheme
Attaching screenshot for reference

Nativescript 5 - Cannot profile with xcode

I'm using {N}5.1.0, and I'm trying to debug some memory leaks that I have in the application.
I've followed the instructions here. The problem is that when I press on 'profile', the instrument pane opens, the application is deployed to the device (a simulator) but it's not started. And if I click on the icon of the app on the simulator to manually start it, it shows the splashscreen and then silently stops.
I'm using xcode 10.1
I've already tried to wipe out all simulator data, restart simulator and xcode with no results.
Am I missing something?
I had to go to Product>Scheme>Edit Scheme then select Profile and switch Build Configuration to Debug

Xcode8.1 and Safari 10.0.1 not showing debug or console errors?

Arrgghh....I am so fed up with Apple. I have none of the problems with Android that I continually have with Apple.
Went to go load my app onto a local device (iPhone 6s) that had iOS 10.1 on it. Xcode wouldn't play with that so I had to upgrade to Xcode 8.1 and everything broke. I am now just trying to deploy my project to the simulator, it builds fine and deploys - I see my splash screen and then the app goes blank. Zero errors are displayed in the console yet I am not able to see the app in Safari Develop "Simulator" (not even there).
Mac 10.11.6 El Capitan
Xcode 8.1 (8B62)
Cordova 6.4.0
Project platform iOS: 4.2.1 (I even upgraded it to 4.3.0 but still nothing, then rebuilt project with 4.2.1 again)
Project iOS Target: 9.3
Deployment Target: 9.3 (iPhone only)
Simulators: 10.0, 10.1, 9.3
It was deploying just fine to Simulator iPhone 6x with Xcode 8.0 for 9.3 deployments, but upgrading to Xcode 8.1 broke it. I am going to remove the Simulators 10.0/10.1. the biggest issue is it builds just fine but deploys splash screen then goes blank.
Relaunch Safari after Simulator starts running.
#eb1 gets credit for these 'fixes'.
After upgrading to Xcode 8.1 as well as Safari 10.0.1 I was no longer able to see compile, debug or JS errors in either the Xcode console or the Safari Develop Simulator debug/console sections.
After compiling my project, the simulator would show my app splash screen and then go blank. no errors, messages, console output - nothing. In addition, Safari was no longer displaying the "Develop -> Simulator" option to debug my app.
To fix this, I had to shut down Xcode and Safari, and in this order, relaunch Xcode, load the project into Xcode and then start Safari - only then would the Develop->Simulator dropdown show up.
But even after getting #1 to show up, I still wasn't able to see any bugs, or code issues within the Develop->Simulator window after the app had loaded. After it was loaded it would just be blank and i couldn't see what any issues that was causing my app to not be working. Well, after it was loaded i had to press "cmd-R" to reload the console/debug messages and then i was able to see the issues breaking my app. I have to do this every time now...load the app, see nothing, then cmd-R...then able to see the bugs/breaks.
I still don't have a solution for doing the same within Xcode console - prior to upgrading I could see almost all of the same issues in both Xcode and Safari, but now only in Safari (using solution #2 above). Xcode shows everything loaded fine, while Safari cmd-R 'after' loading is now showing the compile issues.
If anyone ever finds a solution for #3, please please add to this thread.

Xcode 4.5 doesn't launch iOS application in simulator or mac app when running/debugging

Having a strange issue with XCode 4.5 on OSX 10.8.2.
When I run an application on the mac, it doesn't launch and I get the following error in console consistently.
10/01/2013 17:26:26.478 Xcode[7884]: ERROR: Failed to create an alert for ID "enabled" based on defaults: 1
When I run an iPad/iPhone app, the simulator launches, but the app just shows a blank screen. I thought there was an issue with my apps (although very unlikely) so attempted to create a vanilla mac app and iOS app. Both experience the same issues. Running/Debugging any iPad project directly on the iPad through Xcode works however.
I've attempted to:
Delete everything in ~/Library/Developer/Xcode/DerivedData/
Delete the Xcode app and download it again from the AppStore
Delete all of my Xcode preferences
Xcode Build and stop buttons also become unresponsive so I have to force quit xcode to try again.
Nothing seems to be working, Xcode works fine however on my mac pro at work and all projects build just fine! Any help would be much appreciated!
Never mind, setting the debugger to GDB instead of LLDB seems to have fixed this. It would however be good to get an answer as to why LLDB doesn't work as the default debugger and what's changed in xcode to make it no longer work as expected.

Application hangs when debugging on iOS 3.1.3 device with Xcode 4.3.2

I have the original iPod touch with iOS 3.1.3 (the last one that can run on the device). When I use Xcode 4.3.2 to debug an application, it always hangs at the launch image screen. However the application runs fine when I disconnect the device and run it without Xcode.
Is there a way to fix this? I've reinstalled iTunes 10.6 and restarted both my Mac and the iPod, with no effect.
This is Xcode's screen when I pressed "pause" on the debugger. Maybe this can be somewhat useful for identifying the issue.
Thanks in advance.
I had a similar problem, I fixed it by editing the project scheme to use the GDB Debugger instead of the LLDB Debugger when running the app.

Resources