Coder Social home page Coder Social logo

codemagic-shorebird-demo's People

Contributors

nilsreichardt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

codemagic-shorebird-demo's Issues

CodeMagic - Shorebird - iOS Issue

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

image

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

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.