Skip to content

Commit 39aedc9

Browse files
committed
updated content, improved formatting, new article titles
1 parent 8f1f778 commit 39aedc9

20 files changed

+336
-378
lines changed

docs/troubleshooting/apple-store-deployment-issues/Flutter-build-ipa-and-automatic-versioning/how_to_download_dsym_file_from_the_app_store_connect.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/troubleshooting/apple-store-deployment-issues/Flutter-build-ipa-and-automatic-versioning/what_to_do_when_sign_in_for_imagenotification_requires_a_development_team.md

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"label": "Apple Store Deployment Issues"
2+
"label": "Apple Store Deployment"
33
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "Fetching Siging Files"
3+
}

docs/troubleshooting/apple-store-deployment-issues/fetch signing-files/codemagic_deployment_on_ios_authentication_credentials_are_missing_or_invalid.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

docs/troubleshooting/apple-store-deployment-issues/fetch signing-files/codemagic_deployment_step_6_script_Install_pods_exited_with_status_code_1.md

Lines changed: 0 additions & 90 deletions
This file was deleted.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
keywords: ['deployment', 'flutter', 'exited']
3+
slug: /codemagic-install-pods-failure
4+
title: Codemagic Install Pods Failure
5+
---
6+
7+
# Codemagic Install Pods Failure
8+
9+
During Codemagic deployment, errors may occur at the **Install Pods** step due to issues related to iOS dependency management. This article outlines common causes and solutions to resolve these errors.
10+
11+
## Custom Code Package Conflicts
12+
13+
Conflicts between custom code packages and existing project dependencies can prevent pods from installing correctly. Flutter dependencies have version constraints, and introducing new packages or updating versions without checking compatibility may cause version conflicts.
14+
15+
**Solution:**
16+
17+
- Check package documentation for compatibility issues.
18+
- Update package versions in `pubspec.yaml` to versions known to be compatible.
19+
- Run `flutter pub get` to refresh dependencies.
20+
21+
For example, the package `platform_device_id` may cause conflicts:
22+
23+
![](../../assets/20250430121132533922.png)
24+
25+
## Deployment from an Incompatible GitHub Branch
26+
27+
Deploying from a GitHub branch that contains untested custom code or recent dependency changes may result in deployment failures.
28+
29+
**Solution:**
30+
31+
- Use a stable, fully tested branch for deployment.
32+
- Merge the latest stable changes into the deployment branch.
33+
- Remove experimental or untested code that may affect deployment.
34+
35+
For example, the branch `dungtienle/folhavpnV3` may contain unstable code:
36+
37+
![](../../assets/20250430121132883140.png)
38+
39+
- Review recent commits to identify and address changes affecting pod installation.
40+
- Revert problematic commits if necessary.
41+
42+
## Incompatible Pod Versions
43+
44+
CocoaPods may fail to resolve compatible versions for specific pods, such as `app_settings`, especially if the pod version conflicts with other pods or the iOS deployment target.
45+
46+
**Solution:**
47+
48+
- Update the version of `app_settings` in `pubspec.yaml` to a compatible version.
49+
- If necessary, increase the iOS minimum deployment target using Xcode.
50+
51+
For example, the engineering team identified `app_settings` as the cause:
52+
53+
![](../../assets/20250430121133219967.png)
54+
55+
- Adjust the iOS deployment target following Apple's or Amplify’s iOS platform setup guidance.
56+
57+
:::info[Deployment Best Practices]
58+
- Verify package compatibility before adding new dependencies or upgrading existing ones.
59+
- Always deploy from stable, tested branches.
60+
- Ensure the iOS deployment target version meets the requirements of all packages and pods.
61+
:::
62+
63+
By following these steps, you can resolve the **Install Pods** error and successfully deploy your app with Codemagic in FlutterFlow.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
keywords: ['signing', 'codemagic', 'certificate']
3+
slug: /codemagic-signing-certificate-limit
4+
title: Codemagic Signing Certificate Limit
5+
---
6+
7+
# Codemagic Signing Certificate Limit
8+
9+
During deployment, Codemagic attempts to create distribution certificates in your Apple Developer Account. If you have reached the maximum number of allowed distribution certificates, this process will fail, preventing a successful build.
10+
11+
**Full Error Message**
12+
13+
```
14+
Build failed :|Step 3 script `Fetch signing files` exited with status code 1Returned 409: There is a problem with the request entity - You already have a current Distribution certificate or a pending certificate request.
15+
```
16+
17+
This error indicates that Codemagic cannot create a new certificate because existing certificates or pending certificate requests are already using the available slots.
18+
19+
**Solution**
20+
21+
To resolve this issue, delete unused distribution certificates from your Apple Developer account to free up space for new certificates.
22+
23+
**Steps to Delete Certificates**
24+
25+
- Open your **[Apple Developer Account](https://developer.apple.com/account/resources/certificates/list)**.
26+
- Navigate to **Certificates, Identifiers & Profiles**.
27+
- Under **Certificates**, review the list of existing certificates.
28+
- Locate and delete any unused or expired **Distribution Certificates**.
29+
30+
After removing unnecessary certificates, re-run the deployment from FlutterFlow.
31+
32+
:::note
33+
The deleted certificates will be recreated automatically by Codemagic during the next build process.
34+
:::
35+
36+

docs/troubleshooting/apple-store-deployment-issues/fetch signing-files/error_step_3_script_fetch_signing_files_exited_with_status_code_1_you_already_have_a_current_distribution_certificate_or_a_pending_certificate_request..md

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)