iOS app hanging on splash screen - compatibility issues? - xcode

iOS 8, xcode 6.0.1, unity 4.54f1
Last night I updated my iPhone5 to iOS 8. It requested xcode 6.0.1 which in turn requested to update Unity. I did everything that was asked and now after I build to my iPhone, the app gets stuck on the splash screen. I tried building to an iPad with iOS 7 and that did not work either.
They both get stuck after the log says applicationDidBecomeActive() and then applicationWillResignActive(). Exiting the app will say that Thread0 has crashed and it will show me a method call that worked fine 2 days ago. Android still works perfectly fine.
My question is: are there compatibility issues between xcode/unity/ios8/all 3 at this point? What can I do about it?

It turns out that the problem was with a hackish plugin that was made to run a unity app in the background which no longer applies to the current version of xcode. Apologies for wasting your time.

Related

iOS Simulator hangs with beachball loader for 5-10 seconds to often

For almost half a year my simulator is often very slow and hangs for a couple seconds when I'm touching the running app. This happens a lot when touching TableViews or MapViews (zooming, swiping).
For example I run the app go to a mapView try to zoom in and swipe then always for 5-10 seconds the app hangs and shows the beachball (loading cursor). Then the app continues to work for a bit and it hangs again, continues to work, etc.
My colleagues don't have this problem on the same macbook (Pro late 2013, 2.3Ghz i7, 16gb, OSX 10.11.2) and same xcode project.
I've reinstalled Xcode (running latest), iOS Simulator (both iOS 8 and 9 and 9.2 have these problems).
I cannot find anything in the console and I have this with other xcode projects as well.
Hope someone can help me with this otherwise I will have to reinstall my macbook pro.
So I've tried:
Reinstall Xcode
Reinstall Simulators
Looking at the console app -> all messages
Tried other Xcode projects
Tried other iOS version simulators
Remove all my plugins
Checking the CPU and Memory loads -> nothing
There is a known bug in the simulator in Xcode 7.1 and 7.2 related to accessibility. When various accessibility introspection tools are enabled, the simulator app performs poorly. I suggest you use the Xcode 7.3 beta or disable the tool that is triggering the issue.
See https://forums.developer.apple.com/thread/24274

Apps built with Xcode 6 don't run on iOS8

I recently updated to Xcode 6 beta 3.
When I run my app in Xcode 6 beta 2 it runs fine. When I run my app in beta 3 on an iOS7 device it runs fine.
However, when I run using beta 3 and iOS8 beta 3, it builds, claims it is running (in the toolbar feedback); and – about 5 seconds after that – it shows "finished running" in the toolbar. The app isn't installed on the phone after all this. There isn't anything logged in the console. Everything from Xcode's side appears fine.
I did manage to install the app the first two times I tried, but never again.
I used a work around invalid virtual filesystem overlay file when the error mentioned in link popped up... but I'm not sure how that is related to this.
I reset everything I can think of, and reinstalled iOS8 on the phone. Nothing seems to fix this problem. Has anyone else run into this?
Seems fixed in later xCode versions.

iPad 2 is not getting detected by xcode4.3

I was able to run my projects in iPad and iPhone using the xcode 4.3 till yesterday. But today when I tried, the XCode is not getting connected with the iPad, and it is getting connected with iPhone.
I have checked the deployment target, provisioning profile, all these things are correct, and working fine in iPhone. In the organizer an orange indicator is showing instead of green symbol while connecting. I have restarted both the system and iPad several times and checked, not get solved.
If anybody having idea about this then please help me.
Just upgrade you Xcode or if you have another computer which contains xcode 4.5, detect your device on that computer this will also detect your device on computer with xcode 4.3.
I also had same problem and this works for me.

IOS Simulator cannot find sdk and the simulated application quit errors

I have been having this Xcode problem for a couple of months where my iOS simulator stops working whenever i run any application on Xcode and says, "The simulated application quit." and "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." I am running Xcode 4.3.3 and have iOS sdk 5.1 and everything updated but it happened on my previous version of Xcode also. I have tried reinstalling Xcode over 10 times now and have been posting this question for a while now. No one has been able to get a solution. I have even sent in a bug report to apple but i don't think they will respond. I have tried doing everything every other person that has this problem has been told to do in other threads. I'm honestly thinking about just buying a new mac and seeing if Xcode will work on that one or taking in my current one to get looked at by apple. So if anyone has any ideas please let me know.
Go to Xcode -> Preferences -> Downloads and make sure the "Target SDK" you have selected in your project is in fact installed under the Downloads windows. For me this magically was uninstalled. Once i installed the SDK that my app was using, all worked again
This worked for me: http://www.colinbowern.com/posts/the-simulated-application-quit
I just deleted the folder "6.1" under ~/Library/Application Support/iPhone Simulator
The I just launched again the app and the simulator recreated correctly the 6.1 folder.
Resetting the simulator settings (iOS Simulator > Reset Contents and Settings) resolved this issue for me.
I had the same issue. For me suddenly all the installed simulators (4.3 through to 6.0) stopped working. I then went to Xcode -> Preferences -> Downloads, and there I had the chance to update at least the 5.0 simulator. This is now working, yet I was not able to get the 4.3 or 5.1 or 6.0 to work.
I have personally experienced a weird thing with xcode regarding this issue. Sometimes the sdk is installed properly but it still gives this error. I have two classes, if I call first class from the app delegate then the ipad simulator works fine but when I call the second class then it gives the error that the sdk needs to be re-installed.
In my case when the error occured, I had two errors in the second class. When I corrected the errors after debugging, the ipad simulator started to work completely fine. This is quite weird but its not the problem with your sdk, the problem is somewhere in the code.
This just happened to me. I tried to launch with iPhone 5.1 Simulator, got the error "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." I tried running iPad 5.1 Sim, which worked. I switched to non-retina iPad. Then I tried running iPhone 5.1 Simulator again, and it worked.

xcode iphone emulator doesn't work

My iphone simulator just doesn't work anymore,whenever i click on build and run i just get nothing but i can see IOS simulator and all of its related options at the top bar (next to the Apple menu),now if go to the Hardware option and change the device to Ipad Or Iphone(ratina) they come on the screen with no problem,its just the normal iphone which wont come at all.
While compiling i dont get any errors or warnings at all ,this problem just started occurring from today morning till last night everything was just fine Xcode version is 3.2.5 .
Thanks.
You should check your iphone-simulator-folder and verify that the IOS-Simulator.app exists
/Developer/Platforms/iPhoneSimulator.platform/
Otherwise update your SDK, this should solve the problem

Resources