Ad

Error: Unable To Spawn Process (Argument List Too Long) Xcode 10.1

- 1 answer

Error Log: PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/../Script-A..B8.sh (in target: C..r) cd /Projects/... /bin/sh -c /Users/../Script-A..B8.sh error: unable to spawn process (Argument list too long)**

I am getting this error while creating an Archive from Xcode (10.1). My build succeeds. I encountered this error after installing below mentioned pods,

pod 'Firebase/Analytics'

pod 'Firebase/Messaging'

My Xcode project is a multi target and multi configuration project managed using xconfig file.

I tried disintegrating, installing, updating pod again and again, but no luck.

Ad

Answer

Enable Legacy System for workspace setting enter image description here

Ad
source: stackoverflow.com
Ad