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
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
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.