Dear macOS Productbuild and pkgbuild experts (without/not using the Xcode)
This is my last hurdle after going through a huge learning journey on product build and pkgbuild
I get the error from Appstore
- "ITMS-90264: The lowest minimum system version [none] in the Product Definition Property List must equal the 'LSMinimumSystemVersion' value [10.9] in the 'Info.plist'. "
In my App/Contents/Info.Plist there is
`<key>LSMinimumSystemVersion</key>
<string>10.9</string>`
Now when I build the package as per the following sequence
`pkgbuild --analyze --root "./pkgbuild/app_path/" app.plist
pkgbuild --root "${ROOTFOLDER}" --identifier "${IDENTIFIER}" --version ${VERSION} -- component-plist ./app.plist --install-location "/Applications" \
--sign "${IDENTITY}" \
"${PKGNAME}.pkg"
#productbuild --synthesize --package Final.pkg distribution.xml
productbuild --distribution ./distribution.xml --resources ~/Desktop/resources --identifier com.myorg.uniqueid --version ${VERSION} --sign "${IDENTITY}" --product ~/Desktop/modInfo.plist outputFinal.pkg`
Question Where do I incorporate the the lowest minimum system version none in the Product Definition Property List " to 10.9 ? and what do I need to insert in what file, how?
Deeply appreciate if I can get some pointers.
Thanks in advance
You need to include a
product_definition.plistwith the minimum os version. It should look similar to:Your
productbuildcommand would become:So basically we've changed your
modInfo.plistto the correct name (product_definition.plist) and included the key to handle the minimum os version.