When building for macOS, Xcode expects the provisioning profile's file extension to be .provisionprofile instead of .mobileprovision. The profile attributes includes the platform for the profile (which would be either IOS or MAC_OS, docs here and here), so I've updated the code that saves downloaded profiles to account for this.
I'm not sure why index.js got rebuilt with different formatting (and a lack of semi-colons), please bear in mind that I'm not a JS dev so if there's a better / more canonical way for doing this just let me know 👍🏻
When building for macOS, Xcode expects the provisioning profile's file extension to be
.provisionprofile
instead of.mobileprovision
. The profile attributes includes the platform for the profile (which would be eitherIOS
orMAC_OS
, docs here and here), so I've updated the code that saves downloaded profiles to account for this.I'm not sure why
index.js
got rebuilt with different formatting (and a lack of semi-colons), please bear in mind that I'm not a JS dev so if there's a better / more canonical way for doing this just let me know 👍🏻