1 Reply
      Latest reply on Oct 13, 2019 6:28 AM by eskimo
      WatchDev2015 Level 1 Level 1 (0 points)

        Hello all:


        I am working on a POC and require a framework file compiled by a hardware manufacturer, which was compiled in Swift 4, and so I have to work on the project in Xcode 10.2 (I think). I can run in the simulator OK, but when I try to run on my iPhone i get a message:


        "Could not locate device support files. This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS 13.1.2 (17A860), which may not be supported by this version of Xcode."


        Can anyone suggest an idea? I thought about recompiling the framework in the latest version of XCode, but I guess I need the source for that? Is it possible to install the files needed for this iPhone to XCode 10.2?


        Thanks in advance for any and all input.



        • Re: "Could not locate device support files. This iPhone 8 (Model A1863,
          eskimo Apple Staff Apple Staff (12,015 points)

          To debug a program on a device running iOS 13 you need Xcode 11.  That includes Swift 5.2, and thus is incompatible with this third-party framework.

          The best way forward here is to nag the third-party framework’s author to create a more up-to-date version of their framework.  Now that Swift supports both binary and module stability, this new version of their framework should be able to support Swift 5.2 and all future versions of Swift.  Yay!

          If your nagging efforts are unsuccessful, your options are rather limited.  One possibility is to build the app, export it as a .ipa, and then install the .ipa using the Devices and Simulators window (or iTunes).  You won’t be able to debug, but you can at least run the app that way.

          Share and Enjoy

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