OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

Fix provision detection

Open marvin-yorke opened this issue 4 years ago • 0 comments

Fix provision detection when path to provision file contains spaces

We use multiple schemas in our app and their names contain spaces, therefore build artefacts directories names contain spaces as well. Handling provision path as URL percent-encodes those spaces, so the file cannot be read even though it is present

provisioningPath = .../Mac%20Beta%20Debug-maccatalyst/AppName.app/Contents/embedded.provisionprofile

Building provisioning profile path as path string in the first place resolves this issue

This change is Reviewable

marvin-yorke avatar Mar 22 '21 12:03 marvin-yorke