Added instructions for deploying to older iOS devices (thanks Sylvain!)
authorSam Lantinga
Fri, 22 Sep 2017 11:13:34 -0700
changeset 115222b3a78025695
parent 11520 fe2afdc5616c
child 11523 56e3705809ff
Added instructions for deploying to older iOS devices (thanks Sylvain!)
docs/README-ios.md
     1.1 --- a/docs/README-ios.md	Fri Sep 22 08:56:09 2017 -0700
     1.2 +++ b/docs/README-ios.md	Fri Sep 22 11:13:34 2017 -0700
     1.3 @@ -266,3 +266,20 @@
     1.4      #endif
     1.5          return 0;
     1.6      }
     1.7 +
     1.8 +==============================================================================
     1.9 +Deploying to older versions of iOS
    1.10 +==============================================================================
    1.11 +
    1.12 +SDL supports deploying to older versions of iOS than are supported by the latest version of Xcode, all the way back to iOS 6.1
    1.13 +
    1.14 +In order to do that you need to download an older version of Xcode:
    1.15 +https://developer.apple.com/download/more/?name=Xcode
    1.16 +
    1.17 +Open the package contents of the older Xcode and your newer version of Xcode and copy over the folders in Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
    1.18 +
    1.19 +Then open the file Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist and add the versions of iOS you want to deploy to the key Root/DefaultProperties/DEPLOYMENT_TARGET_SUGGESTED_VALUES
    1.20 +
    1.21 +Open your project and set your deployment target to the desired version of iOS
    1.22 +
    1.23 +Finally, remove GameController from the list of frameworks linked by your application and edit the build settings for "Other Linker Flags" and add -weak_framework GameController