Why does opening a .pkg file on an M1 Mac cause the prompt to install Rosetta 2 appear? I would've thought there would be a Universal version of the installer application included with Big Sur. I couldn't find any updated information on how we're to distribute software outside of the App Store on Macs with Apple Silicon. I've already got a Universal version of my application and all of its necessary resources in a .pkg file but my users are confused by the prompt to install Rosetta 2 when trying to install my software.
https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW41
hostArchtectures="x86_64,arm64"
We were able to solve this problem by specifying arm64 in hostArchtectures attribute.
hostArchtectures="x86_64,arm64"
We were able to solve this problem by specifying arm64 in hostArchtectures attribute.