*.pkg Not compatible with your MacOS

Hello,


Is there any way to debug why my pkg is nt compatible with my MacOS?

I was building the "*.app" using Qt and deploy by `macdeployqt`. After check every Frameworks and plugins paths the next step was:


- `pkgbuild --component <NAME>.app --install-location /Application <APP_NAME>.pkg`

and


`sudo productbuild --package <APP_NAME>.pkg --content <APP_NAME>.app --sign "Developer Install ID: (XXXXX)" <SIGNED_APP_NAME>.pkg `


I was trying to Install <SIGNED_APP_NAME>.pkg but Instaler throws me an error: "This package is incompatible with your version of MacOS".


I'm using MacOs 10.15. + I found also that there is no codesign folder in my bundle is that might be a reason?


Maybe I missed something?

Are you really trying to install into

/Application
(without the S)? Or is that just at typo in your forums post?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Ah, yeah it's just a typo. The paths it's corrent with s.

Can I presume that

Developer Install ID
is similarly just a typo?

Anyway, my installer chops are very limited, alas. This is the recipe I use for creating an installer package for a simple application:

% productbuild --sign "Developer ID Installer" --component Test711909381.app /Applications Test711909381.pkg

Try it out and see if it works for you. If not, my advice is that you open a DTS tech support incident and discuss this with our installer specialist.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
*.pkg Not compatible with your MacOS
 
 
Q