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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
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.