-
Notifications
You must be signed in to change notification settings - Fork 7.1k
this can't work on macOS Big Sur #20608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cmake/Modules/CocosConfigDepend.cmake use find_library: |
@zhongfq I did your tutorial and get another error Note: I did change the "Build Active Architecture Only" to "No" Not only that I see a lot of deprecated functions. Should we think to remove all of them??? The almost iOS device now is running iOS > 12. Should we think to stop support iOS < 12?????? |
@neonguyen you should set some Xcode property in project CMakeLists.txt: |
@neonguyen in CocosConfigDepend.cmake for iOS: Locate system libraries on iOSfind_library(UIKIT_LIBRARY UIKit) |
@zhongfq I did set all those things. but It still did not work. |
@neonguyen my env as same as you too, you can try my fork: https://github.com/zhongfq/cocos-lua, and then you can compare what different, especially the cocos folder |
@zhongfq one more thing, I am using python 3.7..6. Can it affect the cocos project? and I am using C++ |
@neonguyen no. my project base on c++, i use command 'cocos new -l cpp' create my project. i think there are miss some Xcode property in your project. Your program i had meet before |
Thanks for your time. |
@zhongfq I tried again a few times. Unfortunately, It still did not work. My V4 version is upgraded from V3. I worry it can be the reason. I cannot reinstall my Mac now. |
@zhongfq I found the solution to solve the build problem. Now I can run the project on my iPhone. Unfortunately, I cannot run it on the simulator. Can you run it on the simulator? |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: