LoginSignup
3
4

More than 3 years have passed since last update.

bitriseでiOSアプリをビルドしたときのメモ

Last updated at Posted at 2019-10-18

アカウント連携

Add New App

[iOS] Bitriseを導入する手順について | DevelopersIO

error: No profiles for 'xxxxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'xxxxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'xxx')

と言われたので、AutoProvisionのワークフローを挟んでみる。

Auto Provision

Certificate and profile installerステップがワークフローの中に含まれていないか確認してください。もしiOS Auto ProvisionとCertificate and profile installerのステップの両方がワークフローの中に含まれていた場合はビルドは失敗します。

Bitrise Docs

らしいので、Certificate and profile installerステップは消しておく。また、プロジェクトで Automatically manage signing を使っている場合、ワークフローエディタで Should the step try to generate Provisioning Profiles even if Xcode managed signing is enabled in the Xcode project?にチェックを入れる。

BitriseのiOS Auto Provisionを導入してAdHoc配信のためのUDIDの更新作業をブラウザ上でぽちぽちするだけで完結させる話 - Qiita

Please open your project in your local Xcode and generate and ipa file with the desired distribution type and by using Xcode managed codesigning.

と言われたのでローカルでアーカイブを作成する
色々差分が出たのでgit pushする
だいぶ待ってでけた

SlackにダウンロードURLを流す

Bitriseでビルド完了時にSlackに投稿するまで - Qiita

インストールページのQRコードも入れたい

  • Create install page QR codeステップをSend a Slack messageの前に追加
  • 生成された $BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URLA URL to an image file that will be displayed inside the attachmentに入れておく
3
4
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
4