Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use appstore connect key for CI #6294

Merged
merged 4 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/macstadium-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ jobs:
xcodebuild -workspace ios/Rainbow.xcworkspace -scheme Rainbow -configuration Release -sdk iphonesimulator -derivedDataPath ios/build
APP_DIR=$(find . -name "*.app" | head -n 1)
cd $APP_DIR && zip -r ../../../../../../App.zip .
- name: Set up Appstore Key
run: |
cp ~/appstore/AuthKey_63N65C2G2S.p8 ios/fastlane/AuthKey_63N65C2G2S.p8

# TOPHAT iOS DEVICE
- name: Build the app in release mode for iOS devices
Expand Down
8 changes: 8 additions & 0 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ platform :ios do
desc "Create new build for iOS devices in release mode"
lane :build_device do

api_key = app_store_connect_api_key(
key_id: "63N65C2G2S",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗 👑

issuer_id: "95830311-9e99-47b0-95ac-d628a3e4215e",
key_filepath: "fastlane/AuthKey_63N65C2G2S.p8",
duration: 1200, # optional
in_house: false, # optional but may be required if using match/sigh
)

update_info_plist(
plist_path: "Rainbow/Info.plist",
display_name: "Rainbow"
Expand Down
Loading