-Wl,-stack_size,1000000
to the Other Linker Flags field of the Build Styles pane. ld: -stack_size option can only be used when linking a main executable clang: error: linker command failed with exit code 1 (use -v to see invocation)
なるものが出てしまった… もう少し調べます