UIWidgets / com.unity.uiwidgets

UIWidgets framework
165 stars 9 forks source link

xcode 报 libUIWidgets.a 找不到 EAGLContext #3

Closed jet6666 closed 2 years ago

jet6666 commented 2 years ago

  > | ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/zooling/Desktop/uiwdget/s2/Libraries/libiPhone-lib.a(unwind_test_arm64.o)

-- | --   | Undefined symbols for architecture arm64:   | "_OBJCCLASS$_EAGLContext", referenced from:   | objc-class-ref in libUIWidgets.a(libUIWidgets.o)   | "_glDeleteTextures", referenced from:   | l2690 in libUIWidgets.a(libUIWidgets.o)   | l2695 in libUIWidgets.a(libUIWidgets.o)   | "_glDeleteFramebuffers", referenced from:   | l2690 in libUIWidgets.a(libUIWidgets.o)   | "_glBindFramebuffer", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | "_glBindTexture", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | "_glCheckFramebufferStatus", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | "_glGetIntegerv", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | "_glGenFramebuffers", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | "_glFramebufferTexture2D", referenced from:   | l2688 in libUIWidgets.a(libUIWidgets.o)   | ld: symbol(s) not found for architecture arm64   | clang: error: linker command failed with exit code 1 (use -v to see invocation)

报错截图

项目已经加上 OpenGLES.framework

报错截图

unity.package manifest.json 配置以及原libuiwidgets.a 文件如下 截图

jet6666 commented 2 years ago

Jesus, It's Unity's BUG In 2020.3.24f1c2 there is no "OpenGLES" options in Building for iOS (But Android have this option )

solved by Unity 2019.4.29f1c2

zhuxingwei commented 2 years ago

No you can still use Unity 2020 LTS. Please refer to Question 3 in our FAQ for the details.

jet6666 commented 2 years ago

No you can still use Unity 2020 LTS. Please refer to Question 3 in our FAQ for the details.

thanks , :thumbsup: