0

I try to build an ios app with codeMagic

    scripts:
      - name: Install dependencies
        script: |
            yarn install
      - name: Install CocoaPods dependencies
        script: |
            cd ios && pod install
      - name: Set up provisioning profiles settings on Xcode project
        script: |
          sudo gem install xcodeproj
          sudo xcode-project use-profiles
      - name: Build ipa for distribution
        script: |
          xcode-project build-ipa \
            --workspace "$CM_BUILD_DIR/ios/$XCODE_WORKSPACE" \
            --scheme "$XCODE_SCHEME"
   

But I have this: Failed to set code signing settings for node_modules/react-native-fast-image/ios/FastImage.xcodeproj. It happens at this step:

sudo xcode-project use-profiles
Magnus
  • 11
  • 1
  • 2

1 Answers1

1

To anyone having this issue use this

xcode-project use-profiles --project ios/*.xcodeproj
Magnus
  • 11
  • 1
  • 2