error: unable to spawn process (Argument list too long)

error: unableto spawn process (Argument list too long)


Got this error when building project on Xcode Version 10.1 (10B61) and macOS Mojave 10.14.3 Beta (18D32a) on MacBook Pro (Retina, 13-inch, Early 2015) .


Log is over 100000 characters so that I can't paste in here .

Replies

I have the same qusetion. If you already slove it, please reply me. Thank you~

Sometimes moving your project folder to another place with shorter path can help. For example you can place it directly in your home directory.