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.09k stars 505 forks source link

Issue after upgrade to Xcode 15 #883

Closed likwifi closed 9 months ago

likwifi commented 9 months ago

Describe the bug After upgrading to Xcode 15 I'm getting following error when unity view launches. Any ideas what could be possible cause of this? [ ] [Subsystems] Discovering subsystems at path /var/containers/Bundle/Application/A333446D-9A82-4A63-94A3-FD89CB0328B5/Runner.app/Frameworks/UnityFramework.framework/Data/UnitySubsystems [ ] GfxDevice: creating device client; threaded=1; jobified=0 [ ] Initializing Metal device caps: Apple A12X GPU [ +1 ms] Initialize engine version: 2022.3.10f1 (ff3792e53c62) [+1405 ms] Process 2814 stopped [ +1 ms] * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x16dc1fff0) [ ] frame #0: 0x000000011b2ae448 FlutterFlutterStandardCodecHelperReadValueOfType + 4 [ ] FlutterFlutterStandardCodecHelperReadValueOfType: [ ] -> 0x11b2ae448 <+4>: stp x26, x25, [sp, #0x10] [ ] 0x11b2ae44c <+8>: stp x24, x23, [sp, #0x20] [ ] 0x11b2ae450 <+12>: stp x22, x21, [sp, #0x30] [ ] 0x11b2ae454 <+16>: stp x20, x19, [sp, #0x40] [ ] Target 0: (Runner) stopped. [ ] thread backtrace all [ ] Debugger state set to detached. [ ] process detach

Unity (please complete the following information):

Smartphone (please complete the following information):

Velek commented 9 months ago

I had it too

https://stackoverflow.com/questions/77136958/flutter-or-react-native-xcode-15-error-xcode-dt-toolchain-dir-cannot-be-used

On September 27, 2023 10:13:22 AM EST, Minas @.***> wrote:

Describe the bug After upgrading to Xcode 15 I'm getting following error when unity view launches. Any ideas what could be possible cause of this? [ ] [Subsystems] Discovering subsystems at path /var/containers/Bundle/Application/A333446D-9A82-4A63-94A3-FD89CB0328B5/Runner.app/Frameworks/UnityFramework.framework/Data/UnitySubsystems [ ] GfxDevice: creating device client; threaded=1; jobified=0 [ ] Initializing Metal device caps: Apple A12X GPU [ +1 ms] Initialize engine version: 2022.3.10f1 (ff3792e53c62) [+1405 ms] Process 2814 stopped [ +1 ms] * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x16dc1fff0) [ ] frame #0: 0x000000011b2ae448 FlutterFlutterStandardCodecHelperReadValueOfType + 4 [ ] FlutterFlutterStandardCodecHelperReadValueOfType: [ ] -> 0x11b2ae448 <+4>: stp x26, x25, [sp, #0x10] [ ] 0x11b2ae44c <+8>: stp x24, x23, [sp, #0x20] [ ] 0x11b2ae450 <+12>: stp x22, x21, [sp, #0x30] [ ] 0x11b2ae454 <+16>: stp x20, x19, [sp, #0x40] [ ] Target 0: (Runner) stopped. [ ] thread backtrace all [ ] Debugger state set to detached. [ ] process detach

Unity (please complete the following information):

  • OS: Mac os silicon
  • Version 2022.3.10f1 LTS

Smartphone (please complete the following information):

  • Device: iPhone 13 pro
  • OS: IOS 17

-- Reply to this email directly or view it on GitHub: https://github.com/juicycleff/flutter-unity-view-widget/issues/883 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

timbotimbo commented 9 months ago

Can you try updating cocoapods using sudo gem install cocoapods? Version 1.13 notes a fix for Xcode 15.

likwifi commented 9 months ago

Thanks it worked.