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

no such module 'UnityFramework'

Open khenneken opened this issue 3 years ago • 4 comments

Error output from Xcode build: ↳ objc[23239]: Class AMSupportURLConnectionDelegate is implemented in both [/usr/lib/libamsupport.dylib]() (0x1ea13b130) and [/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice]() (0x103d682c8). One of the two will be used. Which one is undefined. objc[23239]: Class AMSupportURLSession is implemented in both [/usr/lib/libamsupport.dylib]() (0x1ea13b180) and [/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice]() (0x103d68318). One of the two will be used. Which one is undefined. ** BUILD FAILED ** Xcode's output: ↳ [/Users/user/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-2020.3.25/ios/Classes/FLTUnityView.swift:10:8](): error: no such module 'UnityFramework' import UnityFramework ^ [/Users/user/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-2020.3.25/ios/Classes/FLTUnityView.swift:10:8](): error: no such module 'UnityFramework' import UnityFramework ^ [/Users/user/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-2020.3.25/ios/Classes/FLTUnityView.swift:10:8](): error: no such module 'UnityFramework' import UnityFramework ^ [/Users/user/Frameworks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-2020.3.25/ios/Classes/FLTUnityView.swift:10:8](): error: no such module 'UnityFramework' import UnityFramework ^

I have a Macbok Pro with M1 Max and have integrated everything exactly according to Readme and get the following error. Android everything works fine.

khenneken avatar Mar 16 '22 22:03 khenneken

In xcode, you should build scheme UnityframeWork.framework first, then run your Runner.

MaoSiUncle avatar Apr 01 '22 08:04 MaoSiUncle

In xcode, you should build scheme UnityframeWork.framework first, then run your Runner.

Can you tell how?

BlickwinkelTour avatar Apr 02 '22 16:04 BlickwinkelTour

In xcode, you should build scheme UnityframeWork.framework first, then run your Runner.

Can you tell how?

In the top bar of xcode in the middle, click on Runner, then select Unity-Framework, a target and build

kjyv avatar May 23 '22 14:05 kjyv

Check if you have everything like there: Zrzut ekranu 2022-07-8 o 23 51 53

Also ensure: Zrzut ekranu 2022-07-8 o 23 49 12

Zrzut ekranu 2022-07-8 o 23 49 30

dawiddszewczyk avatar Jul 08 '22 21:07 dawiddszewczyk

In xcode, you should build scheme UnityframeWork.framework first, then run your Runner.

Can you tell how?

In the top bar of xcode in the middle, click on Runner, then select Unity-Framework, a target and build

It works for me. Thanks

koreex avatar Feb 13 '23 09:02 koreex