Automator creates corrupt APP (MacOS 13.3)

Tried to change several Automator Apps for my new Mac mini with 13.3. Workflows work fine. But when I save as APP the APP is corrupted and launches with an error message (sorry, I use a German system)

and the APP icon is presenting itself with a circle with a diagonal line through it and it is much smaller than expected for an App.


The problem seems to be 13.3 specific, Same problem on an iMac Pro with 13.3.


Any idea what to do? Thank you in advance.


I found a similar problem description (https://talk.tidbits.com/t/ventura-automator-bug-converting-a-workflow-to-an-app-corrupts-the-resulting-app/20953), but no reasonable solution. Yes, I can boot another (older) Mac with MacOS 12.x, create the Automator APP there and transfer the App to the mini with 13.3. That works, but ...

Mac mini, macOS 13.3

Posted on Apr 7, 2023 6:28 AM

Reply

Similar questions

9 replies

May 23, 2023 3:44 AM in response to Luis Sequeira1

Thank you, Luis Sequeira1! You seem to be one of the cornerstones of the support community. Your help is highly appreciated!

I fully agree that your point b) that is the typical problem. And I suspect that here is the culprit in the present case.

On the other hand in many cases you have to live with older equipment (like a 13 years old fax machine) as long as possible or with specific add-ons (e. g. to access SMART data of USB drives) and in some cases it is difficult to add them after a clean install. If you are in doubt you use the migration assistent and then you are almost in the situation with updating the old system. So the iMac Pro had the simple update. The Mac mini had the way with the migration assistent as there was no macOS 12.


I enclose the EtreCheck report for the Mac mini.

I browsed through the report. There was almost nothing that looked alarming to me, except the cashes. There are some relicts of old installations that might be reactivated with new licenses or are still there as part of the documentation of previous situations. - Nevertheless, fell free to comment. Even nasty comments might be helpful. Thank you in advance.

May 23, 2023 1:39 AM in response to Luis Sequeira1

Thank you for your kind reply and your suggestions!


Configuration: iMac Pro 2017 and Mac mini 2023 (M2 Pro) with macOS 13.4, Apple SSD, APFS formatted. I usually store Automator workflows and Apps in a shared folder. For testing I now used the desktop. In all cases (except for test) I used an administrator account.


Please, note that the way I use Automator is exactly the same as before with macOS 12 on the iMac Pro. I create and save workflows, test them and then use the option key to save as app ("Programm" in my German version). With macOS 13.4 the result is a corrupt or probably simply incomplete App, cf. below.


No "cleaner", but Bitdefender (and in several cases it was good to have Bitdefender in the past!). Results are the same when Bitdefender is deactivated.


As you suggested I created a new user account (standard user) and created a new workflow (simply to take a screenshot and store it on the desktop). Same problem with with corrupted app, i. e. systemwide effect.


Now some more details with one of my old workflows/apps. The following screenshot shows the corrupt app miniDownl (generated with Automator 2.10, Universal, Copyright 2004-2022, with macOS 13.4), the old app miniDownl Kopie (still working with 13.4, but generated with 12.6.4 and Automator 2.10, Universal, but Copyright 2004-2016) and the workflow miniDownl.


The icon of the new app looks suspicious and the size is even a bit smaller than the workflow and only about 1/10 of the old app miniDownl Kopie.

Doubleklick on miniDownl produces an error message similar to what I posted earlier:


... may be damaged or incomplete ...

The size suggests that at least it might be incomplete. Actually the corrupt package looks like


whereas the old package has many more ingredients:


So it seems to be obvious that the new app is no app and cannot be executed. It looks like the runtime part is missing.

Yes, the culprit could be some problem with the access rights or Bitdefender. Bitdefender shield was deactivated for tests, although not uninstalled - my experience is that uninstalling will only keep you busy. (Try to imagine how often I uninstalled and installed again.) And in the case of the iMac Pro the installation of macOS 13 was simply an update of macOS 12, and then the problem was there.


Unfortunately, I cannot simply replace the new Automator by the old one as this is part of the system.


I still have no realistic idea, but at least I now understand the problem a little bit better.


Thank you again!


PS: Maybe in the afternoon and with a good cup of coffee I shall uninstall Bitdefender and see what happens.








May 22, 2023 9:55 AM in response to VOGH

Nobody seems to use Automator any more. The problem persists with MacOS 13.4.


PS: You can create an App with AppleScript and execute the Automator Workflow (not the App) if you do not have a Mac with an older OS (cf. my original contribution).

Of course, I sent feedback to Apple, but ...

May 22, 2023 10:53 AM in response to VOGH

I create and update Automator workflows as applications all the time...


Where are you saving the applications? How is the drive formatted?


Do you have any antivirus or "cleaner"?


Can you test by creating a new Automator App in a new user account, and seeing if that makes any difference? This would let us determine if the problem is systemwide or restricted to your normal account.

May 23, 2023 1:54 AM in response to VOGH

Thank you for this detailed information.

Yes, it is clear from your screenshots that miniDowl is not a valid application.

If nothing else, the lack of a "MacOS" folder in the contents is a dead giveaway, and the size is indeed suspiciously small.


Most of us who have been around here for years agree that having BitDefender does not help, but there may other issues as well. Things that start happening after a system upgrade are usually caused by one of two things:

a) A system bug (yes, it can certainly happen)

b) Something that was already installed before the upgrade and that does not work correctly with the new system


Of the two, b) is the most common, and is all the most likely when users just upgrade system upon system (theoretically one could do have been doing this since 10.2 Jaguar, and it is not uncommon to see people who have been upgrading over the same system, across two or three macs, since 10.11 El Capitan).


The ease of just installing a new system over the existing one, year over year, comes with the downside that you end up with system extensions that were made with the 10.8 SDK and are bound to break at any time.


Please run Etrecheck and post its full report here. Use the "additional text" button and paste the report into the text box.


May 23, 2023 5:26 AM in response to Luis Sequeira1

Thank you to xnav and Luis Sequeira! Solved!


Yes, that solves the Problem. But it would even be better, if Apple would make the user interface to work as expected and as it was before. So Luis, I think this was your point a).

And why was I unable to find the solution? I searched for Automator ... Do we need AI, like ChatGPT?

Automator creates corrupt APP (MacOS 13.3)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.