LoginSignup
1
1

More than 3 years have passed since last update.

fastlaneで管理している場合にSign In with Appleの権限を追加する

Posted at

結論

fastlane側にコマンドを追記して実行かと思っていたが、Developer Centerで権限を操作してprovisioning profileを再取得するだけだった。。。

手順

環境

Xcode: 11.1.0
fastlane: 2.145.0

Xcodeで権限追加

Signing & Capabilitiesで権限を追加

スクリーンショット 2020-05-01 11.38.05.png

Developer Centerで権限追加

Identifiers > 変更したいものを選択 > Sign In with Appleにチェック

スクリーンショット 2020-05-01 11.40.06.png

保存する際に以下のダイアログが出るのでconfirm
(ここで再生成されるって言ってますね。。。

スクリーンショット 2020-05-01 11.42.21.png

fastlane

provisioning profileを取得し直す

    desc "Renew develop provisioning profile."
    lane :force_develop do
        match(
            type: "development",
            app_identifier: app_identifier,
            force: true
        )
    end

コマンドを定義しておき実行するだけ。

1
1
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
1
1