XCode Server archive is missing App Icons

I just setup xcode server on a remote machine to run tests and create an archive for submitting to the App Store. However, when my xcode bot performs the archive, the resulting archive is missing the App Icons. This prevents me from submitting the archive to the App Store and then I have to create a new archive on my local machine. Has anyone else run into this issue?

I am having the exact same issue. This started after upgrading the server from XCode 8.2 to XCode 9.1.

I'm having the same issue. Did anyone find a solution?


I tried the workaround https://github.com/CocoaPods/CocoaPods/issues/7003, but It was not worked for my project.

I am having the same problem. Does anyone know why? Is this a bug with Xcode or is there something we need to do to fix it?

Exactly the same problem. Two machines, same Xcode 9.1 build, same branch checkout. Server bot archive contains no icons, local archive contains icons.

Same here, but, when local build is set for deployment to 10.13, no app icons are built even though they are contained in the project as they always have. However, if the deployment is set to 10.12, the app icons are built in the local build correctly. This is on Xcode 9.2 and HS 10.13.2. beta 6. I can't vouch for the bot archives.


It appears to be an Xcode issue which started with 9.1.


CJ

I am having the same issue. My only way to solve it so far : bring the Archive in Xcode Organizer, manually add all the AppIcon files... that defeats the whole purpose of using continuous integration.

Icons are present for me when BOT is running using XCode 9.0.1, but not with XCode 9.1 and XCode 9.2. My workaround is manually archiving too.

How do you "manually add all the AppIcon files"? I don't see a way to add it to the Archive.

I am also seeing this issue. It actually goes beyond app icons for us and some of our other images in our app are not included in our .xcarchive from the build server.

I also experienced the problem and solved it.

The conclusion was that there was a problem with the node.js that make up the xcode server.

When a client requests an xcarchive file, nodejs is missing a png, zip while zipping the build results.


First, Connect to the server running xcode server with ssh. and move to directory `/Library/Developer/XcodeServer/CurrentXcodeSymlink/Contents/Developer/usr/share/xcs/xcsd/classes`


Then open `fileClasses.js`, And Look at line 297. It will probably be exclusive for png, jpg.

Now, comment out lines 296, 297, and 298 and restart the xcode server.


I hope this helps.

My problem with missing icons was solved by updating both


  • Cocoapods -> v1.5.0
  • Xcode -> v9.3
XCode Server archive is missing App Icons
 
 
Q