LoginSignup
3
0

Xcode15betaをGithub Actionsで配布する方法

Posted at

Xcode15betaをGithub Actionsで配布する対応をご紹介します。

↓参考URL
https://github.com/marketplace/actions/setup-xcode-version

■作業手順

3箇所を15.0-beta用に変更する。

jobs:
  build:
    runs-on: macos-13  1
    timeout-minutes: 60 
    steps:
    - uses: actions/checkout@v2
    - uses: maxim-lobanov/setup-xcode@v1  2
      with: xcode-version: '15.0-beta'  3

上記を導入したら、以下の部分はコメントアウトしました。
ちなみに最初はこの2箇所を変更して配布を試みましたが、バージョンがXcode15に変更されておらず配布は失敗しました。

#     - name: Select Xcode
#       run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    - name: Xcode version
      run: /usr/bin/xcodebuild -version
    - name: Cache Pods
      uses: actions/cache@v2
      with:
        path: Pods
        key: ${{ runner.os }}-${{ hashFiles('**/Podfile.lock') }}
#        xcode-version: '15.0-beta'
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0