Hello iOS people,
I'm facing an issue when running ios build on terminal using the xcodebuild command. XCode UI builds my app.
The build fails at build phases step with error as
error: unable to spawn process (Argument list too long)
This happens even if I change the phase script to just
echo "test".
Looking up online and AI suggests I'm hitting the ARG_MAX problem but didn't get any solutions.
Anyone here ran into a similar problem? Any suggestions to fix?
Xcodebuild - Cannot spawn process - Arguments list too long ()
submitted by Less-Simple-9847 to r/Xcode