Jump to content
Typer2

Deploy application to macOS which includes command line utility

Recommended Posts

I have created and deployed an FMX based macOS application.

 

Initially this application works without issues, but now I want to include a command line utility that I intend to call from within the main application. I have compiled this utility with make and used codesign on the Mac (and verified it) and then copied it to my Windows machine in order to add it to the Deployment with my Delphi project.

 

 

But with this setup the deployment fails with:

 

[PAClient Error] Error: E0264 Unable to execute '"/usr/bin/codesign" -o runtime --timestamp --entitlements "/Users/me/PAServer/scratch-dir/def/MyApp.entitlements" --deep -s "MyCompany" -f "/Users/me/PAServer/scratch-dir/def/MyApp.app"' (Error 1)
[PAClient Error] Error: E0264 /Users/me/PAServer/scratch-dir/def/MyApp.app: main executable failed strict validation
[PAClient Error] Error: E0264 In subcomponent: /Users/me/PAServer/scratch-dir/def/MyApp.app/Contents/MacOS/utility

 

Is there anyone who has successfully did something similar? What might be the problem here? Any help is appreciated!

Share this post


Link to post

After some more digging into the problem, I finally realized the utility was corrupted after moving it from Mac to Windows, using FileZilla. First compressing it solved the problem.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×