Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] [macOS] Prompt dev to create symlink to platform SDK with expli…
…cit version if it doesn't exist. Starting in Xcode 15.0.1, the SDK directories no longer have a directory with an explicit version number. For example: Before 15.0.1: - MacOSX.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs Sub-directories: - MacOSX.sdk - MacOSX14.0.sdk - iPhoneOS.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs Sub-directories: - iPhoneOS.sdk - iPhoneOS17.0.sdk - iPhoneSimulator.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs Sub-directories: - iPhoneSimulator.sdk - iPhoneSimulator17.0.sdk After: - MacOSX.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs Sub-directories: - MacOSX.sdk - iPhoneOS.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs Sub-directories: - iPhoneOS.sdk - iPhoneSimulator.platform: Root platform dir: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs Sub-directories: - iPhoneSimulator.sdk The initialization of XcodeConfig checks for the SDK directories with an explicit version name. If it doesn't exist, the developer is prompted to create a symlink. This isn't explicitly run in case `sudo` is needed.
- Loading branch information