Cordova and Xcode compatibility on old Apple Hardware - ios

I'm currently developing a mobile app using Cordova on Windows and Android, and I'd like to test it on Apple devices. I purchased a refurbished 2011 MacBook and an iPhone 6s cheaply in order to do this, but I'm running into frustrating compatibility issues regarding XCode. The MacBook can support OS X up to El Capitan, which can support XCode 9.1, but the iPhone, which has automatically upgraded to iOS 13.3, needs a newer version of XCode to compile to it, it seems. I can't find a way to downgrade the phone to an older version of iOS (apparently the current version cannot be jailbreak-ed) and as a result I can't write apps to the phone.
Anyone have any suggestions? I'm aware of device-emulation services like Browser Stack, but I'd like to find a solution that uses the technology I've already bought before I pay for a new service.

Related

Apple compatibility Issues

I have a macbook air 2014, with the operation system sierra. I have been advised not to update it by apple, as the higher OS might not be compatible with the HW of the device . I want to develop ios apps.
So I have downloaded flutter 1.22, and x-code 9.2(higher versions are not compatible with the current MAc os )
but flutter requires minimum version of 11 for x-code
I thought of downloading an older version of flutter that would be compatible with the existing x-code
but then somewhere i read apple store won't support any ios app that is been render from an x-code below the version 11,
seriously! is that correct ?
and if so, what shall I do now with these compatibles issues, any suggestion would be appreciated !
Here you can see even latest unreleased macOS Big Sur is supported by devices until Macbook Air 2013.
I don't know who or how they told you to not to update your operating system because this is quite opposite of what Apple suggest in general.

Can't publish iOS app - Not supported version (SDK → Xcode → OS)

I bought a 2011 Mac just to publish an iOS app to the App Store. But, it turns out that I can't publish using the currently installed OS. Is there anything I can do to fix it?
I execute Xcode → Product → Archive, then upload to store and get the following error:
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
An unknown error occurred.
So I downloaded Xcode 10.1 but it's not supported with my OS.
Xcode can’t be installed on “1111” because macOS version 10.14.3 or later is required.
So I download macOS Mojave 10.14.3, but when trying to install it, I get the following error:
This software is not supported on your system.
Please tell me there is a simple solution for this. It doesn't make sense that if you have an old computer you can't publish iOS apps anymore.
I have a Early 2011 15" MacBook Pro.
Xcode 10.1 works with macOS 10.13.x (where x is 4 or 5 I think). Your 2011 MacBook Pro can run macOS 10.13. Once you have macOS 10.13.x (where x is whatever the latest version is), you can use Xcode 10.1 and you can then build and submit your app to the App Store.
Keep in mind that this setup may only be good for another year depending on when Apple requires apps to be built with Xcode 10.2 or later which will require macOS 10.14 or later which your 2011 MacBook Pro doesn't support.
It doesn't make sense that if you have an old computer you can't publish apps anymore.
Yes, it does make sense. Apple likes to have everyone keep current. They sell software and hardware. They want you buying up-to-date hardware and using up-to-date tools. They want you keeping your apps up-to-date to take advantage of new features. This benefits the end user which should be your primary focus.

How can Delphi be used to develop iOS apps if the iOS devices are running the latest iOS version?

The idea of using Delphi to develop a mobile app is appealing to us because we can do Android, iOS and Windows without duplicating work. Delphi is also a language that we are familiar with. However after trying to get a simple test app running on an iPad, I do not think it is actually realistic. Here are my observations:
The iPad is running iOS 12.0.1 (and iOS 12.1 is already downloaded and ready to install).
Xcode, which runs on the mac, is used by Delphi for building apps and deploying them to the test target. Each Xcode version supports exactly one iOS SDK version and is the Xcode version plus 2. My old Mac is currently running xcode 8.2.1 so that corresponds to iOS SDK 10.2, which should run on iOS 10.2 and higher.
Delphi Tokyo supports iOS SDK versions from 8.0 up to 11.3 (so Xcode 6 to 9). It will not compile apps using SDK 12. The Xcode version running on the mac fits squarely within this range of versions.
It appears that Xcode is not able to properly support iOS versions that are newer than itself. When trying to run the application it errors out with "unable to location DeviceSupport directory for the connected device. Please check Xcode installation path and run Xcode devices". Under "Devices" the following is displayed for the iPad: "This iPad mini2 is running iOS 12.0.1, which may not be supported by this version of Xcode".
So, it would appear that the latest Xcode version is required to support the iPad running iOS 12.x but that means that Delphi cannot compile for it because it only goes up to SDK 11.3 and not 12. I do not think it is possible or sensible to downgrade the iPad iOS. Also even if we get a Delphi version that works, the next iOS update will require a new Xcode and therefore a new Delphi version that isn't even available. When the new Delphi version is finally available it will already be obsolete since iOS will have already moved on.
Please correct me where I am wrong. Because this cannot surely be the state of things.

Can I write an iOS app with OSX 10.5?

I'm trying to write an app for my own use on my iPhone (iOS 6.0). Unfortunately I'm also traveling with my OSX 10.5 laptop with Xcode 3.1.4 loaded. Is there any way to run an app built with this xcode on my iPhone? I don't need any feature from a recent iOS and there are plenty of old apps that run just fine and were probably developed with old Xcode versions, but I always get an amber button indicating the iPhone iOS isn't supported when I hit build and run.
The oldest version of xcode that can develop for iOS 6 is xcode 4.5, and for running xcode 4.5 you need to have MAC OS 10.7.4 or later version
Sorry man, You can't.
You need Xcode4 and Lion for iOS6 development.
EDIT:
Now(2014 AD) Apple doesn't allow any app developed using below Xcode 5, so you need to have Xcode 5.
No. To develop for a modern iPhone, you need an Intel mac, and I doubt that a laptop with 10.5 is an Intel Mac (or that 10.5 even supports x86). Also, Xcode versions are correlated to API versions, if you haven't noticed, so even if possible, you'd probably only be able to use the 3.0 APIs, which are now not even usable because of the multitasking introduced in 4.0.
Short answer: No.

Xcode 4.3 developer preview 2: Compatibility with older iOS SDKs

I work in a testing company and use xcode for obtaining crash and console logs for testing purposes.
I currently have Xcode 4.2 released version (4C199) on a Snow Leopard (10.6.8).
I have apple devices ranging from iOS 3.1.3 till 5.1 beta 2. But on current version of Xcode, I cannot obtain logs from the iOS 5.1 beta 2 device. Rest of the devices show console logs without any problem.
My question is,
After i upgrade to Xcode 4.3, will it still be possible to obtain logs without any compatibility related errors from devices with older iOS versions like 3.1.3 or 4.2.1?
I am not sure and we shouldn't discuss beta specifics outside of Apple's developer forums, but I know what you can do in general to avoid compatibility issues with new versions. Whenever I install an Xcode beta I install it in a custom directory (other than Developer) so that my old and new versions can coexist.

Resources