Search code examples
electronelectron-builderapple-idelectron-notarize

The username is not a member of the provider


I am having trouble with the Electron app notarising using the electron-notarize. I have created an app specific password from the https://appleid.apple.com/. In addition, I'm not a part of any team. It's just my personal Apple ID + Developer account as shown in the following screenshot.

Apple ID

However, I am seeing the following error when I attempt to build the app through electron-builder.

1 package(s) were not uploaded because they had problems:
        /var/folders/xw/f3dmryjd1lz27zcc43hs9vbr0000gn/T/B967F8F2-309E-4149-A6FA-2C12F0BDF63F/io.provider.app.itmsp - Error Messages:

2020-03-18 23:58:05.200 altool[11959:306625] *** Error: The username [email protected] is not a member of the provider. Contact your team admin for assistance. (1296)

I have the following code for the electron notarise configuration.

appBundleId: "io.provider.app",
appPath: `${appOutDir}/${appName}.app`,
appleId: "[email protected]",
appleIdPassword: "xxxxxxxxx",

I have also tried using the ascProvider in the above configuration rules but didn't have any luck.

ascProvider: "[email protected]"

Or

ascProvider: "My Full Name"

I am now out of options and idea what I am missing here exactly. Any help would be very much appreciated.


Solution

  • After an hour of investigation, I just realised that I couldn't notarise my app without having the paid $99 apple developer account. So, that's explain why the process was failing when attempting to uploading the app to the apple server for notarisation. However, the error from xcrun altool is totally vague as what it says doesn't make sense now.