ios app works on device but not in the simulator - ios

I rename the iOS project, after rename I update the Mac OS 10.11 to 10.12, Xcode 8.2 to 8.3. Now I run the project in device which is works fine with new app name. Where as it fails in simulator, simulator remains in booting process long time. Please suggest any solution.

Related

Failed to prepare device for development error when deploying app

I am trying to run my app on a physical device. The applicaiton builds but it doesnt deploy my app to the device.
I get this following error:
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.
Details:
I have xcode version 13.2.1
device is iphone 11 pro max with ios version 15.6 installed.
I tried to upgrade my xcode to 13.4.1 but on app store there is no button that indicates that i can upgrade.
Things I have tried:
restarting mac
restarting iphone device
closing and reopening xcode
cleaning project and rebuilding.
Any help will be appreciated.
Download xCode 13.4.1 directly using the link
https://download.developer.apple.com/Developer_Tools/Xcode_13.4.1/Xcode_13.4.1.xip

how to run iOS simulator 10.3.1 on Xcode 12.4?

currently we are developing a flutter app with flutter SDK 1.20, we are sticking to version 1.20 due to some outdated packages we use.
after some googling we found that we still can open a debugging session on iOS simulators 10.3.1,
we are using Xcode 12.4 and when we try to add a new simulator and try to download a new OS version, we downloaded iOS simulator 10.3.1 and its added in Library/Developer/CoreSimulator/Profiles/Runtimes as iOS 10.3.simruntime
but unfortunately its not appearing when we choose to install an OS version on a new iOS simulator.
all we can choose are these simulators only...but 10.3.1 not showing:
how can we choose iOS simulator 10.3.1?
did you somehow fix this problem?
Regards

Xcode 12.3 couldn't install app on iOS 14.3

I've updated my iPhone to iOS 14.3 and it required me to update Xcode to 12.3 too. But Xcode now gives me the following error whenever trying to run/debug the app through the device.
Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.
I tried restarting Xcode, reconnecting the device, changing deployment target etc. with no luck.
if you updated you iOS to latest beta version, you should also use latest Xcode beta version.
Or else restart your device.

How to test IOS 6 on XCode 7 El Capitan?

I am not an IOS developer. I have a Cordova app with two small errors on IOS6. The app has been compiled in Xcode 7.2 on El Capitan usign the following configuration:
The app compiles and works ok on an IPhone 3GS device running IOS 6.1.6; however, our customer has found some errors on an IPhone 4 running IOS 6.0.
I don't have any device like that. I tried to install an old version of the simulator that crashed my XCode so I had to reinstall it.
Then I decided to try on a Mountain Lion virtual machine running XCode 4.5. I copied the project and tried to execute it to find this error:
Failed to load project at '/Users/holamundo2/Desktop/IOS_original/isosmed/platforms/ios/holamundo2.xcodeproj', incompatible project version. I don't know how to make the project "compatible".
Finally, I even tried wildly to copy from the simulator in El capitan to the simulator in the Virtual machine. Obviously, it didn't work either.
So I have two questions:
1. How can I change an Xcode project created from XCode 7 to one I can run from my virtual machine?
2. Is there any other way to copy/paste one simulator image to another in order to run the application?

Unable to boot iOS simulator

I am using MAC OSX YOSEMITE 10.10.3 with Xcode 6.3.2 configuration.
When i am going to run app on iOS simulator, it shows me unable to boot iOS simulator.But with device it works fine.
Can any one help me here, I had tried so many thing as googled. But not getting any solution.
Reinstalled Xcode 2 times also.

Resources