OneSignal-iOS-SDK
OneSignal-iOS-SDK copied to clipboard
Fix provision detection
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