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对应的库文件,都要在该项目中重新设置。

相关推荐
踏着七彩祥云的小丑1 天前
Mac——已安装工具查找
macos
小红的布丁1 天前
公网 IP、私网 IP、路由表、转发表与 MAC 地址的关系
tcp/ip·macos·智能路由器
Lecxcy_Kastreain1 天前
如何自适应 MacOS
macos
howlet21 天前
AI生成cocos-creator打砖块游戏-跑通第1关(CodeBuddy)
人工智能·游戏·cocos2d
简单点了1 天前
mac安装node环境
macos
简单点了1 天前
mac安装vm装win11虚拟机
macos
todoitbo1 天前
装了 QClaw 之后,我卸掉了好几个 Mac 软件
人工智能·macos·ai·软件·openclaw·qclaw
總鑽風2 天前
搭建Spring Boot + ELK日志平台,实现可视化日志监控
spring boot·elk·macos
CS创新实验室2 天前
《计算机网络》深入学:IP地址 VS. MAC地址
tcp/ip·计算机网络·macos
是孑然呀2 天前
mac m4mini安装软件
macos