Replies: 1 comment 2 replies
-
Hi @Jroman997, I answered your query in Intercom, let's continue there please. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following configuration in codemagic.yml, This is a native ios app
workflows:
native-ios:
name: iOS
instance_type: mac_mini_m1
environment:
ios_signing:
distribution_type: development
bundle_identifier: pe.com.xxxx.dev
vars:
BUNDLE_ID: pe.com.xxxx.dev
XCODE_PROJECT: "Mobile/Mobile.xcodeproj"
XCODE_WORKSPACE: "Mobile/Mobile.xcodeproj/project.xcworkspace" # PUT YOUR WORKSPACE NAME HERE
XCODE_SCHEME: "MobileDev" # PUT THE NAME OF YOUR SCHEME HERE
APP_ID: 1234567890
xcode: latest
cocoapods: default
triggering:
events:
- push
- pull_request
branch_patterns:
- pattern: "developer"
include: true
source: true
scripts:
- name: Set up code signing settings on Xcode project
script: |
xcode-project use-profiles
- name: cat export_options.plist
script: |
cat /Users/builder/export_options.plist
- name: Build ipa
script: |
xcode-project build-ipa --workspace "$XCODE_WORKSPACE" --scheme "$XCODE_SCHEME"
artifacts:
- build/ios/ipa/.ipa
- $HOME/Library/Developer/Xcode/DerivedData//Build//.dSYM
When the command is executed xcode-project build-ipa --workspace "$XCODE_WORKSPACE" --scheme "$XCODE_SCHEME"
Using Xcode 14.3 (14E222b)
Check project.xcworkspace build settings
Execute "xcodebuild -workspace Mobile/Mobile.xcodeproj/project.xcworkspace -scheme MobileDev -showBuildSettings"
Archive project.xcworkspace
Execute "xcodebuild -workspace Mobile/Mobile.xcodeproj/project.xcworkspace -scheme MobileDev -archivePath build/ios/xcarchive/project_362iosmg.xcarchive archive COMPILER_INDEX_STORE_ENABLE=NO DEVELOPMENT_TEAM=XXXXX 'CODE_SIGN_IDENTITY=Apple Development' CODE_SIGN_STYLE=Manual"
Using Xcode 14.3 (14E222b)
Check project.xcworkspace build settings
Execute "xcodebuild -workspace Mobile/Mobile.xcodeproj/project.xcworkspace -scheme MobileDev -showBuildSettings"
Archive project.xcworkspace
Execute "xcodebuild -workspace Mobile/Mobile.xcodeproj/project.xcworkspace -scheme MobileDev -archivePath build/ios/xcarchive/project_362iosmg.xcarchive archive COMPILER_INDEX_STORE_ENABLE=NO DEVELOPMENT_TEAM=XXXXX 'CODE_SIGN_IDENTITY=Apple Development' CODE_SIGN_STYLE=Manual"
Failed to archive Mobile/Mobile.xcodeproj/project.xcworkspace
Build failed :|
Step 5 script
Build ipa
exited with status code 65Beta Was this translation helpful? Give feedback.
All reactions