-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode compile error when using .Net 4.6 backend in Unity #31
Comments
This looks weird: Which Unity / Xcode version do you use? In Unity, which .net framework version did you use? When building Unity, did you choose "Append" or "Replace"? My gut feeling is the il2cpp files are messed around in the |
I deleted original comment regarding building unity project directly... It was for another issue. I posted in the wrong thread. |
Ok, after some more testing i found out that using .Net 4.6 seems to cause this problem. I tested it using Unity 2017.3.f02 and Unity 2017.3.f03 with the same results. Unfortunately my Unity project uses .Net 4.6 and it would be really hard to go back to 3.5. Is there a way to solve this problem? |
Yes. There is a comment in
|
If vanilla Unity project can be built but Swift project throws errors. Usually it is caused by different compiler / linker flags... |
Feel free to re-open this issue if you still have problems. |
After i (successfully) build my Unity project, the demo project fails to compile:
/Users/ionutdobrinescu/Development/UnityIntegration/V2/iOSProject/DemoApp/Unity/Classes/Native/Bulk_System.Configuration_0.cpp:25861:85: error: no member named 'Configuration' in namespace 'il2cpp::icalls::System'
return ((InternalConfigurationHost_get_bundled_app_config_m1191888808_ftn)System::Configuration::System::Configuration::InternalConfigurationHost::get_bundled_app_config) ();
I have some external frameworks that i use and i tried to link them but this doesn't seem to be the problem.
Do you have any ideea how to solve this?
The text was updated successfully, but these errors were encountered: