mac app store error
I've been trying to submit my app to the mac app store and I've been trying to figure out how to solve this issue开发者_开发技巧:
Files Only Readable By The Root User - 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.
I haven't been able to fix this problem for a while and does anyone have a solution?
In my case, none of the files were owned by root, but one had no read permissions for group and everyone, but only for my user. I found this by using this cmd in Terminal:
ls -lR /path/to/app
I then searched for "-----" inside the output from the ls
command, which found the problematic file.
I had the same problem, but my solution was to run:
cd myApp.app
chmod a+rX *
This fixes the permissions and makes the Application Loader happy.
I found the answer:
I deleted some files that weren't readable by the system, files that showed a white blank icon
For anyone who has been banging their head on this one my experience is the error is erroneous or at best very misleading.
After looking over all the permissions then dragging files in and out of the bundle to test Application Loader the error magically disappeared and the same files with the same permissions ceased to give the same error.
This really isn't a solution but it may be important to know that this error may not be what it seems (tested on 10.9.4).
精彩评论