Questions tagged [codemagic]

A continuous integration and delivery tool for mobile projects

A continuous integration and delivery tool for mobile projects.

Homepage

210 questions
2
votes
1 answer

How to pass environment variable in Codemagic scripts section

I'm using Codemagic CI/CD to build a Flutter application. Under the script section, I use separate sections for each functionality. Like this: scripts: - name: Fetch the build number script: | touch major.txt …
Neron Joseph
  • 1,675
  • 22
  • 39
2
votes
1 answer

Codemagic with Flutter

i not have an mac for develop with flutter so i use codemagic. while i build the app i get an error. I search many time but not find the reason. I dont know what mean "ARCHIVE FAILED" Can anyone help me. note: Build preparation…
2
votes
1 answer

Keychain password for macOS Flutter app on VM

I am using Codemagic macOS remote machine to build and run the Flutter app for macOS. When I try to login into my app with Firebase auth, I get a dialog to enter a keychain password: What password to enter here? If I try to enter a password with…
Joe
  • 500
  • 1
  • 4
  • 11
2
votes
1 answer

Flutter: Can't build for ios on codemagic

I'm trying to create an IOS build for my flutter project on codemagic but it keeps failing. I use flutter_config in the app but the values in my .env file have been added to environment variables on codemagic but I still think the failing build has…
mtkguy
  • 277
  • 2
  • 14
2
votes
4 answers

Flutter / FCM notifications not arriving on Codemagic iOS build

I'm trying to build a Flutter app for both Android and iOS. I've been implementing push notifications using Firestore Cloud Messaging (FCM) and it works for both Android and iOS when I'm testing on a simulator (Android) or on a connected physical…
2
votes
1 answer

The pubspec.lock file has changed since the .dart_tool/package_config.json file was generated, please run "pub get" again

I try to run test on codemagic with custom pre-test script. And this is my pre-test script: #!/bin/sh cd libraries cd dependencies flutter pub get cd .. cd core flutter pub get flutter pub run build_runner build --delete-conflicting-outputs cd .. cd…
R Rifa Fauzi Komara
  • 1,915
  • 6
  • 27
  • 54
2
votes
1 answer

Uploading binary App Store Connect from CodeMagic

I am trying to create the release build of my flutter app on CodeMagic. The debug build went well but the release build had the following error during the Installing Dependencies process: app-store-connect fetch-signing-files…
LostTexan
  • 431
  • 5
  • 18
2
votes
1 answer

Codemagic "Invalid API Key" problem when setting "Apple Developer Portal" integration

I am trying to link my Codemagic account to Apple with "Apple Developer Portal integration". I followed the official instructions but when I try to upload my p8 key I get this error: Invalid API Key Please select a .p8 private key I double-checked…
Nearchos
  • 153
  • 1
  • 11
2
votes
1 answer

CodeMagic without Mac Automatic code signing Error

I followed the instructions on the documentation (which is great by the way): https://docs.codemagic.io/code-signing/ios-code-signing/ But I am still getting some errors: Did not find matching provisioning profiles for code signing! and error:…
Leonidas Yopan
  • 119
  • 1
  • 11
2
votes
2 answers

CI/CD Fails because missing files needed for build, but not wanted on public repo in a .gitignore

I have a public repository for an open sourced project, I also have a CI/CD platform which listens for my commits and builds my application. The issue is I have important files for the build, but that I don't want to become public in the repo. Since…
josep3534
  • 131
  • 2
  • 8
2
votes
1 answer

Codemagic iOS Flutter deploy fails on archive

I have a question where and how to add allowProvisioningUpdates in Xcode? My Codemagic account is connected with App Store Connect, bundle id and app are also created. Build process fails on the app archive, but Xcode build is successfully done. Can…
2
votes
2 answers

Flutter - Codemagic - IOS build fail

I'm trying to build an app for IOS made with Flutter. I have no mac device to do the job so I'm trying to generate my IPA file from codemagic.io . I created an account for Apple Developer Program and paid the bill. I followed the instructions for…
David
  • 33
  • 1
  • 7
2
votes
4 answers

Flutter crash after open apps

I usually build my mobile apps using build service from codemagic.com. During this week i didnt change anything of my code except build number. Today I got my mobile phone crash after new AppBundle Compile with below error stack from firebase…
questionasker
  • 2,536
  • 12
  • 55
  • 119
2
votes
1 answer

Flutter Codemagic iOS testflight app store issue

I am trying to build and release my flutter app to the app store. I am using Codemagic to do so since I do not own a Mac machine. However, this is the error I run into every time I run a build: error: Runner has conflicting provisioning settings.…
badrobot15
  • 176
  • 1
  • 10
2
votes
0 answers

Flutter IOS app build error after added firebase crashlytics

Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device. Building for device (ios-release)... Running pod install... 124.8s (!) Running Xcode build... Xcode build done. …
Midhilaj
  • 4,905
  • 9
  • 45
  • 88