Search Issue Tracker
By Design
Votes
0
Found in
2019.2.21f1
2019.3.9f1
2020.1
2020.2
Issue ID
1249679
Regression
Yes
[iOS]Locale plug-in fails to build in Xcode with errors "Cannot find interface declaration for 'NSObject', superclass of 'Local"
How to reproduce:
1. Open the attached TestiOSPlugins2019.2.zip project
2. Build for iOS and deploy the Xcode project to the device
Actual: Errors in the Xcode (see the FFF.png attached in the Edit section)
Expected: Xcode project is successfully deployed to the device
Reproducible with: 2019.3.9f1, 2019.3.15f1, 2020.1.0b11, 2020.2.0a13
Not reproducible with: 2018.4.23f1, 2019.3.8f1
Errors:
- Cannot find interface declaration for 'NSObject', superclass of 'Locale'
- Expected a type
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
- "Playmode tint" is applied to Color and Gradient fields when in Play mode
- [HDRP] Scene corrupts when baking Reflection Probe with custom TextureImporter preset added to Texture Importer default
- HDRP Wizard window UI components overlap when HDRP Wizard window is docked and resized horizontally
- VideoPlayer component fails to play MP4 files located under the StreamingAssets folder
- Terrain Tools icons are low quality
Resolution Note (2020.2.X):
With the introduction of Unity as a Library, the included headers are compiled.
For the compilation error in this particular case, adding "#import <Foundation/NSObject.h>" at the top of the header fixes the issue.