Dmg files vanish while AppWrapper is trying to package my apps

Watching this thread, I was hoping for a solution. Seems, there is one now. :smiley:

Did you also have this issue?

Sorry, I’ve still not updated to 27, using 26 yet.

I do have the same issue today. I am using macOS 27.0.1. It started after I updated my computer to that system. I don’t see any macOS 27.0.2 available; I guess it is still beta.

It’s 27.2 beta 2

I’m immensely reassured to be not alone. I spent several weeks wondering how I could be the only one impacted, on my two main computers (corrupted session propagated by iCloud, etc.… One can overthink a lot, especially when searching on Internet gives no result).
You may allow betas to install to get rid of this issue in 27.0.2 (or downgrade, but it’s not a suggestion I’d give).

The issue is back :expressionless_face:.

Asking Google AI why this issue isn’t wildly reported, it responded this:

Most developers use Zip format or DMG Canvas: The large majority of App Wrapper users targeting web deployment choose .zip output directly (which relies on native macOS CLI binaries and bypasses AppleScript completely) or use DMG Canvas. The DMG Canvas pipeline communicates with App Wrapper using entirely separate APIs.

I personally don’t want to provide my apps using Zip (I just love the simplicity of having disk images auto-mounted, with the flexibility it provides). Also, since I bought DropDMG, I’d like to avoid buying DMG Canvas as well.
I’d like to know whether someone else is also using DropDMG with App Wrapper without getting troubles, so I can validate Google’s AI’s reply, please.

FWIW, it also mentions this:

The AppleScript Bridge Version Gap: DropDMG 3’s automation interface was engineered years before modern macOS security rules were put in place. When running on modern versions of macOS, the legacy IPC handoff architecture frequently struggles to track file ownership changes between separate third-party sandboxes.

To be trusted? :man_shrugging:
(when AI bot will discover I’m doubting what it tells me next time I ask it, who knows whether it’ll still help me? :laughing:)

I do, and have done so ever since Sam added the option.

Google AI consistently gets things wrong, and I tired of it ages ago.

I have the same opinion, but it happens to give correct explanations sometimes, too. That’s why I asked.

Thank you for confirming.
No clue left to narrow this problem :sweat_smile:

I have spent a lot of time on that, but there’s still no solution. I have to create the disk image and notarize it manually.

I don’t want to sound like the AI-Fanboy here, but perhaps it would be worth letting an AI have a go at it—running directly on your own computer? They can be very “creative” when it comes to troubleshooting, and they’re able to scan and interpret logs in no time.

Just a thought… :slight_smile:

Using:

sudo fs_usage -w -f filesys 2>&1 | awk ‘/MyDiskImageName/ { print; fflush() }’ > ~/Desktop/dmg-file-activity.txt

I get an activity log, and inside that activity log I can read:

unlink /Users/maxprog/Last Built/Maxprog Website/MyDiskImageName.dmg

So yes, App Wrapper is removing the file.

What is your destination set to be?

It may be copying the file somewhere, then deleting the original.

Try setting this to just Same as Application

image

My destination is ‘Same as application’. A few lines above the deletion I can see the temp file deletion command:

unlink /Users/maxprog/Last Built/Maxprog Website/MyDiskImageName_Temp.dmg

FWIW, my version of this issue doesn’t mention any unlink log during the problem. Possibly another kind of issue :man_shrugging:

I used Terminal with this command:

sudo fs_usage -w -f filesys 2>&1 | awk '/MyDiskImageName/ { print; fflush() }' > ~/Desktop/dmg-file-activity.txt

Then I tried to create a disk image with App Wrapper, and in the dmg-file-activity.txt file, I can see those unlink commands.

That shows App Wrapper is deleting both the temp and final files. The only solution is to fix that in App Wrapper or use DMG Canvas instead.

I have finally bought a DMG Canvas licence. Too bad for the DropDMG one, but at least it works now.

Then it’s a DropDMG issue, for sure. I’m also a DMG Canvas user, as this one was the first DMG creation tool AppWrapper had integrated.

I’m sure the DropDMG developer would love a report on this. I remember reporting an issue with App Wrapper to the DMG Canvas folks, some years ago.

I’ve already reported this to him. He just has no clue.