Questions tagged [codemagic]

A continuous integration and delivery tool for mobile projects

A continuous integration and delivery tool for mobile projects.

Homepage

210 questions
3
votes
3 answers

iOS build failed using Codemagic [Works fine with Xcode]

The build is done successfully in Xcode but when I build it using code magic it fails. Below is my log for build fail. Below is the output which I received from code magic. It shows some errors in firebase and audience network plugin but it is not…
Rushabh Shah
  • 680
  • 4
  • 22
3
votes
2 answers

Codemagic failed to publish Error: code -22020

My build failed using Codemagic with the Error code -22020 after building the whole app. Successfully created archive at build/ios/xcarchive/Runner_4myti30z.xcarchive Export build/ios/xcarchive/Runner_4myti30z.xcarchive to build/ios/ipa Execute…
Enzoyugo
  • 41
  • 5
3
votes
1 answer

Codemagic - Set Dynamic Environment Variables for the Build arguments

I am looking a way to manage dynamic environment variables in my build arguments. I am able to make it work if I define values for TARGET_FILE and FLAVOR in the environment variable section in CodeMagic. But my goal is to have the values specified…
3
votes
1 answer

Codemagic automatic app signing fails for ios

ios automatic app signing is enabled and apple developer portal connected. But, ios build fails: ERROR! Did not find matching provisioning profiles for code signing! > xcodebuild -workspace /Users/builder/clone/ios/Runner.xcworkspace -scheme Runner…
Mutlu Simsek
  • 1,088
  • 14
  • 22
3
votes
1 answer

App Store Connect responses with code -22020 (Unable to validate your application. We are unable to create an authentication session.)

I'm trying to publish the iOS app to the App Store with Codemagic and it is throwing me this error: Publishing artifact Runner.ipa Publishing artifact my-app_1_artifacts.zip Publishing Runner.ipa to App Store Connect > /usr/bin/xcrun altool…
3
votes
0 answers

Very long iOS builds on Codemagic

I have Flutter app with 10-15 dependencies and my iOS builds take up to 50 minutes that sounds quite long comparing to builds on local machine (2-3 minutes). I enabled dependency caching…
moonvader
  • 19,761
  • 18
  • 67
  • 116
3
votes
1 answer

Separate provisioning profile for notification extension

I have problems with signing iOS app with notification extension on Codemagic CI. I created App Id and provisioning profile with this id. App was builded and uploaded to App Store fine. But when I added notification extension I got problems. That…
moonvader
  • 19,761
  • 18
  • 67
  • 116
3
votes
1 answer

Codemagic IOS build takes a long time to complete

I'm trying to setup my flutter app on Codemagic, but it takes about 40~50 minutes to build for IOS, the logs shows that is compiling files .c and .cc, there are a lot of those files been compiling. Is there a way to make the build faster? Am I…
Rafael Honda
  • 605
  • 2
  • 5
  • 13
3
votes
1 answer

How can I setup a specific version of cocoapods on codemagic

The version of cocoapods in my codemagic workflow is lower than what is used by my Flutter project. How can I setup a specific version of cocoapods for my codemagic workflow? Thank you Søren
Neigaard
  • 3,726
  • 9
  • 49
  • 85
2
votes
1 answer

Error when building iOS Flutter app using CodeMagic on Windows: Error (Xcode): F.../XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

I am building a Flutter iOS app using code magic virtual machine (as on windows), as suggested by an answer to this question. But I am getting this error message from CodeMagic when building. One suggestion I have found is to amend the podfile, but…
Kdon
  • 892
  • 6
  • 19
2
votes
1 answer

Codemagic - "Runner.app" requires a provisioning profile with the Push Notifications feature

I'm trying to set up codemagic ios flow. I want to build ipa and push it to TestFlight. I've created codemagic api key in AppStoreConnect, and created Developer & Distribution Certificates via Codemagic interface by Generating a new code signing…
Veronika Haichenko
  • 150
  • 1
  • 1
  • 7
2
votes
0 answers

Error "com.google.android.gms.permission.AD_ID" in Google Play console, even though I removed that permission

In my Flutter project, I have 2 flavors: free and full, and I use Codemagic for my CI/CD. Only the free version comes with a Google ad banner. So I added the com.google.android.gms.permission.AD_ID permission in the manifest, then run my build on…
2
votes
1 answer

how to make Xcode user-defined variable in build settings compatible with CI CD environment?

I set some user-defined variables in Xcode app target build settings like this as you can see, I set some variables that refer to local path on my Mac. it will work just fine when I run the app on simulator or on real device. but I will fail to…
Alexa289
  • 8,089
  • 10
  • 74
  • 178
2
votes
1 answer

How to update codemagic environment variable during build process

Is it possible to update environment variable during build process? I need to increase code version before uploading apk to firebase. I have found a case when you receive the last version from play store and increase it, but in my case I store…
2
votes
0 answers

Codemagic iOS Code signing - Unable to load bundle identifiers

I have configured Codemagic with an App Store Connect Key and everything works correctly, now I have tried to add a second key and I am having this problem Unable to load bundle identifiers Loading bundle identifiers for KEYNAME failed. This…
Luca Iaconelli
  • 713
  • 7
  • 14
1 2
3
13 14