1616 DOTNET_CLI_TELEMETRY_OPTOUT : true # Disable sending .NET CLI telemetry
1717 DOTNET_VERSION : ' 10.0.x' # .NET version to use
1818 XCODE_VERSION : ' 26.1' # Xcode version that supports iOS 26 for dotnet maui build
19- XCODE_VERSION_FOR_WIDGET : ' 26.1' # Xcode version to build the widget extension
2019 IOS_FRAMEWORK : ' net10.0-ios' # iOS framework target
2120 ANDROID_FRAMEWORK : ' net10.0-android' # Android framework target
2221
@@ -219,32 +218,31 @@ jobs:
219218 /usr/libexec/PlistBuddy -c "Set :IFPAApiKey $IFPA_API_KEY" "$WIDGET_PLIST" || \
220219 /usr/libexec/PlistBuddy -c "Add :IFPAApiKey string $IFPA_API_KEY" "$WIDGET_PLIST"
221220
221+ - name : Use Xcode Version For Widget Build
222+ uses : maxim-lobanov/setup-xcode@v1
223+ with :
224+ xcode-version : ${{ env.XCODE_VERSION }}
225+
222226 # Download iOS platform + simulators if missing
223227 - name : Install iOS platform + simulator runtime
224228 run : |
225229 xcodebuild -downloadPlatform iOS
226230 xcrun simctl list runtimes
227231
228- - name : Use Xcode Version For Widget Build
229- uses : maxim-lobanov/setup-xcode@v1
230- with :
231- xcode-version : ${{ env.XCODE_VERSION_FOR_WIDGET }}
232-
233232 - name : Build RankWidgetExtension
234233 run : |
235- xcodebuild \
236- -project NativeIFPA/IFPA.xcodeproj \
237- -scheme RankWidgetExtension \
238- -configuration Release \
239- -sdk iphoneos \
240- -derivedDataPath NativeIFPA/DerivedData \
241- CODE_SIGN_STYLE=Manual \
242- CODE_SIGN_IDENTITY="iPhone Distribution: Ed Giardina (KH5JKUPW2Q)" \
243- CODE_SIGN_ENTITLEMENTS=RankWidgetExtension.entitlements \
244- DEVELOPMENT_TEAM=KH5JKUPW2Q \
245- PROVISIONING_PROFILE="$WIDGET_PROVISIONING_UUID" \
246- MARKETING_VERSION=${{ env.VERSION }} \
247- CURRENT_PROJECT_VERSION=${{ env.VERSION_NUMBER_WITH_OFFSET }}
234+ xcodebuild \
235+ -project NativeIFPA/IFPA.xcodeproj \
236+ -scheme RankWidgetExtension \
237+ -configuration Release \
238+ -destination 'generic/platform=iOS' \
239+ -sdk iphoneos \
240+ -derivedDataPath NativeIFPA/DerivedData \
241+ CODE_SIGN_STYLE=Manual \
242+ CODE_SIGN_IDENTITY="iPhone Distribution: Ed Giardina (KH5JKUPW2Q)" \
243+ CODE_SIGN_ENTITLEMENTS=RankWidgetExtension.entitlements \
244+ DEVELOPMENT_TEAM=KH5JKUPW2Q \
245+ PROVISIONING_PROFILE="$WIDGET_PROVISIONING_UUID"
248246
249247 - name : Setup .NET
250248 uses : actions/setup-dotnet@4d4a70f4a5b2a5a5329f13be4ac933f2c9206ac0
@@ -259,11 +257,6 @@ jobs:
259257
260258 - name : Restore nuget packages
261259 run : dotnet restore IfpaMaui.csproj
262-
263- - name : Use Xcode Version for Maui iOS Build
264- uses : maxim-lobanov/setup-xcode@v1
265- with :
266- xcode-version : ${{ env.XCODE_VERSION }}
267260
268261 - name : Publish iOS App
269262 shell : bash
0 commit comments