nilsreichardt / codemagic-shorebird-demo Goto Github PK
View Code? Open in Web Editor NEWA demo repository to use Shorebird with Codemagic
A demo repository to use Shorebird with Codemagic
Hi, I want to release my ios app with shorebird codemagic action. But I got an error on Step Name => ๐ Shorebird Build.
Previously, I could get release without using shorebird.
Error=>
iOS Workflow =>
`
workflows:
ios-shorebird-workflow:
instance_type: mac_mini_m1
name: iOS ShoreBird Workflow
environment:
ios_signing:
provisioning_profiles:
- For CodeMagic
certificates:
- Code Magic Certificate
flutter: 3.10.6
cocoapods: 1.13.0
xcode: 15.0
groups:
- shorebird
- appstore
triggering:
events:
- tag
cache:
cache_paths:
- $FLUTTER_ROOT/.pub-cache
- $HOME/Library/Caches/CocoaPods
integrations:
app_store_connect: "IOS Codemagic Integration"
publishing:
app_store_connect:
auth: integration
submit_to_testflight: true
artifacts:
- build/ios/ipa/*.ipa
scripts:
- name: ๐ฆ Setup Shorebird
script: |
# Install Shorebird
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash
# Add Shorebird to PATH
echo PATH="$HOME/.shorebird/bin:$PATH" >> $CM_ENV
- name: Shorebird flutter versions set to 3.10.6
script: |
shorebird flutter versions use 3.10.6
- name: Set up code signing settings on Xcode project
script: |
xcode-project use-profiles
- name: Flutter Packages Get and Translations
script: |
flutter pub get
flutter packages pub global activate intl_utils
flutter --no-color pub global run intl_utils:generate
- name: Pods Install
script: |
rm -rf ios/Podfile.lock
pod install --repo-update --project-directory=./ios
- name: ๐ Shorebird Build
script: |
echo "โก๏ธ Using tag: $CM_TAG"
# Check type and run corresponding command
if [ "$TYPE" == *"#"* ]; then
echo "๐ฉน Running patch command"
shorebird patch ios-alpha --force
else
echo "๐ Running release command"
shorebird release ios-alpha --force
fi
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.