Xcode "Could not allocate a resource” when running on device - ios

I just updated my iMac 2009 to Yosemite and updated to Xcode 6.4 (I haven't used this computer for ~1 year). Everything seems to work fine when i build to the simulator, but if I plug in my iPhone or iPad and try to build to the device I immediately get an error that says "Xcode encountered an error. Could not allocate a resource."
I tried the suggestions here, and a bunch of variations on it, but nothing fixed it for me: Xcode error when running on device: "Could not allocate a resource"
Update:
I'm using an iPhone 5 on iOS 8.4 and iPad Air on 8.3. The alert is a pop-down thing in Xcode. Here's a screenshot.
I should add that running the same code+same version of Xcode+same devices on my laptop (rMBP 2013) works fine

Related

Xcode 7 no internet available error after updating

hello guys
i have developed an app on xcode 6.4, it was working fine. after updating to xcode 7, i get the no internet connection available. the safari in the simulator is working however the app isn't recieving any connection
so i tried to go back to xcode 6.4 and thought of publishing my app to itunesconnect through it, but i get embedded.mobileprovision error, even though its there.
im basically stuck atm
Device information:
Macbook pro
osx 10.0
xcode 7 and 6.4
any suggestions?

Could not find developer disk image

I am using xcode 7.1 (7B91b). I connected my iPad OS version 9.2 to my macbook, then, I selected my iPad in xcode & run my iOS project. But xcode pops up an error "Could not find Developer Disk Image".
How to get rid of this problem & having my project running on my iPad?
I think that you have to update XCode - most times I got this error was when I updated device but didn't update XCode.
My xcode is 7.2 for 9.2 iOS.

Xcode 6.4 simulator freezes sporadically

My simulator (any iOS version) can sporadically freeze any application I work. Tried "Reset content and settings" option on simulator. Clean my projects derived data in Xcode version 6.4 and so on. Simulator keeps freezing sometimes and I need to restart the application then it works for a while. Mac OS X version 10.10.5. I tried Xcode 7 beta 4 before this problem appears however this happen on another mac where no any beta system was installed. Thanks in advance

Xcode cannot run using the selected device error in iOS 8

I tried to run my iOS app on iPhone 5 using Xcode, but when I connected it, the iPhone didn't show up in the top-left selection pane. And also when I ran the app from within Xcode, the error: Xcode cannot run using the selected device error occurred.
After that, I found that my iPhone was not even found in the organizer; it was there previously. However, after upgrading my OS X to Yosemite beta and iPhone to iOS8 (officially released version of iOS 8), everything doesn't work any more...
The last time I was able to run my apps on iPhone is 5 months ago, so I'm not sure when there's something wrong occurred during the period...
I cleaned and rebuilt the app, and restarted Xcode, but nothing worked.
I also confirmed that I use Default compiler in Build Options's compiler settings.
So what am I missing?
I had same problem. Problem is that your xcode is running on v.5 and there is no option to choose iOS 8 as device system. Try to update your xcode over appstore to v.6

Xcode 6 Beta 3: Simulator Issue

I am currently experiencing problems launching the Xcode 6 Beta 3 Simulator. Once I launch the IOS Simulator the error "Unable to boot the IOS Simulator." appears. Following the IOS Simulator error, I then get an error from xcode reading "Unable to run app in Simulator An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)".
I went to Xcode/preference/Downloads with intentions of seeing a IOS 8.0 Simulator but there was none. Could this be the problem? Am I suppose to have a IOS 8.0 Simulator? If so can someone direct me how to get it? Also, under the "Downloads" tab in Xcode preference I do see IOS 7.0 and 7.1 Simulators and both work fine with Xocde 5.
Reset Content and Settings in iOS Simulator, close it, and then build again.

Resources