Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b5
Issue ID
996369
Regression
No
[iOS] [.NET 2.0] Xcode fails to compile specific exported project due to Error: No member named 'GetHostByName40'
After exporting the attached project to iOS/IL2CPP using .NET Standard 2.0, XCode fails to compile.
Steps:
1. Open the attached project ("Microsoft.ProjectOxford.Face.zip") with 2018.1 and set Build target to iOS
2. Build Settings > Api Compatibility Level: .NET Standard 2.0
3. Build and run using Xcode
Result: Xcode fails to compile project due to errors:
/Users/lukasa/Desktop/Microsoft.ProjectOxford.Face/aaa/Classes/Native/Bulk_System_1.cpp:22906:81: No member named 'GetHostByName40' in 'il2cpp::icalls::System::System::Net::Dns'; did you mean 'GetHostByName'?
/Users/lukasa/Desktop/Microsoft.ProjectOxford.Face/aaa/Classes/Native/Bulk_System_1.cpp:22913:81: No member named 'GetHostByAddr40' in 'il2cpp::icalls::System::System::Net::Dns'; did you mean 'GetHostByAddr'?
Reproduced with: 2018.1.0b5.
Not reproduced with: 2017.3.1f1 (due to Errors in the Unity Console).
Tested with: iPad Pro 12.9 (2017) iS 11.2.1, Xcode 9.2.
Note: no error in Xcode when Api Compatibility Level is set to .NET 4.6.
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
- Ping/Highlight animation pauses playing when a GameObject was selected in the Search window and the Actions context menu is opened
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
This is a duplicate of issue #990768