Search Issue Tracker

By Design

Votes

0

Found in

2020.3.44f1

2021.3.17f1

2022.2.3f1

2023.1.0a26

Issue ID

UUM-23149

Regression

No

Building crashes and “No known class method for selector 'ringtoneSoundNamed:'“ error appears when building a project with the Mobile Notifications package using specific Xcode versions

-

How to reproduce:
1. Build the attached “MobileNotificationsTest.zip” project for iOS
2. Open the Xcode project
3. Go to Menu > Product > Build
4. Observe the result

Expected result: App is built
Actual result: Building crashes and errors “No known class method for selector 'ringtoneSoundNamed:'” and “Property 'defaultRingtoneSound' not found on object of type 'UNNotificationSound'“ appear

Reproducible with: 2.1.1 (2020.3.44f1, 2021.3.17f1, 2022.2.3f1, 2023.1.0a26)

Reproduced on: macOS 12.4 (Intel)

Notes:
- Reproducible when pressing Product > Build or building to iOS device
- Reproduced on Xcode 13.1 and 13b5
- Not reproduced on Xcode 14.0 beta 2

  1. Resolution Note:

    New versions of Mobile Notifications give access to newest iOS features. That requires newer iOS SDK, which are provided by newer versions of Xcode. As a result, older versions of Xcode are unable to compile the code due to missing APIs.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.