Xcode Cloud iOS Archive fails every time.

Every time I try to build archive iOS app I get error like this: Type 'ImageResource' has no member <<resource_name>>.

I am using generated ImageResource through out my app. I can archive and upload build using Xcode. But it is not working using Xcode Cloud.

Answered by zoha131 in 790422022

The folder name of the resources was added in the .gitignore file. That means Xcode Cloud wasn't getting the resources needed to build. That is why I was getting the error. I have removed the folder name from .gitignore file. Now it is working as expected.

Accepted Answer

The folder name of the resources was added in the .gitignore file. That means Xcode Cloud wasn't getting the resources needed to build. That is why I was getting the error. I have removed the folder name from .gitignore file. Now it is working as expected.

Xcode Cloud iOS Archive fails every time.
 
 
Q