diff options
author | Sam Lantinga <slouken@libsdl.org> | 2017-09-22 11:13:34 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2017-09-22 11:13:34 -0700 |
commit | 522230f45b692646720efb6be15e791e30b9e031 (patch) | |
tree | 0ff535a754f30b2563e89759491fc30e7272257a /docs/README-ios.md | |
parent | 9d23724a6028dc1c47a380b6383475f1049d9bb5 (diff) | |
download | sdl-522230f45b692646720efb6be15e791e30b9e031.tar.gz |
Added instructions for deploying to older iOS devices (thanks Sylvain!)
Diffstat (limited to 'docs/README-ios.md')
-rw-r--r-- | docs/README-ios.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/README-ios.md b/docs/README-ios.md index f7266f97d..18c4bc066 100644 --- a/docs/README-ios.md +++ b/docs/README-ios.md @@ -266,3 +266,20 @@ e.g. #endif
return 0;
}
+
+==============================================================================
+Deploying to older versions of iOS
+==============================================================================
+
+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
+
+In order to do that you need to download an older version of Xcode:
+https://developer.apple.com/download/more/?name=Xcode
+
+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
+
+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
+
+Open your project and set your deployment target to the desired version of iOS
+
+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
|