Dgbaxter
Dgbaxter

Reputation: 61

Getting deployment error with Delphi 11.3 and an FMX app for OSX

I must have changed something in my build because it used to be OK. Situation is a Delphi FMX application set to build for OSX. The debug build works fine and once upon a time I was able to Deploy and get a zip file of the app on the Mac Mini like I should. But now I get:

[PAClient Error] Error: E0264 Unable to execute '"/usr/bin/codesign" -o runtime --timestamp --deep -s "Developer ID Application: David Baxter (DYVQN6TA94)" -f "/Users/davidbaxter/PAServer/scratch-dir/Dave-Mac Build/CuePlayerPro.app"' (Error 1) [PAClient Error] Error: E0264 /Users/davidbaxter/PAServer/scratch-dir/Dave-Mac Build/CuePlayerPro.app: bundle format unrecognized, invalid, or unsuitable

How do you recover from this? What could I have changed to cause this? Again, it's Delphi 11.3.1 running on Windows 11 sending to a Mac Mini running 13.4 and the current Xcode. Thank you.

Upvotes: 1

Views: 316

Answers (2)

user30478
user30478

Reputation: 401

I faced the same issue today in FMX Android. Due to moving around project folders maybe the splash screen and launcher icons got invalid linked (undiscoverable) in the project options. I added the icons (as the IDE prompted me) but forgot or got no notification for splash screen.

  1. Updated the links in the options. Checked 'Deployment' tab and the grayed entries were gone automatically after closing the tab and reopening it.
  2. Doing a build outside was of no help. Recently got a helpful tip somewhere about the 'cd with play icon' in the deployment tab, that is supposed to deploy(and build). This is what generated my apk and solved the problem.

Note: the outer build done from the project window for example, helps generate and remove some of the gray entries. So, it is better to do that finally before clicking the 'cd with play icon' once you have sorted the manually sortable entries.

Upvotes: 0

Dgbaxter
Dgbaxter

Reputation: 61

It was, indeed, something I added. So that others don't fall into the same situation - the problem appears to come from my doing a deployment before adding my .icns file to the deployment list. Delphi added one of its own "CuePlayerPro_PROJECTICNS.icns" as a default. Later, I added the real .icns file to the list. I noticed that there were two icns files, but Delphi did not allow me to delete the one it added, so I figured it must need to be there. Among many things trying to fix the deployment, I clicked the "Revert to Default" button, which did delete the PROJECTICNS file and allow the deployment to proceed.

Upvotes: 0

Related Questions