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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.