Skip to content

Commit 2109be4

Browse files
Apple Store Deployment Issues: Typo fixed, improved formatting, assets added (#388)
* Typo fixed, improved formatting, assets added * updated content, improved formatting, new article titles * updated content, improved formatting --------- Co-authored-by: Pooja Bhaumik <[email protected]>
1 parent 191529c commit 2109be4

24 files changed

+384
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "Apple Store Deployment"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "Fetching Signing Files"
3+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 iOS dependency conflicts, unstable code branches, or pod version mismatches. This guide outlines steps to identify and resolve these issues effectively.
10+
11+
:::info[Prerequisites]
12+
- You are deploying an iOS app using Codemagic.
13+
- Your project includes custom code or third-party packages.
14+
:::
15+
16+
## Fix Dependency Conflicts from Custom Code
17+
18+
Custom code or third-party packages may introduce conflicting versions of dependencies that prevent CocoaPods from resolving successfully.
19+
20+
**Steps to Resolve Install Pods Failure:**
21+
22+
- **Check for Dependency Conflicts from Custom Code**
23+
Custom or third-party packages may cause version mismatches with FlutterFlow-supported dependencies.
24+
25+
- Review documentation to ensure package compatibility.
26+
- Adjust versions in your `pubspec.yaml` file accordingly.
27+
- Run:
28+
29+
```bash
30+
flutter pub get
31+
```
32+
33+
![](../../assets/20250430121132533922.png)
34+
35+
- **Use a Stable GitHub Branch for Deployment**
36+
Deploying from unstable branches can introduce unexpected errors during pod installation.
37+
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.
41+
42+
![](../../assets/20250430121132883140.png)
43+
44+
- **Fix Pod Version Compatibility Issues**
45+
CocoaPods may fail to resolve dependencies due to incompatible versions or incorrect iOS deployment targets.
46+
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.
49+
50+
![](../../assets/20250430121133219967.png)
51+
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+
:::
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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 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.
10+
11+
## Error Message
12+
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.
16+
```
17+
18+
This message indicates that Codemagic cannot proceed because no additional distribution certificates can be created.
19+
20+
:::info[Prerequisites]
21+
- You are deploying an iOS app using Codemagic.
22+
- Your Apple Developer Program account is active and linked.
23+
:::
24+
25+
**Steps to Resolve Certificate Limit Error:**
26+
27+
1. **Access Your Apple Developer Account**
28+
Log into your Apple Developer account to manage certificates:
29+
30+
- Go to the **[Apple Developer Certificates List](https://developer.apple.com/account/resources/certificates/list)**.
31+
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**.
37+
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+
:::
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
keywords: ['authentication', 'deployment', 'ios']
3+
slug: /ios-deployment-authentication-error
4+
title: iOS Deployment Authentication Error
5+
---
6+
7+
# iOS Deployment Authentication Error
8+
9+
During iOS deployment using Codemagic, an authentication credentials error can occur due to misconfigured or expired API tokens for App Store deployment.
10+
11+
The API token used for App Store Connect may be invalid or expired.
12+
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+
:::
16+
17+
Here is the error message:
18+
19+
```bash
20+
Failed Step: Fetch signing files
21+
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
22+
```
23+
24+
:::info[Prerequisites]
25+
- Access to your Apple Developer App Store Connect account.
26+
- Permission to manage API keys under **Users and Access**.
27+
:::
28+
29+
**Steps to Resolve the Authentication Error:**
30+
31+
1. Open **App Store Connect** and navigate to **Users and Access → Keys**.
32+
33+
2. If prompted, click **Request Access**.
34+
35+
3. Select **Generate API Key** or click the **Add (+)** button.
36+
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.
40+
41+
5. Click **Generate** to create the API Key.
42+
43+
6. Download the newly created API Key by selecting **Download API Key**.
44+
45+
:::note
46+
If the download option does not appear immediately, refresh the page.
47+
:::
48+
49+
7. In **FlutterFlow**, go to **Settings & Integrations → Deployment**.
50+
51+
8. Under **Private Key**, click **Upload Private Key**, select the downloaded API Key file, and click **Open**.
52+
53+
9. Retry your iOS deployment.
54+
55+
![](../../assets/20250430121336383410.gif)
56+
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+
:::
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "iOS Signing"
3+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
keywords: ['connect', 'download', 'store']
3+
slug: /download-dsym-file-from-app-store-connect
4+
title: Download dSYM File from App Store Connect
5+
---
6+
7+
# Download dSYM File from App Store Connect
8+
9+
To download the dSYM file from the App Store Connect Developer Console, follow these steps.
10+
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.
23+
24+
![](../../assets/20250430121257965718.png)
25+
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+
:::
29+
30+
If the **Download dSYM file** link is not visible, it indicates that the build submission did not complete successfully. In this case:
31+
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.
34+
35+
![](../../assets/20250430121258232331.png)
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
keywords: ['requires', 'sign', 'team']
3+
slug: /imagenotification-development-team-error
4+
title: ImageNotification Development Team Error
5+
---
6+
7+
# ImageNotification Development Team Error
8+
9+
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.
10+
11+
:::info[Prerequisites]
12+
- Access to your **Apple Developer account**.
13+
- Permission to manage **Certificates, Identifiers & Profiles**.
14+
:::
15+
16+
**Steps to Create the Identifier:**
17+
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.
27+
28+
Once this Identifier is added, the signing process should proceed without requiring a development team selection.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"label": "Publishing"
3+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
keywords: ['configuration', 'connect', 'domain']
3+
slug: custom-domain-connection-error
4+
title: Custom Domain Connection Error
5+
---
6+
7+
# Custom Domain Connection Error
8+
9+
If you encounter the error shown below after clicking **Connect**, follow these steps to resolve it:
10+
11+
![](../../assets/20250430121243410633.png)
12+
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**
21+
22+
- Ensure that you have correctly configured the DNS records required for your custom domain connection.
23+
- Add the keys provided by FlutterFlow to your domain’s DNS settings.
24+
25+
:::note
26+
For A records, if your DNS provider requires a name, you can use `"@"`. When you see an empty value, it typically refers to `"@"`.
27+
:::
28+
29+
![](../../assets/20250430121243684493.png)
30+
31+
2. **Check for Conflicting Records**
32+
33+
- Review your DNS configuration to ensure there are no extra or unnecessary records that conflict with the FlutterFlow-provided keys.
34+
- For example, if you already have an A record using `"@"`, remove it to avoid conflicts.
35+
36+
:::note
37+
Before removing any existing DNS records, take screenshots and save them for reference.
38+
:::
39+
40+
41+
Below are examples of correct configurations in FlutterFlow and your DNS provider:
42+
43+
![](../../assets/20250430121243982678.png)
44+
45+
![](../../assets/20250430121244255037.png)
46+
47+
By following these steps, you can ensure your custom domain is connected correctly.

0 commit comments

Comments
 (0)