The username is not a member of the provider - electron

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.
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 adsfasdfdsa#gmail.com 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: "abcadsfdasfds#gmail.com",
appleIdPassword: "xxxxxxxxx",
I have also tried using the ascProvider in the above configuration rules but didn't have any luck.
ascProvider: "asdfasdfadsfdas#gmail.com"
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.

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.

Related

NativeScript Sidekick Errors while Generate Provisioning Profile and Certificate

I am trying to setup a Mobile development environment, a true WORA.
NativeScript seems to be ticking all the boxes.
I have therefore installed Visual Studio Code with NativeScript Plugin and SideKick. I am trying to do a simple thing at the moment, namely testing HelloWorld App on physical devices such as Android Tablet/Phone and iPad. Android was a breeze however iPad proved to be a pain. I am trying to use "iOS Auto Generate Provisioning Profile and Certificate" inside SideKick but I am getting two types of errors:
1) Using my Main Apple ID (with no Developer account) I am getting following message:
An error has occured while generating the certificate and mobile provision. Reason: Two-step verification not supported at the moment
Fair enough, I thought I will try a Free Apple ID (as advised in SideKick documentation, see result in next bullet point)
2) Free (newly created) Apple ID
An error has occured while generating the certificate and mobile provision. Reason: Could not find app with bundle id. (node:12659) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated. Could not find app with bundle id
Is there any step-by-step walk through on how to test simple apps on your local Apple devices?!?
Many thanks in advance
The issue could be the bundle id, for a free account the bundle id must be really unique, across anyone ever used so far.

codenameone Preferences throwing "Failed to save token" Error

I try to create new apple certificates and it says "Failed to save Token" Error. I have login to itunesconnect.apple.com and successfully accepted the agreement before trying this.Please advise when this error occurs.
There used to be space in the project name and did worked before without any issue and deployed application in app store. Now my certificate got expired. when I tried to regenerate the certificate using the codenameone certificate wizard, it popped error saying path contains space. So I went and deleted the space in the project name and corrected Build.xml and codenameone_settings.properties without space manually. When I tried to connect itunesconnect through codenameone wizard it failed with error "Failed to save token". I have updated AppID in apple itunes connect without space as well to match it. Please advise
The certificate wizard should work now. We had some downtime as I explained here: https://www.codenameone.com/blog/native-logging-certificate-wizard.html

Can't export development iOS App after archiving it

I archived my app for testing and then tried to export it.
But Xcode asks me to sign the project again, as it doesn't show my previous developer account.
It says :
Apple Developer website is undergoing maintenance
But the website and everything in the developer site seems up and fine!!
Furthermore, I can't believe they have been down for such a long time, it seems there is another problem, because when I try to add the developer account again, it gives me this error:
The operation couldn’t be completed. Unable to log in with account 'xxxxx#me.com'.
An unexpected failure occurred while logging in (Underlying error code 503).
Anyone knows anything about this mystery? Thanks for any help.
The error-message seems to be correct. There is currently a scheduled maintenance.
Source: Apple Developer System Status

Came up with this unusual error when trying to run my Xcode made app on my iPhone.

I'm currently using the new Xcode-Beta as of the 30th July. I have been playing around and I found some Projects on GitHub that I have been looking at. I have been able to package them and then run them on my iPhone, however when I go to create my own project and run it, I receive this error message:
No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
I'm not sure what the issue is, as I cannot run the app on the simulator or my iPhone
Thanks for your help!
Its because the people on Github posting their own apps have signed them with their apple developer account. You need an apple developer account to create signed applications. Its 100$ a year. https://developer.apple.com

Failed to verify code signature

I've been working on this app for a few months now and one of every few builds that I push out through the new Test Flight in iTunes Connect can't be installed, and when I connect my device to my computer to look at the console, I see the error message
"Failed to verify code signature"
With the supplemental message:
Entitlements found that are not permitted by provisioning profile
I don't understand why this is an issue only sometimes. I seem to correct the issue by creating a new identical, aside from the build number, version and upload that.
What could I possibly be doing wrong? The only "entitlement" my app registers for is access to the keychain, but there is no toggle for that in the entitlements potion oft he application identifier on the developer portal.

Resources