We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35e8c5 commit 0df2de9Copy full SHA for 0df2de9
scripts/generate-cocoa-bindings.ps1
@@ -102,8 +102,9 @@ if (!(Test-Path '/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/
102
}
103
104
105
-# Get iPhone SDK version (TODO: fix iphoneos26+ compat)
106
-$iPhoneSdkVersion = sharpie xcode -sdks | grep -v 'iphoneos2' | grep -o -m 1 'iphoneos\S*'
+# Get iPhone SDK version
+$XcodePath = (xcode-select -p) -replace '/Contents/Developer$', ''
107
+$iPhoneSdkVersion = sharpie xcode -xcode $XcodePath -sdks | grep -o -m 1 'iphoneos\S*'
108
Write-Output "iPhoneSdkVersion: $iPhoneSdkVersion"
109
110
## Imports in the various header files are provided in the "new" style of:
0 commit comments