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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
This is a duplicate of issue #990768