Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Building for iOS using with Unity 2020 #108

Closed
wchacn opened this issue Mar 15, 2021 · 5 comments
Closed

Building for iOS using with Unity 2020 #108

wchacn opened this issue Mar 15, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@wchacn
Copy link

wchacn commented Mar 15, 2021

Describe the bug
Hi, we tried to build the our own app based on the SDK with Unity 2020.2.6f1. Works flawlessly for UWP and Android, however, when building for iOS, Xcode throws some semantic errors:

Screenshot 2021-03-15 at 14 43 09

Any idea what could be the underlying issue here?

Is there generally a plan to support Unity 2020?

Thanks a lot!

To Reproduce
Steps to reproduce the behavior:

  1. Build sample app with Unity 2020.6f1 for iOS and try to build in Xcode

Environment (please complete the following information):

  • Unity version: 2020.2.6f1
  • Maps SDK Package version: latest
@wchacn wchacn added the bug Something isn't working label Mar 15, 2021
@kircher1
Copy link
Contributor

Thanks for the bug report. This looks like a possible regression in Unity. IL2CPP is expanding the DLL import path with the slashes into a code define. Since the slash isn't a valid character for a #define, there will be compilation errors. I haven't seen this in 2019.4.

@OneMilkTwoStraws
Copy link

Same problem here with Unity2020.2 - help will be highly appreciated!

@romgithubb
Copy link

romgithubb commented Mar 26, 2021

It seems to be the same on Android (with IL2CPP) -> tested with Unity 2020.3.0 and 2020.3.1
Thanks in advance for your help !

@kircher1
Copy link
Contributor

This should be fixed on 10.2-- I've verified IL2CPP builds on Android and iOS (simulator) for 2020.3. Let me know if there are any further issues. Thanks!

@OneMilkTwoStraws
Copy link

Thanks a lot for the solution! It works perfectly on iOS after building with Unity 2020.3 :) Now we can build on all platforms again - have a great weekend.

@kircher1 kircher1 closed this as completed May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants