After updating to XCode 8.1. Ran into the same problems compiling as defined here. After implementing each of these steps I was able to build both of my apps again however now when I try to load either of them via Simulator or on a Device through Hockey app. They both freeze on the first screen and become unresponsive. Looking for an answer or steps to debug this problem.
Related
running the app fresh from xcode works fine. but after exiting the application from simulator and trying to open it again shows the launchscreen then crashes.
I tried with a fresh project but found no issues. Only the current application I'm working with has this problem
Any suggestions to what could be the issue
EDIT: No errors or warnings shown in the console. Probably cause i'm closing the application and then trying to launch it manually from home screen
Xcode version: 12.5
Note: I'm using m1 macbook, so I have excluded arm64 architecture for debug (for iOS simulator SDK) to get my code to compile properly
Pods installed in the project:
SDWebImage
Dropdown
GoogleMaps
IQKeyboardManger
Everything was working fine before upgrading to Xcode 12 and iOS14. Now when I run the debug build on my device, Xcode says that the app is running, but the app is nowhere to be found on my device.
In the app library, I can see the name of my development team as a category and it's empty. And for some reason, I am able to find the app inside of Settings through search. However, I am unable to launch the app.
Thanks in advance.
Currently it shows only black screen. So i'm unable to Reset simulator.
But in iOS 6.1 app is working good.
I got this problem before 15 days.
you first delete all XCode related file which is being installed. and reinstall your XCODE 5.
you can refer following link for uninstalling XCODE
https://discussions.apple.com/thread/4772117?start=0&tstart=0
You can refer this similar question
Xcode5 Facing strange issue with testing app iOS Simulator failed to install the application
currently it shows only black screen.SO i'm unable to Reset simulator
By writing this you mean you can not access even iOS simulator > Reset Content and Settings ???????? If you can then try it.
I had tried these, and still had the problem, even after reinstalling Xcode 5. So I ran from Xcode again. Same thing, error -3. I stopped the app from Xcode, but I decided not to reset. Instead I decided to manually start the app in the sim. It took a few seconds, but it ran. Pressed stop. Reran the build from Xcode, and it worked.
I'm trying to use Instruments to look at resource usage in my Monotouch app. However, I can't get the app to launch through Instruments.
When I hit the record button in Instruments, the app launches on my iPhone, buzzes (signifying it's a debug build), then crashes - and Instruments reports:
Target failed to run: Remote exception encountered : 'Failed to get task for pid 384'
The app runs fine when I launch it directly on the phone.
I've tried it with debug builds and ad hoc builds (using the parameters defined on the Monotouch support page). Always the same.
I'm using Monotouch 3.2.5, iOS 4.3.1 (on a 3GS), Xcode 4 and Snow Leopard.
I've see this issued mentioned in a few places around the web, but haven't seen a resolution. Anyone know how to resolve it?
It's a signing problem: to run under the control of Instruments, the app is compiled with the Release build settings, not the Debug build settings, which usually means the app is signed with your Distribution certificate instead of your Developer certificate.
The app needs to be signed with a Developer certificate for Instruments to be able to control it.
Change your signing option to Developer on the Release build and you should be fine.
I also ran into this issue with Xcode 4. What worked for me was...
From Xcode 4, run on the connected iOS device.
Launch the Instruments app manually.
Choose my template (in this case TIme Profiler).
Choose my app from the Target menu (to the right of the Record button).
Click the Record button.
The suggested Entitlements solution did not work for me (since Entitlements are evidently no longer required in Xcode 4).
The suggested signing solution did not work either. Also, it would be inconvenient to change this every time I wanted to test with Instruments.
Check your Entitlements.plist for the signed app. If get-task-allow is false, it will prevent Instruments from attaching to the process.
How about launching Instruments from inside XCode? If you're using Xcode 3, it's in the Build menu and then Run with performance tools. This will fire up Instruments and automatically start recording.
With my iPhone connected to my mac via 30-pin connector (standard apple/iphone cable) I of course test and run my app with Xcode building it to run on the device.
For some reason though, when I build and run, it installs on my device but doesn't go further than the loading screen of the app with Default.png showing.
Then if I stop the build in Xcode it quit the application, then I run in manually on my device and the new build is there for me to test, but I just don't know why I have to do that and it doesn't just run past the loading screen when building?
This happened to me once after I added some certificates. I removed the build directory (MyApp/build/) and then did a clean and then build again, and everything miraculously worked. You might try that.