Resolving Provisioning Issues with Delphi 12.1 for macOS ARM64 App Deployment on Mac

Abstract: Fix Delphi 12.1 macOS ARM64 deployment errors by switching the Release configuration provisioning profile from App Store to Development or Ad Hoc.

Created: 2026-10-20 by
The error occurs because the Release configuration defaults to App Store distribution, which requires specific entitlements and certificates. Switching the Deployment Provisioning profile to "Development" or "Ad Hoc" resolves the immediate signing conflict. This allows you to deploy directly to a connected Mac for testing without needing an active App Store Connect subscription.

Understanding the Deployment Configuration

When you build a macOS application in Delphi 12.1 targeting ARM64 (Apple Silicon), the IDE uses different provisioning profiles based on the active build configuration. The Debug configuration typically works out of the box because it uses a local Development certificate tied to your Apple ID. However, the Release configuration is stricter. By default, Delphi often points the Release deployment target toward an App Store distribution profile. If you do not have an App Store Developer account enrolled, or if your current team does not have the specific "App Store" provisioning profile generated in the Apple Developer Portal, the deployment process fails. The IDE complains about missing or invalid certificates because it cannot find a valid signature that satisfies the App Store requirements. This is a common point of confusion for developers who only need to test their app locally before submitting it to the store.

Locating the Provisioning Settings

To fix this issue, you must manually override the provisioning profile used during the deployment phase. You do not need to change the global project settings permanently; you can adjust these settings specifically for the configuration you are building. Follow these steps to locate the correct menu path:
  • Open your project in the Delphi IDE.
  • Navigate to the Project Manager window.
  • Right-click on your main project file or the Deployment node within the project tree.
  • Select Options from the context menu.
  • In the Options dialog, expand the Application category on the left sidebar.
  • Click on Deployment.
This area controls how the IDE packages and signs your application when you choose "Run" or "Build" with a remote debugger attached.

Changing the Release Configuration Profile

Once you are in the Deployment options, you will see a dropdown menu labeled Provisioning. This is the critical setting that determines which certificate and profile the IDE uses to sign your binary. For local testing on a Mac, you should not use the App Store profile. Instead, follow these actions:
  1. Ensure the Configuration selector at the top of the Options dialog is set to Release.
  2. Find the Provisioning dropdown list.
  3. Change the selection from App Store to Development or Ad Hoc.
  4. If you do not see these options, ensure you have installed the necessary developer certificates in your macOS Keychain Access utility.
Selecting Development is usually the safest bet for immediate debugging. It uses the same certificate as your Debug builds but applies the Release optimization settings. If you plan to distribute the app to testers via a direct link (not the App Store), choose Ad Hoc, provided you have added the target device's UDID to your Apple Developer account.

Verifying Certificate Availability

After changing the provisioning profile, you must ensure that the corresponding certificate exists on your machine. Delphi relies on the macOS keychain to find valid signing identities. If you switched to Ad Hoc but lack the certificate, the build will still fail. Check your Keychain Access application on your Mac:
  • Open Keychain Access.
  • Search for Developer ID Application or Mac Developer.
  • Verify that the certificate is marked as Valid and has not expired.
If the certificate is missing, go to the Apple Developer Portal, navigate to Certificates, Identifiers & Profiles, and generate a new one. Download the .cer file and double-click it to install it into your keychain. Once installed, restart the Delphi IDE to refresh its cache of available signing identities.

Testing the Deployment

With the configuration updated, attempt to run your application again. Go to Run > Run or press F9. The IDE should now successfully sign the executable using the Development or Ad Hoc profile and deploy it to your Mac. If you encounter permission errors regarding the microphone or camera, ensure that your app’s Info.plist includes the appropriate usage descriptions. Additionally, verify that your Mac’s Security & Privacy settings allow unsigned apps from identified developers if you are using a non-App Store profile. For more information on handling cross-architecture issues on modern Macs, you might find Can't Find x86_64 Versions of Applications on MacOS arm64 (M1) useful for understanding broader compatibility layers.

Frequently Asked Questions

Why does Debug work but Release fail?

Debug configurations automatically use your local Development certificate, which is easy to obtain. Release configurations often default to stricter App Store profiles that require specific entitlements and a paid developer account enrollment.

What is the difference between Development and Ad Hoc provisioning?

Development profiles allow installation on up to 100 registered devices and are intended for debugging. Ad Hoc profiles allow installation on any number of registered devices but are intended for beta testing and cannot be used for App Store submission.

Can I submit an app built with a Development profile to the App Store?

No. Apps submitted to the Mac App Store must be signed with an App Store Distribution certificate. Using a Development or Ad Hoc profile will result in rejection during the review process.

Where do I find my Apple ID certificate in Delphi?

Delphi automatically scans your macOS Keychain for valid certificates. You do not import them into Delphi directly; instead, ensure they are installed in your Mac’s Keychain Access app and then select them from the Provisioning dropdown in the Project Options.

Does this issue affect iOS deployments?

Similar provisioning rules apply to iOS, but the menu paths differ slightly under the iOS deployment section. The core concept of switching from App Store to Development profiles for local testing remains the same across platforms.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More