Friday, August 5, 2022
HomeGame DevelopmentThe way to mechanically add library to challenge xcode in cc 3.5.2?...

The way to mechanically add library to challenge xcode in cc 3.5.2? – Cocos Creator



After i add some libs in construct phases->hyperlink binary with libraries . I attempt to construct challenge once more through the use of cocos creator construct device. I opened challenge xcode once more. In construct phases->hyperlink binary with libraries , it was empty.
Is there any technique to repair this downside?


It’s good to edit:
native/engine/ios/CMakeLists.txt

set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework AppTrackingTransparency")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework Safety")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework StoreKit")

Hope this can resolve your challenge.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments