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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #990768