10 Replies
      Latest reply on May 22, 2019 5:23 AM by bsabiston
      DJHarter Level 1 Level 1 (0 points)

        Does anyone know if Xcode 10.1 can still be used for app production deployment on latest iOS 12.2 release?

        I am working on an older MacBook Air (High Sierra) which cannot be upgraded to run macOS Mojave.

        The latest Xcode version 10.2 can only be installed on a Mac with Mojave running.

         

        Before I update my development iPhone to iOS 12.2, I would like  to know if I can stiil continue to develop with XCode 10.1 and then install on my development device running iOS 12.2.

         

        Any help is much appreciated.

        • Re: Xcode 10.1 for app deployment on iOS 12.2?
          KMT Level 9 Level 9 (14,355 points)

          I would not expect Xcode 10.1 to know what to do w/iOS 12.2 proper.

          • Re: Xcode 10.1 for app deployment on iOS 12.2?
            eskimo Apple Staff Apple Staff (11,475 points)

            It shouldn’t come as a surprise that executables built with Xcode 10.1 can be run on iOS 12.2; that’s what all current App Store apps are doing.  However, you are going to run into practical problems:

            • Xcode 10.1 can’t use the iOS 12.2 SDK, so you won’t be able to use any newly-added APIs.  I haven’t had a chance to take an in-depth look at the iOS 12.2 SDK yet, so I don’t know if that’s a significant issue.

            • Xcode 10.1 won’t be able to install, test, or debug on an iOS 12.2 device.  Once you update your test device to iOS 12.2, you won’t be able to do on-device (automated) testing or debugging.  You can still do manual testing by building an .ipa and installing that using iTunes.

            • Eventually App Review will require that apps be built with the iOS 12.2 (or later) SDK [1], at which point you won’t be able to submit your app to the store.

            So, for the short term you should be OK.  However, this situation is going to be untenable in the long term )-:

            Share and Enjoy

            Quinn “The Eskimo!”
            Apple Developer Relations, Developer Technical Support, Core OS/Hardware
            let myEmail = "eskimo" + "1" + "@apple.com"

            [1] There’s no announced timeline for this yet but, just as a data point, App Review starting requiring the iOS 12 SDK a few days ago.

              • Re: Xcode 10.1 for app deployment on iOS 12.2?
                bsabiston Level 1 Level 1 (20 points)

                Can't you just drag the device platform files into the appropriate folder within XCode 10.1?  I hate when they suddenly start requiring the next whole OS version to debug on your phone, during a minor update like 12.1 -> 12.2.  I always get burned by that.

                  • Re: Xcode 10.1 for app deployment on iOS 12.2?
                    eskimo Apple Staff Apple Staff (11,475 points)

                    Can't you just drag the device platform files into the appropriate folder within XCode 10.1?

                    Regardless of whether this works or not, it’s not a supported configuration and hence not something I’d recommend.

                    Share and Enjoy

                    Quinn “The Eskimo!”
                    Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                    let myEmail = "eskimo" + "1" + "@apple.com"

                • Re: Xcode 10.1 for app deployment on iOS 12.2?
                  Dreammaster Level 1 Level 1 (0 points)

                  I am struggling to find a solution to this problem too. XCODE 10.1 has a maximum deployment target of 12.1 and as of my updating my ios device to 12.2, xcode will no longer install to my ios device. It is impossible to "downgrade" ios to a previous version so it seems that only a patch or an update to xcode will solve this problem.

                    • Re: Xcode 10.1 for app deployment on iOS 12.2?
                      bsabiston Level 1 Level 1 (20 points)

                      Dragging the device platform files over to XCode 10.1 worked for me.  It's not a supported configuration -- but we wouldn't have to do it if Apple showed more care about when they were going to require people to switch to a whole nother operating system,

                        • This reply has been hidden. This can happen if the message has been hidden by a moderator, or has been reported as abusive.
                          • Re: Xcode 10.1 for app deployment on iOS 12.2?
                            bsabiston Level 1 Level 1 (20 points)

                            If you google it you will find the answer easily enough.   I think these forums are kind of jerky about posting links, but I am looking at a SO post entitled "Xcode Missing Support Files iOS 12.2 (16E227)" which answers it.  There are some others out there too.

                            But basically I think you just download the right platform files and copy them to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

                      • This reply has been hidden. This can happen if the message has been hidden by a moderator, or has been reported as abusive.
                        • Re: Xcode 10.1 for app deployment on iOS 12.2?
                          bsabiston Level 1 Level 1 (20 points)

                          Look at my answer, it works fine.  I used 10.1 to deploy to my 12.2 phone yesterday.

                            • Re: Xcode 10.1 for app deployment on iOS 12.2?
                              byxx Level 1 Level 1 (0 points)

                              THX!

                              dragged iPhoneOS.Platform > Device Spport >12.2 folders over into Xcode 10.1. , but in Xcode AppName>General>Deployment Info only shows"12.1" as a latest entry. Any further actions required? Terminal etc?

                               

                              Maybe there is something to do with the simulator folder´s deployment, too, or so?

                               

                              Folders of Mine from Xcode 10.2 have some extension "12.2 (16E226)". Change to "12.2" only before integrating into xcode 10.1?

                               

                               

                              THX!

                              BX

                                • Re: Xcode 10.1 for app deployment on iOS 12.2?
                                  bsabiston Level 1 Level 1 (20 points)

                                  Well, I don't know about the deployment target, that might not go any higher than 12.1.  Do you really need a 12.2 target?  My deployment target is iOS 8 - I always want to target the widest range of devices possible .I thought you just wanted to test apps on your 12.2 phone.  If you actually want to use features that are only in 12.2, it might not work.