I have removed a connection profile that was actually in use, now I am receiving the following error:
Error: Failed to load connection profile Online Profile. Error was Error: ENOENT: No such file or directory., '/.composer-connection-profiles/Online Profile/connection.json'
I did login to the docker instance for the composer and the file exists in the /home/composer. I tried to move it to the root to match the exception, however I do not have the right permission to do so.
My question is, is there any other place that the selected profile is saved in so that I can set it to another existing profile? is their nay other way to solve this issue?
Related
I'm trying to upload a new build to the app store connect. I usually use my CI for this but since the boss forgot to renew the CI's plan, I need to do it manually from XCode for now. Building and uploading from CI always work so far.
So I've Archived it successfully. But when I tried to Validate or Distribute the app from the Organizer, it failed with the error:
No accounts with App Store Connect access have been found for "TEAM_NAME". App Store Connect access is required for App Store Distribution.
I am using XCode Version 11.6 (11E708), and have already added the account that has App Store Connect access to XCode. The account has the admin role. So far, these are all the fixes that I have tried to no avail:
Restart XCode
Restart Mac
Delete and add the account again
Delete DerivedData
Redownload the certificates and add them to Keychain
Change the signing type to Automatic from Manual, or vice versa
Make sure to disable my VPN
Any combination of the steps above
I have also tried exporting and uploading using xcrun altool --upload-app but it returned these errors:
2021-01-19 22:03:00.239 altool[6155:75984] *** Error: Connection failed! Error Message - The request timed out.
2021-01-19 22:03:00.404 altool[6155:75978] *** Error: Error uploading 'Kolibree.ipa'.
2021-01-19 22:03:00.404 altool[6155:75978] *** Error: code -1011 (Unable to get authorization for username 'USERNAME' and password provided. Authentication failed.)
The network is most certainly working so I don't know why it timed out. Is it from Apple's side? Can anybody help me here? Thanks in advance.
UPDATE: I'm still using Catalina 10.15.4. Does that make any difference? Should I update my macOS?
Okay, after looking it up some more, I found out that the culprit is the ISP. It was blocked by the ISP since I can actually upload when I tethered to my phone. I've also checked the router and it doesn't have any firewall so it's definitely the ISP. Maybe I'll try the steps in #Paulw11's comment in using port 443 to upload now. Thanks.
UPDATE: After more investigation, it is actually much more silly. The ISP injected their ads into the packets that use any port except 443. And that includes uploading the app to the App Store. I tried turning on my VPN and it worked because there's no injection. Thanks again.
For error "Error Finding App Store Connect Credentials", Please go to Xcode>Preferences>Accounts and see if your app store account has been added. In some case when you update the password you need to provide your credentials again here to upload the build to app store.
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
I have an app which contains a Network Extension and when I run it from within XCode, it uses the profiles I have created with the proper entitlements and works fine without issue.
However, when I archive the project and select the same team, the network extension fails to start when I install and run that IPA file:
Dec 31 19:00:00 My-iPad Worx Home(NetworkExtension)[38454] <Error>: Failed to save configuration: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
I'm pretty sure this is because something is getting messed up with the entitlements.
I went back through the "Export" process and the provisioning profile it shows is not the one I want to use, it is one that says "iOS Team Provio..." and I cannot change it to the profile I want to use.
I know there are other posts about this (like this), however none of the solutions there seem to work. In particular, the solution which involves a command line command only takes in a single provisioning profile which will never work, since I would need to select two different ones: one for the main app and one for the extension.
UPDATE: I checked the embedded.mobileprovision file inside of the IPA file and it actually does seem to be signed with the right profile. So it may not be a profile issue after all. But if so, why would I be getting "Permission Denied" error?
I did a full clean again and confirmed I am seeing "com.apple.developer.networking.vpn.api" (allow-vpn) for both the main app and extension in the list that shows up right before the IPA file is generated.
Right before I get the "Permission denied" error, I see the following cryptic error:
[My App Name] is not allowed to save provider-based configurations
UPDATE 2: I created two enterprise distribution profiles (I had used development ones before) and when I do ad-hoc now the extension works.
I am unblocked for the moment, but would like to determine why this wasn't working originally as it will be valuable information, so leaving this question open.
I am in the process of submitting my first Ionic application to the store. However I am receiving an error every single time that I try to submit my binary to the store:
Invalid Signature - A sealed resource is missing or invalid. The binary at path [Who Paid Last?.app/Who Paid Last?] contains an invalid signature. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate....
I have verified that my certificates are correct. I have even tried moving my .git folder outside of the directory, but still no luck. I have tried about 7 different configurations and still the same result time and time again.
The crazy thing is that after my archive has been built, I validate using XCode's validator. The validator says that my .ipa has zero errors and that it is ready for submission, but iTunes Connect says differently.
I have also tried following this tutorial on troubleshooting but without any luck.
The issue had to do with the name of my app. The name of my application is Who Paid Last?, and come to find out, the "?" in the name is what was causing the issue. As soon as I removed it, the app was submitted just fine with out any issues.
I had a similar issue, but my error message was "Invalid Signature. Code object is not signed at all. The binary at path [myApp.app/www/js/02_jshint.js] contains an invalid signature...."
Deleting the #!/usr/bin/env directive from the top of my 02_jshint.js file, then building the iOS version of your project from the CLI worked for me.
I am writing an Interactive book application(TheBlueJackal.xcodeProj).when I run the application it is working fine but when I tried to create .ipa (IPA file) and when I click on export button after selecting the corresponding provisioning profile I am getting the following error
Code signing operation failed
Check that the identity you selected is valid.
I want to know when this error occur. I tried a lot in google but unable to find the correct reason. Can anyone please help me in understanding this error.
Thanks in advance.