When building release configuration there is a runtime crash on Airship.takeoff() method: "object cannot be nil" when accessing "sharedURLSession" during Airship initialisation. We use SPM for managing libraries.
What is the expected behavior?
The takeoff() method should finalise successfully.
What are the steps to reproduce the unexpected behavior?
❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].
Preliminary Info
What Airship dependencies are you using?
AirshipCore, 17.7.0 AirshipAutomation, 17.7.0 AirshipMessageCenter, 17.7.0
Report
What unexpected behavior are you seeing?
When building release configuration there is a runtime crash on Airship.takeoff() method: "object cannot be nil" when accessing "sharedURLSession" during Airship initialisation. We use SPM for managing libraries.
What is the expected behavior?
The takeoff() method should finalise successfully.
What are the steps to reproduce the unexpected behavior?
Building project with release configuration.
Do you have logging for the issue?