Trying to fix xcode build #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| # - name: Setup .NET | |
| # uses: actions/setup-dotnet@v4 | |
| # with: | |
| # dotnet-version: | | |
| # 9.0.x | |
| # 8.0.x | |
| # 7.0.x | |
| # 6.0.x | |
| # # Using "dotnet workload restore" does not work running on 9.0.300 workloads | |
| # # So we install them manually and hard coded | |
| # - name: Install MAUI workloads | |
| # run: dotnet workload install maui-ios maui-android | |
| - name: Xcode Version | |
| run: xcrun xcodebuild -version | |
| - name: Xcode build | |
| run: xcrun xcodebuild archive -project 'MAUI.Native.Embedded.Sample/Platforms/iOS/MAUI.Native.Embedded.ios/MAUI.Native.Embedded.ios.xcodeproj' -scheme 'MAUI.Native.Embedded.ios' -configuration 'Release' -destination 'generic/platform=iOS' -archivePath 'obj/Release/net8.0-ios/iossimulator-arm64/xcodebuild//MAUI.Native.Embedded.ios-Release.xcarchive' | |
| # - name: Update Xcode Project provisioning | |
| # uses: ./.github/actions/update-provisioning | |
| # with: | |
| # team: '${{ secrets.XCODE_DEVELOPMENT_TEAM }}' | |
| # project: 'MAUI.Native.Embedded.Sample/Platforms/iOS/MAUI.Native.Embedded.ios/MAUI.Native.Embedded.ios.xcodeproj' | |
| # - name: Build | |
| # run: dotnet build --configuration Release -p:DotnetTarget=8.0 ./MAUI.Native.Embedded.Sample/ |