Skip to content

Commit c01108c

Browse files
committed
updated content, improved formatting
1 parent 39aedc9 commit c01108c

9 files changed

+194
-148
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"label": "Fetching Siging Files"
2+
"label": "Fetching Signing Files"
33
}

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

Lines changed: 33 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,58 +6,51 @@ title: Codemagic Install Pods Failure
66

77
# Codemagic Install Pods Failure
88

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.
9+
During Codemagic deployment, errors may occur at the **Install Pods** step due to iOS dependency conflicts, unstable code branches, or pod version mismatches. This guide outlines steps to identify and resolve these issues effectively.
1010

11-
## Custom Code Package Conflicts
11+
:::info[Prerequisites]
12+
- You are deploying an iOS app using Codemagic.
13+
- Your project includes custom code or third-party packages.
14+
:::
1215

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.
16+
## Fix Dependency Conflicts from Custom Code
1417

15-
**Solution:**
18+
Custom code or third-party packages may introduce conflicting versions of dependencies that prevent CocoaPods from resolving successfully.
1619

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+
**Steps to Resolve Install Pods Failure:**
2021

21-
For example, the package `platform_device_id` may cause conflicts:
22+
- **Check for Dependency Conflicts from Custom Code**
23+
Custom or third-party packages may cause version mismatches with FlutterFlow-supported dependencies.
2224

23-
![](../../assets/20250430121132533922.png)
25+
- Review documentation to ensure package compatibility.
26+
- Adjust versions in your `pubspec.yaml` file accordingly.
27+
- Run:
2428

25-
## Deployment from an Incompatible GitHub Branch
29+
```bash
30+
flutter pub get
31+
```
2632

27-
Deploying from a GitHub branch that contains untested custom code or recent dependency changes may result in deployment failures.
33+
![](../../assets/20250430121132533922.png)
2834

29-
**Solution:**
35+
- **Use a Stable GitHub Branch for Deployment**
36+
Deploying from unstable branches can introduce unexpected errors during pod installation.
3037

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.
38+
- Ensure you're using a branch that passed previous Codemagic deployments.
39+
- Remove untested or experimental code.
40+
- Revert or refactor recent commits that might break dependencies.
3441
35-
For example, the branch `dungtienle/folhavpnV3` may contain unstable code:
42+
![](../../assets/20250430121132883140.png)
3643
37-
![](../../assets/20250430121132883140.png)
44+
- **Fix Pod Version Compatibility Issues**
45+
CocoaPods may fail to resolve dependencies due to incompatible versions or incorrect iOS deployment targets.
3846
39-
- Review recent commits to identify and address changes affecting pod installation.
40-
- Revert problematic commits if necessary.
47+
- Update packages like `app_settings` in `pubspec.yaml` to versions compatible with your Flutter version.
48+
- Raise the iOS minimum deployment target in Xcode if necessary.
4149
42-
## Incompatible Pod Versions
50+
![](../../assets/20250430121133219967.png)
4351
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.
52+
:::tip[Deployment Best Practices]
53+
- Confirm dependency compatibility before pushing changes.
54+
- Always deploy from tested GitHub branches.
55+
- Verify your deployment target supports all pods used.
56+
:::

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

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,41 @@ title: Codemagic Signing Certificate Limit
66

77
# Codemagic Signing Certificate Limit
88

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.
9+
During iOS deployment, Codemagic attempts to create distribution certificates in your Apple Developer Account. If the maximum number of certificates has already been reached, the build will fail with a certificate creation error.
1010

11-
**Full Error Message**
11+
## Error Message
1212

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.
13+
```bash
14+
Build failed :|Step 3 script `Fetch signing files` exited with status code 1
15+
Returned 409: There is a problem with the request entity - You already have a current Distribution certificate or a pending certificate request.
1516
```
1617

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+
This message indicates that Codemagic cannot proceed because no additional distribution certificates can be created.
1819

19-
**Solution**
20+
:::info[Prerequisites]
21+
- You are deploying an iOS app using Codemagic.
22+
- Your Apple Developer Program account is active and linked.
23+
:::
2024

21-
To resolve this issue, delete unused distribution certificates from your Apple Developer account to free up space for new certificates.
25+
**Steps to Resolve Certificate Limit Error:**
2226

23-
**Steps to Delete Certificates**
27+
1. **Access Your Apple Developer Account**
28+
Log into your Apple Developer account to manage certificates:
2429

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**.
30+
- Go to the **[Apple Developer Certificates List](https://developer.apple.com/account/resources/certificates/list)**.
2931

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-
:::
32+
2. **Navigate to the Certificates Section**
33+
In the **Certificates, Identifiers & Profiles** section:
34+
35+
- Click on **Certificates**.
36+
- Locate all existing **Distribution Certificates**.
3537

36-
38+
3. **Remove Unused or Expired Certificates**
39+
Review and delete any unused, expired, or redundant distribution certificates to free up space.
40+
41+
4. **Re-run Deployment**
42+
After deleting the certificates, initiate the build process again in FlutterFlow. Codemagic will automatically generate a new certificate as needed.
43+
44+
:::note
45+
The deleted distribution certificates will be recreated automatically by Codemagic during the next build.
46+
:::

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

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,54 @@ title: iOS Deployment Authentication Error
66

77
# iOS Deployment Authentication Error
88

9-
During iOS deployment using Codemagic, you may encounter an authentication credentials error due to misconfigured or expired tokens while setting up App Store deployment.
9+
During iOS deployment using Codemagic, an authentication credentials error can occur due to misconfigured or expired API tokens for App Store deployment.
1010

11-
**Invalid Authentication Credentials**
11+
The API token used for App Store Connect may be invalid or expired.
1212

13-
This error indicates that the API token used for App Store Connect is either expired or invalid.
13+
:::info
14+
For details on generating valid tokens, see the **[Apple API Token Documentation](https://developer.apple.com/go/?id=api-generating-tokens)**.
15+
:::
1416

15-
For detailed information on generating valid tokens, refer to the **[Apple API Token Documentation](https://developer.apple.com/go/?id=api-generating-tokens)**.
17+
Here is the error message:
1618

17-
**Full Error Message**
18-
19-
```
19+
```bash
2020
Failed Step: Fetch signing files
2121
GET https://api.appstoreconnect.apple.com/v1/bundleIds?limit=100&sort=name&filter%5Bidentifier%5D=appname.com&filter%5Bplatform%5D=IOS returned 401: Authentication credentials are missing or invalid. Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens
2222
```
2323

24-
**Steps to Resolve the Issue**
24+
:::info[Prerequisites]
25+
- Access to your Apple Developer App Store Connect account.
26+
- Permission to manage API keys under **Users and Access**.
27+
:::
2528

26-
Follow these steps to generate a new API Key and update it in FlutterFlow:
29+
**Steps to Resolve the Authentication Error:**
2730

28-
1. Navigate to **App Store Connect**, select **Users and Access**, then select **Keys**.
31+
1. Open **App Store Connect** and navigate to **Users and AccessKeys**.
2932

30-
2. If visible, click **Request Access**.
33+
2. If prompted, click **Request Access**.
3134

3235
3. Select **Generate API Key** or click the **Add (+)** button.
3336

34-
4. In the popup window, provide the required API Key information:
35-
- **Name**: Enter a reference name for the key.
36-
- **Access**: Select the appropriate access type.
37+
4. In the popup, provide the following details:
38+
- **Name**: Enter a descriptive name for the API Key.
39+
- **Access**: Choose the appropriate access level for the key.
3740

38-
5. Select **Generate** to create the API Key.
41+
5. Click **Generate** to create the API Key.
3942

40-
6. Locate the newly created API Key and select **Download API Key**.
43+
6. Download the newly created API Key by selecting **Download API Key**.
4144

4245
:::note
43-
If the **Download API Key** link does not appear immediately, refresh the page.
46+
If the download option does not appear immediately, refresh the page.
4447
:::
4548

46-
7. Return to **FlutterFlow**, navigate to **Settings & Integrations → Deployment**.
47-
48-
8. Under **Private Key**, select **Upload Private Key**, choose the downloaded API Key file, and select **Open**.
49+
7. In **FlutterFlow**, go to **Settings & Integrations → Deployment**.
4950

50-
9. Attempt to redeploy your app after uploading the new key.
51+
8. Under **Private Key**, click **Upload Private Key**, select the downloaded API Key file, and click **Open**.
5152

52-
![](../../assets/20250430121336383410.gif)
53+
9. Retry your iOS deployment.
5354

55+
![](../../assets/20250430121336383410.gif)
5456

55-
If the error persists after completing these steps, contact FlutterFlow support via in-app messenger or email at [[email protected]](mailto:[email protected]).
57+
:::note
58+
If the error persists after completing these steps, contact FlutterFlow support via in-app messenger or email at [[email protected]](mailto:[email protected]).
59+
:::

docs/troubleshooting/apple-store-deployment-issues/ios-Signing/download_dsym_file_from_app_store_connect.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,30 @@ title: Download dSYM File from App Store Connect
66

77
# Download dSYM File from App Store Connect
88

9-
To download the dSYM file from the App Store Connect Developer Console, follow these steps:
9+
To download the dSYM file from the App Store Connect Developer Console, follow these steps.
1010

11-
- **[Sign in](https://appstoreconnect.apple.com/)** to App Store Connect with your Apple Developer account.
12-
- Open your app.
13-
- Select a build from the **TestFlight** tab on your project page.
14-
- Open the **Build Metadata** tab.
15-
- Under **Include Symbols**, download your dSYM file.
11+
:::info[Prerequisites]
12+
- Access to your Apple Developer account.
13+
- Your app has at least one build uploaded to App Store Connect.
14+
:::
15+
16+
**Steps to Download the dSYM File:**
17+
18+
1. **Sign in** to **[App Store Connect](https://appstoreconnect.apple.com/)** with your Apple Developer account.
19+
2. Open your app.
20+
3. Select a build from the **TestFlight** tab on your project page.
21+
4. Open the **Build Metadata** tab.
22+
5. Under **Include Symbols**, download the dSYM file.
1623

1724
![](../../assets/20250430121257965718.png)
1825

19-
:::note
20-
The dSYM file is only available for builds that have been successfully uploaded to App Store Connect and are in a "processing" or "ready for submission" state.
21-
:::
26+
:::note
27+
The dSYM file is only available for builds that have been successfully uploaded to App Store Connect and are in a "processing" or "ready for submission" state.
28+
:::
2229

23-
24-
If the **Download dSYM file** link is not visible, it indicates that the build submission did not complete successfully. In this case:
30+
If the **Download dSYM file** link is not visible, it indicates that the build submission did not complete successfully. In this case:
2531

26-
- Redeploy the build to the App Store.
27-
- After successful processing, return to the Build Metadata tab and download the dSYM file.
32+
1. Redeploy the build to the App Store.
33+
2. After successful processing, return to the **Build Metadata** tab and download the dSYM file.
2834

29-
![](../../assets/20250430121258232331.png)
35+
![](../../assets/20250430121258232331.png)

docs/troubleshooting/apple-store-deployment-issues/ios-Signing/imagenotification_development_team_error.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ title: ImageNotification Development Team Error
88

99
This error occurs when the **ImageNotification** entitlement is missing in your Apple Developer account. To resolve it, create a new Identifier for `ImageNotification` in your Apple Developer account.
1010

11-
**Create the Identifier**
11+
:::info[Prerequisites]
12+
- Access to your **Apple Developer account**.
13+
- Permission to manage **Certificates, Identifiers & Profiles**.
14+
:::
1215

13-
Follow these steps to add the necessary Identifier:
16+
**Steps to Create the Identifier:**
1417

15-
1. Sign in to your **[Apple Developer account](https://developer.apple.com/)**.
16-
2. Navigate to **Certificates, Identifiers & Profiles**.
17-
3. Select **Identifiers**.
18-
4. Click the **Add (+)** button.
19-
5. Choose **App IDs** and click **Continue**.
20-
6. Under **Type**, select **App** and click **Continue**.
21-
7. In the **Description** field, enter `ImageNotification` (case-sensitive).
22-
8. In the **Bundle ID** field, enter your full bundle ID followed by `.ImageNotification` (for example: `com.example.app.ImageNotification`).
23-
9. Click **Continue** and then **Register** to complete the setup.
18+
1. Sign in to your **[Apple Developer account](https://developer.apple.com/)**.
19+
2. Navigate to **Certificates, Identifiers & Profiles**.
20+
3. Select **Identifiers**.
21+
4. Click the **Add (+)** button.
22+
5. Choose **App IDs** and click **Continue**.
23+
6. Under **Type**, select **App** and click **Continue**.
24+
7. In the **Description** field, enter `ImageNotification` (case-sensitive).
25+
8. In the **Bundle ID** field, enter your full bundle ID followed by `.ImageNotification` (for example: `com.example.app.ImageNotification`).
26+
9. Click **Continue** and then **Register** to complete the setup.
2427

2528
Once this Identifier is added, the signing process should proceed without requiring a development team selection.

docs/troubleshooting/apple-store-deployment-issues/publishing/custom_domain_connection_error.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,45 @@ keywords: ['configuration', 'connect', 'domain']
33
slug: custom-domain-connection-error
44
title: Custom Domain Connection Error
55
---
6+
67
# Custom Domain Connection Error
78

89
If you encounter the error shown below after clicking **Connect**, follow these steps to resolve it:
910

1011
![](../../assets/20250430121243410633.png)
1112

12-
- **Verify DNS Records**
13+
:::info[Prerequisites]
14+
- Access to your domain registrar or DNS provider dashboard.
15+
- DNS management permissions to add or modify DNS records.
16+
:::
17+
18+
**Steps to Resolve the Error:**
19+
20+
1. **Verify DNS Records**
1321

1422
- Ensure that you have correctly configured the DNS records required for your custom domain connection.
1523
- Add the keys provided by FlutterFlow to your domain’s DNS settings.
1624

1725
:::note
18-
For A records, if your DNS provider requires a name, you can use **"@"**. When you see an empty value, it typically refers to **"@"**.
26+
For A records, if your DNS provider requires a name, you can use `"@"`. When you see an empty value, it typically refers to `"@"`.
1927
:::
2028

2129
![](../../assets/20250430121243684493.png)
2230

23-
- **Check for Conflicting Records**
31+
2. **Check for Conflicting Records**
2432

2533
- Review your DNS configuration to ensure there are no extra or unnecessary records that conflict with the FlutterFlow-provided keys.
26-
- For example, if you already have an A record using **"@"**, remove it to avoid conflicts.
34+
- For example, if you already have an A record using `"@"`, remove it to avoid conflicts.
2735

2836
:::note
2937
Before removing any existing DNS records, take screenshots and save them for reference.
3038
:::
3139

32-
**Example Configurations**
33-
34-
Below are examples of correct configurations in FlutterFlow and your DNS provider:
3540

36-
![](../../assets/20250430121243982678.png)
41+
Below are examples of correct configurations in FlutterFlow and your DNS provider:
3742

38-
![](../../assets/20250430121244255037.png)
43+
![](../../assets/20250430121243982678.png)
3944

40-
By following these steps, you can ensure your custom domain is connected correctly.
45+
![](../../assets/20250430121244255037.png)
4146

47+
By following these steps, you can ensure your custom domain is connected correctly.

0 commit comments

Comments
 (0)