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"

iOS

-

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

  1. 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.

Add comment

Log in to post comment