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

IOS flutter_unity_widget build failed (UnityAppController) #32

Closed
TarekMedhat opened this issue Aug 15, 2019 · 4 comments
Closed

IOS flutter_unity_widget build failed (UnityAppController) #32

TarekMedhat opened this issue Aug 15, 2019 · 4 comments

Comments

@TarekMedhat
Copy link

TarekMedhat commented Aug 15, 2019

I'm having the following errors while building the IOS after following the documentation steps.
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_UnityAppController", referenced from: objc-class-ref in FlutterUnityWidgetPlugin.o objc-class-ref in UnityUtils.o ld: symbol(s) not found for architecture x86_64
Another project:
Undefined symbols for architecture x86_64: "_GetAppController", referenced from: -[FUController view] in FlutterUnityWidgetPlugin.o ___20-[FUController view]_block_invoke in FlutterUnityWidgetPlugin.o +[UnityUtils handleAppStateDidChange:] in UnityUtils.o ___27+[UnityUtils createPlayer:]_block_invoke.68 in UnityUtils.o ld: symbol(s) not found for architecture x86_64
any clues?

@juicycleff
Copy link
Owner

Hi @TarekMedhat you exported you unity project for the wrong architecture. Please make sure if you are exporting to test on Real Device, remove the UnityExport reference in Xcode, before exporting

@juicycleff
Copy link
Owner

I will just go ahead and close this.

@AlexanderFarkas
Copy link

@juicycleff Could you please specify, how to remove UnityExport reference?

@WouterVandenputte
Copy link

@juicycleff Could you please specify, how to remove UnityExport reference?

Would love to be able to fix this too. Have you found it yet @SashaFarkas ?

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

No branches or pull requests

4 participants