I recently ran into an issue with sending a macOS app to the App Store using transporter using Solar2D version 3633. After delivering the app with Transporter, the transfer would fail, and would give the error:
“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.”
This issue seems to be unique to Solar2D 3633 and I’ve filed a bug report with additional details on the problem, but in case anyone else runs into this issue, this is how I fixed it.
- Navigate to Applications/Corona-3633/, right click on “Corona Simulator” and select “Show Package Contents”
- Navigate to Contents/Resources, and double click on OSXAppTemplate.zip to extract it. This should create another Contents folder in the current Resources folder
- Delete or rename OSXAppTemplate.zip, as we’ll be replacing it
- Navigate to the newly made Contents folder
- Run the following command with Terminal: chmod 755 _CodeSignature
- Compress the new Contents folder by right click > Compress “Contents”, and rename the .zip to OSXAppTemplate.zip
- Restart Corona, and the issue should be fixed
Hopefully the issue will be fixed in future releases, but hopefully someone finds this useful!