React Native: Can you change iOS version for given emulator? - ios

For my React Native app, one user has two devices, both iPhone 11 Pro, but one running iOS 14 and the other iOS 15. They're reporting a bug that occurs on only the iOS 15 one. I know how to get an iPhone 11 Pro emulator running from XCode, but is there a way to specify the iOS version on that emulator?

Yes, this is possible using XCode.
Open the simulator dropdown,
Click on Add additional simulators.
Then, click on the + for adding a new simulator. You can choose the iOS Version as well as the device. You can download old iOS versions as well and set them for the newly created simulator.

Related

UIPageControl allowsContinuousInteraction

UIPageControl has a new way of changing a page, it's called continuous interaction, which is available in UIKit 14 and above.
I would like to know, if this behavior will be enabled in apps compiled against SDK 13 but launched on devices with iOS14 (after update from iOS 13)
Updated:
I don't have a device which I can update to iOS14
Updated:
I have Xcode 12. But the simulator is under iOS14 and I have to recompile the app, sdk 14 will be used, to install it on iOS14 simulator
I want to simulate a case when a user open, an app compiled with sdk13, on his devices after updating to iOS14
I have Xcode 12. But the simulator is under iOS14 and I have to recompile the app, sdk 14 will be used, to install it on iOS14 simulator I want to simulate a case when a user open, an app compiled with sdk13, on his devices after updating to iOS14
You're doing it wrong. Build the app with Xcode 11 and locate the built app in the Finder. Switch to the Xcode 12 Simulator running iOS 14 and drag that app onto it. The app runs and now you can see how it behaves.
Alternatively, you can use Xcode 11 directly with an iOS 14 simulator. See https://developer.apple.com/videos/play/wwdc2019/418/ starting at minute 12:28 for instructions.
[And the answer is... No, an iOS 13 app running on iOS 14 doesn't have continuous interaction enabled. It behaves like iOS 13.]

Test build on iOS 10 rather than iOS 9

I want to ask that I create an app which is running on latest iOS version. But when I am checking that app on other device which has iOS version 9.3.5 (iPod touch) can be run or not. Because it is showing an error ("The iOS version didn’t install, says not compatible"). Do I need to update my iOS or this is any other issue ?
Have you checked the Deployment Target of your app
It should be below iOS 10.x version in order to make things running below iOS 10 version devices. Make that iOS 9.0 and it will work fine on all iOS 9.x devices.

Run old app on iOS 10

I have an old application, developed using xCode 6.
I would like to build it and run it on iOS10 without converting the code to a new version of Swift (as it seems taking too long).
Strangely, I am able to run the app on an iPad with iOS 10.0.1 but not on my iPhone which has iOS 10.0.2.
For my iPhone i get ineligible device from the Product>Destination menu.
Does anyone know why?
Thank you

Today extension work properly on ios 8 but in ios 7 and above

I have added today widget in my app. it shows today notification in app on ios 8 properly.
but when i tried to run my app on ios 7. its not showing notification in today.
as per my research on google my device is not jailbroken.
both the target (app target and extension target) set 7.1.
also when i tried to run extension on ios 8 it run properly.
whenever i tried it on ios 7. cancel run without any error.
I have checked other demo app also. all app work on ios 8 but not on ios 7.
same result for that app also.
appreciate for help
Today extensions are a feature new in iOS 8. They are not supported in iOS 7.
https://developer.apple.com/app-extensions/
App extensions give users access to your app’s functionality and content throughout iOS 8 and OS X Yosemite

Run iOS Apps on iPhone with iOS 8 through XCode

My iphone is currently running ios 8. When I try to run apps through XCode on my phone I get this error message:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
In XCode under deployment target, there is no option for 8.0 (iOS 8) and the app will not run on my phone.
Is there an SDK I need to download for xcode?
Any help is greatly appreciated.
You need to download Xcode 6, which includes the iOS 8 SDK. You would download this from the Apple developer site, where you downloaded the iOS 8 Beta image from.
https://developer.apple.com/devcenter/ios/index.action
Xcode 5 knows nothing of the existence of iOS 8. You're going to need to get Xcode 6 from this page (direct link) if you want to run apps on your iOS 8 device.
Note that the direct link is only good for the version of Xcode 6 shipped alongside iOS 8 Beta 2. I have no idea what it will do when we get to Beta 3.
The way I got it to work was:
close all instances of Xcode.
open the Xcode 6-Beta
open Xcode 5 so both Xcode's are running at the same time
close Xcode 6-Beta, and after doing that, Xcode 5 will recognize your device as a capable one and you'll be able to deploy to your iOS 8 phone.
The reason you need Xcode 5 is because you won't be able to submit iOS 7 apps to the app store from Xcode 6, it'll give you an error so you need to use Xcode 5.

Resources