yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.08k stars 821 forks source link

XcodeGen with Xcloud Not working #1263

Open NrmeenTomoum opened 2 years ago

NrmeenTomoum commented 2 years ago

i did the setup for my workflow to setup Xcloud after that i added Xcodegen all my workflow is removed from Xcloud any info

Screen Shot 2022-09-09 at 11 07 53 AM
ARamy23 commented 2 years ago

I have the same issue

More context:

Upon debugging, I noticed that Xcode Cloud deletes this section in the project.pbxproj file

/* Begin PBXContainerItemProxy section */
        211C0C1428BF50E90047D87E /* PBXContainerItemProxy */ = {
            isa = PBXContainerItemProxy;
            containerPortal = 211C0BFB28BF50E70047D87E /* Project object */;
            proxyType = 1;
            remoteGlobalIDString = XXXXXXX;
            remoteInfo = XcloudTest;
        };
        211C0C1E28BF50E90047D87E /* PBXContainerItemProxy */ = {
            isa = PBXContainerItemProxy;
            containerPortal = 211C0BFB28BF50E70047D87E /* Project object */;
            proxyType = 1;
            remoteGlobalIDString = XXXXXX;
            remoteInfo = XcloudTest;
        };
/* End PBXContainerItemProxy section */

We also created a dummy repo for testing it, please find it here

ajRiverav commented 1 year ago

@NrmeenTomoum did you find a solution? I believe this may be related to #933 and #1017 because of the items Xcode removes (in those issues, that may end up removing Frameworks from the pbxproj file).

koenpunt commented 1 year ago

I think what @NrmeenTomoum means is that their workflows disappeared from Xcode cloud. This is probably due to application identifiers not being the same anymore, since that is what Xcode cloud links the workflows to. If you ensure the application identifiers remain the same, the workflows should remain as well.