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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
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.