Mac Cocos2d-x工程通过xcode编译时,提示无法找到SDK的解决办法

经过对整个macOS的升级,发现原来的Cocos2d-x4.0可编译的工程,无法运行。

Xcode错误提示

shell 复制代码
mac cocos2d-x 4  Showing All Messages unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk'

解决办法

确认SDK是否存在

确认该路径是否有可用的SDK版本,具体路径如下:

shell 复制代码
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

Xcode中做SDK设定

重新编译解决问题。
如果还出现其他的问题,按提示解决即可。例如重新设置新的SDK对应的库文件,都要在该项目中重新设置。

相关推荐
枫子有风6 小时前
【go.sixue.work】2.2 面向对象:接口与多态
开发语言·后端·golang·xcode
我的golang之路果然有问题8 小时前
mac配置 unity+vscode的坑
开发语言·笔记·vscode·macos·unity·游戏引擎
alanesnape13 小时前
Mac 目录树结构与基础 Linux 指令指南
macos
Digitally1 天前
解决“Move to iOS 卡在准备中”的 9 种有效方法
macos·ios·cocoa
影魅周影1 天前
解决mac端pycharm执行allure命令报错:returned non-zero exit status 127
ide·macos·pycharm
denggun123451 天前
ios卡顿优化
ios·xcode
2501_927541091 天前
CameraBag Mac英文 照片视频滤镜编辑工具
macos
uiop_uiop_uiop1 天前
iOS arm64e hook MGCopyAnswer got Crash or Only Partial results got hooked
macos·ios·cocoa
私人珍藏库1 天前
[Mac] Unclutter 2.2.15 Mac上的文件暂存 智能剪贴板历史记录管理器工具
macos
哈茶真的c1 天前
【Mac】开发环境使用/维护
macos