Apple-Actions / download-provisioning-profiles

Github Action for downloading provisioning profiles from Apple AppStore Connect
MIT License
74 stars 37 forks source link

Fix profile provisioning file extension for macOS #11

Closed simba909 closed 2 years ago

simba909 commented 3 years ago

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 👍🏻

simba909 commented 3 years ago

Update: this resolves #9