Xcode 11 can't be installed on macOS Mojave 10.14.6 - ios

This is my first ever post. I am new to programming with zero experience and have signed up for iOS app development course with one of the online education services.
Coming to the question, I have Mojave 10.14.6 on my mac(pro 13 inch 2015) and I'm trying to install Xcode 11 from the App store. The error/popup that I get when clicking on install is below.
"
We Could not complete your purchase.
Xcode can't be installed on "Flash" because macOS version 10.15.2. or later is required.
"
I can't update my macOS to latest(Cataline) version since it is not yet compatible with my company's remote working requirements.
Is there a way that I could install Xcode without updating the OS ?

xcode 11.4.x requires macOS 10.15.2 or later
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_4_release_notes
you can install xcode 11.3.x if you have macOS 10.14.6
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_3_release_notes

Have you tried checking https://developer.apple.com/download/more/? I used it without having a paid developer account (the $99/year) – only signed in with my non-developer Apple ID (just needed to agree to the TOC).
By using this account you will be redirected to the https://developer.apple.com/download/ URL when clicking the downloads button; just add "more" behind it and you can access the file.
I don't think it is worth it paying USD$99 when you are still learning; a lot of people learn ios development without paying the developer account.
Just purchase it when you want to release your first app to the App Store.
I wanted to add a comment to the accepted answer but didn't have the reputation required.

Related

I can't install Apple Developer App on Big Sur 11.7

I want to develop my first iOS app on my MacBook (2013), and (tell me if im wrong) i saw that Apple Developer App is necessary.
The problem is, when I wanna download it on the App Store, it tells me "Developer App cant be installed on “what ever” because macOS 12 or later is necessary".
Can you help me ?
I have to buy a most recent MacBook to have a most recent version of macOS to be able to install Apple Developer App?
Is this app really necessary ?
Is there a trick to install an older version ?
Explain me everything you can please. ://
Ty for your help !
I tried to find an older version of Apple Developer App on the web. I didn't find.
What you mean Apple Developer App is Xcode?
You can find older version of Xcode App in https://developer.apple.com/download/all/?q=Xcode%2012

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.

Invalid Toolchain message even though app not submitted with beta software

I am trying to submit a project to the app store. I accidently opened it in the latest Xcode Beta - but did not save or change anything.
I submitted the app with Xcode 7.3.1 and when I attempt to submit the app for review I get the message: "New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK. Don't submit apps built with beta software including beta macOS builds."
If I check the Info.plist of the archive it also mentions me using the public version of Xcode
<key>DefaultToolchainInfo</key>
<dict>
<key>DisplayName</key>
<string>Xcode 7.3.1 Default</string>
<key>Identifier</key>
<string>com.apple.dt.toolchain.XcodeDefault</string>
</dict>
The Xcode beta version was not open when submitting and I also tried restarting and then resubmitting. Btw I am running El Cap 10.11.6
What can I do to fix this?
Thanks
Did you install yesterday's Security Update? I have a theory, that this update altered the internal version number from 10.11.6 (15G31) to 10.11.6 (15G1004), and they have not added this version number to the list of allowed stable OS builds on iTunes Connect.
Fairly certain it's the Security Update.
I tried the known hack of altering the OS build to 15G31 in SystemVersion.plist, but this no longer seems to work.
Reinstalling Xcode 7.3.1 was also a waste of time.
Luckily I had a machine that I had not yet done Security Update 2016-001 on. Moved the code over there, archived and uploaded, and this went fine.
I got same issue and the issue just got fixed - I have submitted my app for review successfully 5 minutes ago!
It was because iTunes team did not synchronise with latest macOS version security update yet and they finished synchronisation just now!
Please go ahead and try re-submitting your app!
I am seeing this also, there was a recent security update to El Cap that might be related, or Apple is in the process of making changes for iOS10 Xcode 8 and have messed up something.
If you need to submit, I would go ahead and submit and if you get a rejection, explain it to Apple then.
I have uploaded my iOS binary installing El Capitan on a virtual machine, disabling system updates, installing Xcode, importing my developer profile, and building my App there.
I just spent like 2-3 hours downloading the base El Capitan (10.11.6) from the App Store and setting up VMware Fusion to build our project in... including manually regenerating and switching all of the certificates and provisioning profiles twice (to there and back to the host machine).
I can conclude that this does solve the issue because the App Store El Capitan installer does not (yet) include the Security Update, which bumps the macOS build number to one that is NOT whitelisted on iTunes Connect, as some have suggested.
Super frustrating, but at least a solution is available for now. 😖
Check out the Xcode Release Notes and see if your version of Xcode has: "Support for app archives depreciated", like mine did.

iOS 9 Can't install apps

When I try to install an app on iOS 9.0 by tapping an itms-services:// URL in Safari, nothing happens. This appears in the iOS device console:
itunesstored[586] <Warning>: ExternalDownloadManifest: Skipping download and install of: XXXXXXX
This also happens if your device has an App Store version of your app installed, and you try to install an in-house version with the same Bundle ID.
When you do this, the device will simply ignore you tapping on your "Install" button to kick off the OTA install, and silently log that annoying message.
ExternalDownloadManifest: Skipping download and install of: XXXXXXX
Nothing gets displayed on the device, you're left to work out what's gone wrong for yourself.
So the obvious solution is to uninstall your App Store version of your app before attempting to install your in-house version.
Seriously, every year, I waste countless hours creating and deploying OTA apps with Xcode, and the Xcode/iOS error-reporting is non-existant.
It's really Apple at it's very worst.
Elaborating on Mike Gledhill's answer:
I had this problem upgrading from a production build to a newer Ad Hoc build from HockeyApp with the same Bundle ID. This was a security change added to iOS 8.4 and above to prevent the "Masque" attack.
Manifest Masque Attack leverages the CVE-2015-3722/3725 vulnerability to demolish an existing app on iOS when a victim installs an in-house iOS app wirelessly using enterprise provisioning from a website. The demolished app (the attack target) can be either a regular app downloaded from official App Store or even an important system app, such as Apple Watch, Apple Pay, App Store, Safari, Settings, etc. This vulnerability affects all iOS 7.x and iOS 8.x versions prior to iOS 8.4. We first notified Apple of this vulnerability in August 2014.
Source
Official solution from Apple:
You should use TestFlight to test upgrades to your App Store app rather than enterprise distribution.
rdar://22088607
This happens when the version you're installing has a different bundle ID than a version already installed on the device.
Seeing this recently with TestFairy builds when trying to install them on top of an already installed build from the App Store (Xcode 7, iOS 9)
TestFlight builds do upgrade properly however (not surprised).
See also Enterprise App Update Distribution on iOS 8

Xcode Bundle Out of Date

An email from apple to its developers said that you could start submitting apps to them for iOS 7. O I have Xcode 5 DPS Version 5.0 (5A11365x) And it says that the version bundle is to old to accept apps for approval. How will this work now because apple said it all would be possible?
You use developer preview version which does not allow to submit app to app store.
Update your XCode to official 5.0 version. (From Mac App Store).
Hope my answer may help..
Its not must actually even you can still submit your apps with iOS6.x version build with your Xcode 4.6.3.
What they trying to convey in that mail is, they are just letting you know that you can now start submitting iOS7 app because there is whole lot of new thing out there with iOS 7.0 sdk.
When I try to convert my iO6.x version to 7.0 with Xcode 5 i didnt face any problem on building or submitting the app.
In order to submit apps to the App Store, you will need Xcode 5.
Submission to the App Store for iOS 7 requires Xcode (build 5A1413 and above).
If you are using any of the Xcode 5 Betas (including the GM Seed), upgrading is necessary. You can either upgrade through the App Store, or download the .dmg through the Apple Developer Portal at developer.apple.com
Do you have the latest version of Xcode 5, which is now the fully released version on the store?

Resources