2 Replies
      Latest reply on Jul 11, 2019 11:25 PM by eastlake
      eastlake Level 1 Level 1 (0 points)

        New xcode / ios programmer here, so this is a very newbie question


        Getting xcode to work, I have a very basic "hello world" program, built successfully in xcode11 and uploaded to my iPhone7+ running IOS13 Beta and it all works great.


        If I try to load it on an iPhone running 12.3, it seems the compiler is loading 13.0 libraries so many of the calls are not working.  I set the deployment target to 12.3 under both the "info" and "build settings" area - is there somewhere else I need to make a change?  I assumed it would be easy to write a program, then compile under different versions of IOS (within reason).  


        Thanks in advance



        • Re: Compiling for a previous IOS version
          KMT Level 9 Level 9 (14,815 points)

          Using an Xcode that supports iOS13.x b means you're obligated to support it. Making an app that doesn't complain when other OSs are in the mix is on the dev....you, but yes, within reason. 'within' in this context is the deep end of the pool, especially when you're new.


          My advice is that unless you specifically want an app that attempts to support a beta iOS is to stick with release tools until you become more familiar. The beta tools are meant to allow devs to sneak peek their apps against an upcoming public OS release. You risk making things harder on yourself if this is your first rodeo, otherwise.


          If you insist on pressing ahead, you'll need to show the calls and errors if you want detailed help - something more specific than 'not working'. Be sure to bias what you're seeing against the beta's release notes so you don't waste time tail chasing, etc.


          Good luck.