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

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_UnityAppController" #53

Open
CurralesDragon opened this issue Jul 12, 2021 · 4 comments

Comments

@CurralesDragon
Copy link

Hi guys

Does anyone know why i'm getting this error when trying to build:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_UnityAppController", referenced from:
      objc-class-ref in libreact-native-unity-view.a(UnityUtils.o)
      objc-class-ref in libreact-native-unity-view.a(RNUnityViewManager.o)
ld: symbol(s) not found for architecture armv7

I recently updated unity version, i can build and run just fine to physical device. But when trying to build to archive im presented with the above error?

@harishsn
Copy link

any solution ?

@CurralesDragon
Copy link
Author

CurralesDragon commented Jul 16, 2021 via email

@daniel-keen
Copy link

Everything is set to arm64. Unfortunately that didn't help. Is there any other possible solution to the issue?

@SIYABARSHADFUSIONTECH
Copy link

These two solutions worked for me
First one
have solved this by selecting armv7 and arm64 both on buildsetting it worked for me.
Second One
Just Downgrade the Unity version because after 2020.1 unity does not support armv7 by default so choose 2019 or 18 but make sure to back-up your Unity project

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