juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.13k stars 515 forks source link

Undefined Symbol : Xcode failed to build into physical device #559

Open callmejm opened 2 years ago

callmejm commented 2 years ago

This errors is from UnityFramework flutter_unity_widget: ^2020.3.25 Unity version: 2020.3.24f1

Undefined symbols for architecture arm64:
  "__GoForward", referenced from:
      _iOSInAppBrowser__GoForward_mF5A7E7C73B9D3C5F141A3FE010CD2B48E55F5E47 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__GoForward_mF5A7E7C73B9D3C5F141A3FE010CD2B48E55F5E47)
  "__GoBack", referenced from:
      _iOSInAppBrowser__GoBack_m1D52C9B9D0FC4DC9BAD42D900BCA523A5366D767 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__GoBack_m1D52C9B9D0FC4DC9BAD42D900BCA523A5366D767)
  "__IsInAppBrowserOpened", referenced from:
      _iOSInAppBrowser__IsInAppBrowserOpened_m8E07BD1C0D5A2CFE700841D0D2AB1F09FA059BCA in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__IsInAppBrowserOpened_m8E07BD1C0D5A2CFE700841D0D2AB1F09FA059BCA)
  "__ClearCache", referenced from:
      _iOSInAppBrowser__ClearCache_mBC6C598C2D003226071DEBBBC2E773F6E1832862 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__ClearCache_mBC6C598C2D003226071DEBBBC2E773F6E1832862)
  "__SendJSMessage", referenced from:
      _iOSInAppBrowser__SendJSMessage_m11E8EBBDE6304F33FC667143692561ABD0FAFC23 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__SendJSMessage_m11E8EBBDE6304F33FC667143692561ABD0FAFC23)
  "__LoadHTML", referenced from:
      _iOSInAppBrowser__LoadHTML_m86A5B872061BDD20758A3673E6AC5ECE78DF0BC9 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__LoadHTML_m86A5B872061BDD20758A3673E6AC5ECE78DF0BC9)
  "__CanGoForward", referenced from:
      _iOSInAppBrowser__CanGoForward_m2F6CD1E3E89092840CF2209481A8D13F670036DE in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__CanGoForward_m2F6CD1E3E89092840CF2209481A8D13F670036DE)
  "__CanGoBack", referenced from:
      _iOSInAppBrowser__CanGoBack_m925BFF1938D6D32B83417F7395DF695D9D605F16 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__CanGoBack_m925BFF1938D6D32B83417F7395DF695D9D605F16)
  "__CloseInAppBrowser", referenced from:
      _iOSInAppBrowser__CloseInAppBrowser_m76949DAAEBAB3FE447E6B092E50248F6FB14A436 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__CloseInAppBrowser_m76949DAAEBAB3FE447E6B092E50248F6FB14A436)
  "__OpenInAppBrowser", referenced from:
      _iOSInAppBrowser__OpenInAppBrowser_mD167C9D37ACCFE3242E73E4F19A3CFB682DACCF2 in Assembly-CSharp1.o
     (maybe you meant: _iOSInAppBrowser__OpenInAppBrowser_mD167C9D37ACCFE3242E73E4F19A3CFB682DACCF2)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Screenshot 2022-04-06 at 6 18 01 PM
iletai commented 2 years ago

Make sure step config and export in Unity are working following Readme guidline. In the process running in flutter could be facing something else so let's run something to detect. Example: flutter clean to clean your flutter cache,.. flutter pub get to re-install the package flutter run to run the project