flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

Pods_UnityFramework and Pods_Unity_Phone

Open AmazeFPig opened this issue 2 years ago • 2 comments

Describe the bug I realized that Pods_UnityFramework and Pods_Unity_Phone appeared under Unity-iPhone/Frameworks, and they appeared red. I think they are just referenced, but they don't exist. This happens when I add firebase SDK to my Unity project. Do I need these two frameworks, or could I delete them?

To Reproduce Steps to reproduce the behavior:

  1. Add firebase SDK to the Unity project
  2. Export ios build to flutter
  3. open XCode, and then you should see these two frameworks under Unity-iPhone/Frameworks

Expected behavior Make them not "red," or tell me that I could just delete them without affecting anything.

Screenshots image

Unity (please complete the following information):

  • OS: MacOs
  • Version 2021.3.12f1 SILICON LTS

Smartphone (please complete the following information):

  • Device: iPhone13
  • OS: iOS
  • Version 16.1

AmazeFPig avatar Nov 21 '22 08:11 AmazeFPig

Update:

After I removed these two frameworks and ran my project on ios in debug mode. I can build the app successfully, but it crashed immediately.

Error message:

(lldb) dyld[9712]: Library not loaded: @rpath/absl.framework/absl Referenced from: <57BB5919-394F-39EA-B022-C6C40ECB8A5A> /private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/UnityFramework.framework/UnityFramework Reason: tried: '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/UnityFramework.framework/Frameworks/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/preboot/Cryptexes/OS@rpath/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/UnityFramework.framework/Frameworks/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/usr/lib/swift/absl.framework/absl' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/private/var/containers/Bundle/Application/9B762AE0-8705-4E95-BA50-70A077838D07/Runner.app/Frameworks/absl.framework/absl' (errno=2), '/System/Library/Frameworks/absl.framework/absl' (errno=2, not in dyld cache)

AmazeFPig avatar Nov 21 '22 08:11 AmazeFPig

I have a similar problem. Just deleting them works for me, but it is tidious to do on every new build.

BenVae avatar Mar 18 '24 16:03 BenVae