2 Replies
      Latest reply on Feb 28, 2018 3:28 AM by eskimo
      DR Baker Level 1 Level 1 (0 points)

        I have a Question about our code.

        Our current iOS app is written in Xcode 7.3. The newest Xcode version is Swift 4.

        If our app is currently running stable during testing, what risk are we running if we launch our app on the app store without first updating the code and SDK’s to run in the most recent version of Xcode (Swift) ?


        Thanks for the help !

        • Re: Xcode 7.3 App launched in app store before upgrade to Swift
          KMT Level 9 Level 9 (15,485 points)

          Swift is backwards compatible, so the risk is minimal. As long as the Xcode version you're using is still allowed for builds uploaded to the store you can proceed.

          • Re: Xcode 7.3 App launched in app store before upgrade to Swift
            eskimo Apple Staff Apple Staff (13,335 points)

            As KMT said, binaries built with older Swift versions are, in general, compatible with new OS releases.  And, at a purely technical level, there are lots of good reasons not to update your tools just before shipping.

            However, there is one gotcha here, namely App Review requirements.  Every now and again App Review updates its requirements as to the minimum SDK you can use for new submissions.  As the SDK is tied to the Xcode version, and the Xcode version is tied to the Swift version, you may need to update your Swift code accordingly.

            IMPORTANT App Review has just published such a requirement.  See Build Your Apps for iOS 11 and iPhone X for details.

            Share and Enjoy

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