Skip to content
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

Godot Mono iOS export can't be compiled with Xcode 12 or later: "Cannot load assembly (refonly): 'Xamarin.iOS'" #42960

Closed
fadexmusic opened this issue Oct 21, 2020 · 10 comments · Fixed by godotengine/godot-mono-builds#40

Comments

@fadexmusic
Copy link

Godot version:
v3.2.3.stable.mono.official

OS/device including version:
MacOS Catalina 10.15.7, Macbook Pro 15" 2017,
.NET core SDK 2.1.809, Xamarin iOS 14.0.0.0

Issue description:
When I try to export for iOS, I get these errors:

Cannot load assembly (refonly): 'Xamarin.iOS'.
Cannot load one of the dependencies for the assembly: 'System.Net.Http'.
Cannot load one of the dependencies for the assembly: 'netstandard'.
Cannot load one of the dependencies for the assembly: 'GodotSharp'.

The Xcode project gets created, but I cannot build it to test on either the simulators or my iOS device.
I didn't have this problem yesterday, before updating to Xcode 12.

Steps to reproduce:

  1. Create a mono project
  2. Export to iOS

Minimal reproduction project:
test.zip

@fadexmusic fadexmusic changed the title Godot mono errors when exporting to iOS. Godot mono iOS export "Cannot load assembly (refonly): 'Xamarin.iOS'" Oct 22, 2020
@fadexmusic
Copy link
Author

Any ideas? @neikeq

@neikeq
Copy link
Contributor

neikeq commented Oct 24, 2020

Unfortunately I lost access to the mac I was borrowing so I'm not being able to work on the iOS port right now. I plan to buy one of the new arm macbooks once they come out and get back to this.

@neikeq neikeq added this to the 4.0 milestone Oct 24, 2020
@mars3142
Copy link

@neikeq You've set the milestone to 4.0. Is there a visible roadmap for v4.0? Because right now no deployment of Godot mono is possible with the latest stable build in Xcode 12.

@neikeq
Copy link
Contributor

neikeq commented Nov 16, 2020

Adding it to the 4.0 milestone doesn't mean it won't be fixed in a future 3.2.x release. I will talk about my roadmap in the next devlog. I've bough one of the new arm macbooks so I will be able to get back to iOS issues in December.

@sonenko
Copy link

sonenko commented Dec 28, 2020

reproduced same issue

@ksvslk
Copy link

ksvslk commented Jan 25, 2021

Have the same issue. Is this planned for 3.2.4 or it is impossible to build for iOS for now?

@Calinou Calinou changed the title Godot mono iOS export "Cannot load assembly (refonly): 'Xamarin.iOS'" Godot Mono iOS export can't be compiled with Xcode 12 or later: "Cannot load assembly (refonly): 'Xamarin.iOS'" Jan 25, 2021
@Calinou
Copy link
Member

Calinou commented Jan 25, 2021

Have the same issue. Is this planned for 3.2.4 or it is impossible to build for iOS for now?

This issue isn't on the roadmap for 3.2.4, so there's no guarantee it will be fixed by the time 3.2.4 is released.

@ksvslk
Copy link

ksvslk commented Jan 25, 2021

Have the same issue. Is this planned for 3.2.4 or it is impossible to build for iOS for now?

This issue isn't on the roadmap for 3.2.4, so there's no guarantee it will be fixed by the time 3.2.4 is released.

Ok. Any workaround, using earlier Xcode?

@Calinou
Copy link
Member

Calinou commented Jan 25, 2021

Ok. Any workaround, using earlier Xcode?

Yes, that can probably work.

@ksvslk
Copy link

ksvslk commented Jan 25, 2021

Ok. Any workaround, using earlier Xcode?

Yes, that can probably work.

Tried with Xcode 11.7 - same thing. Do I need to create new Xcode export templates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants