Hello.
One of the things that I use Xamarin for is building apps for MacOS.
Today I tried to upload my first Mac app to the store, but that resulted in an error:
ERROR ITMS-90255: "The installer package includes files that are only readable by the root user. This will prevent verification of the application's code signature when your app is run. Ensure that non-root users can read the files in your app."
What can I do to resolve this?
I would expect that the delivery of the package by the Transporter app goes flawlessly.
But instead it results in the ITMS-90255 error.
We've seen issues of this nature in the past, and very commonly it was due to building the software as root user. Can you confirm that locally (or on a bot) you are signed in as a normal user.
If you can confirm that, please attach the logs you receive, your build log, and preferably the final package produced.
There's one account on my Mac and I use that for building my apps.
This is an account with administrator permissions, but it's not the root account.
This is the log from building the release version of the app:
https://gist.github.com/chamons/1dbf1b211cf4d279aa6306f191b2d211
(I replaced a couple of ID's by %%%)
I unpacked the PKG file. It contains a file called Distribution and another one called nl.OABsoftware.RESX-Editor.pkg. The permissions on that latter file indeed are "drwx------".
I've edited your comment to post the log as a gist. Very long logs can make it difficult to read bug reports on github.
Can you please attach a project that can reproduce this and/or the pkg file in question. The long, while interesting, doesn't show how that file is being added as read only.
User has sent package privately to my e-mail.
Using SuspiciousPackage I was able to figure out what files have the issue:

They are all no access to non-root. I don't know why yet.
As I possible workaround (I don't want to submit your app for review), try changing the permissions on disk for those pngs.

That appears to have fixed the pkg issue. I'm going to try to reproduce this in a new project.
Steps to reproduce:
It looks like Xcode add a world +r bit when copying files to the Resources folder, and we do not.
I've filed this specifically as https://github.com/xamarin/xamarin-macios/issues/7395
@OABsoftware - Can you verify that setting those files as everyone read fixes your submission?
First of all, thanks for finding this. It solved the problem!
First I executed a "chmod 644 *.png" on all images in the Resources directory to set the permissions.
But that did NOT do the trick; I still could not get Transporter to deliver the package to the store.
So then I did a "ls -al" and it appeared that some of the images had extended attributes as well.
So I then executed a "xattr -rc *.png" on the image files in the Resources directory to remove those extended attributes.
Then I rebuilt the package and now I can upload it to the store successfully.
Again, many thanks!
The xattr issues is tracked (I think) in https://github.com/xamarin/xamarin-macios/issues/5202. We'll track the read bit issue in #7395 since it's a tad clearer there.
Glad you were able to get on the store! 馃帀