File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ if (!(Test-Path '/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/
106106$XcodePath = (xcode- select - p) -replace ' /Contents/Developer$' , ' '
107107$iPhoneSdkVersion = sharpie xcode - xcode $XcodePath - sdks | grep - o - m 1 ' iphoneos\S*'
108108Write-Output " iPhoneSdkVersion: $iPhoneSdkVersion "
109+ $iPhoneSdkPath = xcrun -- show-sdk - path -- sdk $iPhoneSdkVersion
110+ Write-Output " iPhoneSdkPath: $iPhoneSdkPath "
109111
110112# # Imports in the various header files are provided in the "new" style of:
111113# `#import <Sentry/SomeHeader.h>`
@@ -168,7 +170,8 @@ sharpie bind -sdk $iPhoneSdkVersion `
168170 " $HeadersPath /Sentry-Swift.h" `
169171 " $PrivateHeadersPath /PrivateSentrySDKOnly.h" `
170172 - o $BindingsPath `
171- - c - Wno- objc- property- no- attribute
173+ - c - Wno- objc- property- no- attribute `
174+ -F " $iPhoneSdkPath /System/Library/SubFrameworks" # needed for UIUtilities.framework in Xcode 26+
172175
173176# Ensure backup path exists
174177if (! (Test-Path $BackupPath ))
You can’t perform that action at this time.
0 commit comments