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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
This is a duplicate of issue #990768