Build to iOS works perfectly from Editor but Cloud build fails

Build to iOS works perfectly from Editor but Cloud build fails with error:

37973: [Unity] UnityEditor.CloudBuild.Builder:FixupXcodeProject(String)

37974: [Unity] UnityEditor.CloudBuild.Builder:Build()

37975: [Unity] Exception: Invalid PBX project (parsing line 0)

37976: [Unity] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[ ],System.Exception&)

37977: [Unity] Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

37978: [Unity] at UnityEditor.CloudBuild.UnityReflector.FixupXcodeProject (System.String path) [0x00000] in :0

37979: [Unity] at UnityEditor.CloudBuild.Builder.FixupXcodeProject (System.String path) [0x00000] in :0

37980: [Unity] at UnityEditor.CloudBuild.Builder.Build () [0x00000] in :0

37981: [Unity] executeMethod method UnityEditor.CloudBuild.Builder.Build threw exception.

37982: [Unity] Aborting batchmode due to failure:

37983: [Unity] executeMethod method UnityEditor.CloudBuild.Builder.Build threw exception.

37984: [Unity] Thread ‘UnityLookForNewInputDevices’ is still running!

37985: [Unity] Thread was not cleaned up!

37986: ! Unity player export failed!

37987: ! build of ‘ios’ failed. compile failed

In Unity Cloud Build, after the Xcode project is generated it is read in using the Xcode Manipulation API and modified slightly (primarily to force manual signing). Most likely you have some conflicting plugin that is writing out the Xcode project in a format that can’t be read properly by that API. Can I ask what plugins you are using that might perform xcode project post-processing?

mod_pbxproj.py

That’s not really enough info for me to be able to offer any help…

It is mentioned in thread

Replaced to Xcode Manipulation API

Thanks