Search Issue Tracker
By Design
By Design in 2023.1.X
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.
Resolution Note (2023.1.X):
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.