iCloud and Unity cloud build

Is it possible to modify the iCloud XCode settings in Unity so that it works for Unity Cloud builds?

I have been searching and there seems to be absolutely nothing on this topic since 2015. We discovered the “Xcode Manipulation API” but that uses the MIT license and we cannot agree to that. It also seems that the manipulation API is no longer need since Unity 5 as it is now build in. We are using Unity 5.4.3p1

We’ve successfully managed to add other frameworks and files to our XCode project, but there is no documentation whatsoever on how to add iCloud support.

We’re assumming it gets added to the PBXproject

string projPath = PBXProject.GetPBXProjectPath(path);
PBXProject proj = new PBXProject();
proj.ReadFromString(File.ReadAllText(projPath));
string target = proj.TargetGuidByName(PBXProject.GetUnityTargetName());

What frameworks/files/build properties or plist elements need to be modified to make this happen?

I think this post is what you might be looking for: iCloud with Cloud Build - Unity Services - Unity Discussions

I created a unity package which is based on the code from @Jespertheend2

It uses relative directories and doesn’t have any other build code so it should be easy enough to setup. Just install the package and edit the two variables at the top of ‘CloudPostBuild.cs’

https://dl.dropboxusercontent.com/u/13097940/CloudBuildSetup.unitypackage

This file is no longer available - any chance you could share it again? Thanks!

Link updated since Dropbox appear to have broken it: Dropbox