gpt4 book ai didi

iphone - IOS编译源代码出错?

转载 作者:行者123 更新时间:2023-11-29 03:40:48 26 4
gpt4 key购买 nike

我下载了 iOS 着色书的源代码 from github :

当我尝试编译时出现这些错误,但我不明白它们的含义:

    0 clang 0x0000000100c57bb2 main + 12932498
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: i386-apple-darwin11.4.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: error: unable to execute command: Segmentation fault: 11
clang: note: diagnostic msg: Error generating preprocessed source(s).
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254

最佳答案

您遵循说明了吗?我尝试在克隆主目录后构建它,遇到很多问题,然后重新阅读说明并发现:

INSTRUCTIONS

Clone the coloring-book-ios repository, or alternatively, clone
your fork of the coloring-book-ios repository, along with its
submodules.

For git version 1.6.5 or higher, run:

git clone --recursive https://github.com/byronsanchez/coloring-book-ios.git
cd coloring-book-ios
Assets/Scripts/build.sh all

For other versions of git, run:

git clone https://github.com/byronsanchez/coloring-book-ios.git
cd coloring-book-ios
git submodule update --init
Assets/Scripts/build.sh all

一旦我遵循 1.6.5 或更高版本(并忽略了 build.sh 警告,因为它指示您在该文件中执行操作),则使用 Xcode 4.6.3 构建的一切都很好。

关于iphone - IOS编译源代码出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18488292/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com