Reputation: 35
I downloaded a source code for an iOS coloring book from github :
When I try to compile I get these errors, and I don't understand what they mean:
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
Upvotes: 0
Views: 371
Reputation: 11
It's because the project references Toast+UIView.h but doesn't contain that category at the root level. NIBs, Raw, and Vendor are submodules of the main project.
Upvotes: 0
Reputation: 41622
Did you follow the instructions? I tried to build it after just cloning the primary directory, got lots of problems, then re-read the Instructions and found this:
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
Once I followed the 1.6.5 or higher (and ignored the build.sh warning as it instructions you to do in that file) everything built just fine using Xcode 4.6.3.
Upvotes: 1