Thank you for your reply.
Unfortunately, creating a package using productbuild results in the same zero-byte file written to /Applications.
I used the command:
productbuild --sign <Identity> --component <PathToApp> /Applications <PathToPackage>
Interestingly, if my coworker creates the application on his machine, I can then use his application in my pkgbuild script and the installation succeeds.
Both his application and the application I build on my machine are signed with the same company Developer ID Application and are notarized.
Both applications also run on my machine and have the same functionality, as their source was pulled from the same branch.
We are both using XCode 16.2.
This problem only started to happen on my machine last week.
Does the pkgbuild command have a cache that can be deleted?
Thank you for your time.
Topic:
Developer Tools & Services
SubTopic:
General
Tags: