How to submit an Electron App to App Store using Electron-Packager - Part 2

Another day another try :) So my first attempt was a mixed bag. I managed to start submit the package to apple but the review says that they cannot open files. 

The big issue with electron (now I am using Electron 7) is that -- unlike Flutter for example -- doesn't give you an Xcode project to debug and submit the files to apple so I am working blind here: the local build with electron-packager AND npm start work totally fine but due to sandboxing restrictions you can't try the .app/pkg as submitted to apple.

So after reading this guide and the apple reference  I came to the conclusion that the apple reviewer cannot open the files from elektro editor (the app I am submitting you can check it here and yes it is a notarized DMG :) because I didn't add a user-selected read and write entitlement. So here is the new one:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- Add entitlements here -->

Sent to the apple store again, fingers crossed !


made with ❤ī¸ by david.dev 2024 RSS Feed