Build Squirrel has some error on macOS

2018-04-20 11:27:43 +08:00
 sunzhenyucn

The Build Environment:

The error content:

cp -R thirdparty/src/gtest/include/gtest thirdparty/include/
cp thirdparty/src/gtest/build/libgtest*.a thirdparty/lib/
/Library/Developer/CommandLineTools/usr/bin/make -C librime -f Makefile.xcode release
cmake . -Bxbuild -GXcode -DBUILD_STATIC=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
CMake Error:
  Xcode 1.5 not supported.


CMake Error: Could not create named generator Xcode

The error content screenshot:

If anyone know how fix this error, please tell me, thanks!!!

8611 次点击
所在节点    中州韻
3 条回复
meta
2018-07-21 15:26:23 +08:00
xcode 指错了地方,可以用 xcode-select 重新设定一下,例如 xcode-select -switch /Application/Xcode.app
jackytang520
2018-10-16 12:16:08 +08:00
我和编译报的错一样,只装了 XCode Command Line Tools 不行,需要把 Xcode 全部下载安装,好几个 g,要点时间
NGO
272 天前
@meta 实测可以👍🏻

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/448393

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX