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
- Previous model to world matrix is not correctly set for ASW
- More calls are made to GC.Alloc in an HDRP Sample Template when compared to the 2022.3 stream
- Generating Light Probe lighting returns inconsistent results on a specific mesh
- Two Warnings appear for every Soft Delete Operation when Deleting Sub Assets in the Project Browser
- “Item m_LightProbeSystem not found” warning is thrown when pressing the “Open” button multiple times in the Adaptive Probe Volume component warning
This is a duplicate of issue #990768