Installing provisioning profile for Notification Content Extension iOS
Application Type


I am trying to implement Rich Push Notifications for Airship by adding a Notification Content Extension bundle. In our plugin we have a hook that installs the provisioning profile associated with the extension bundle via the following javascript:

var targetFolder = path.join( require("os").homedir(), 'Library/MobileDevice/Provisioning Profiles');

That translates to the following directory during app generation:

/Users/sandbox04/Library/MobileDevice/Provisioning Profiles/

But it's issuing the following error:

Error: ENOENT: no such file or directory, scandir '/Users/sandbox04/Library/MobileDevice/Provisioning Profiles'

Is there a better way to do this during app generation or is it not possible?

Thank you in advance,

Pedro Remédios


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.