Cannot register IOS developer account on Appium Studio to add a phone - appium

On Appium Studio, registering a paid IOS developer account returns the error message below. I am registering with an Apple ID that has a paid Apple developer account and I am using an App Specific Password when registering. I have tried this on 3 different machines, 2 in the UK and 1 in USA.
Failed to add developer account with appleid: apple#XXXXXXXX.com and teamid: XXXXXXXXX reason: Bad response from server.
200: OK
Server says: Authentication Error. Xcode 7.3 or later required to continue developing with your Apple ID. (3019)
Please make sure you are not using a free account, as it is not supported.
Environment
Appium Studio version: 22.1.8625
OS: Windows 10
Link to Appium logs
I have uploaded a copy of the Appium Studio log files to the following gist:
https://gist.github.com/charlbury/62eb07d1697a8f2f5fa0a74cbe509168
The first error mentioned in the logs that is not in the dialog box error message is "ERROR Initial CSR failed xign.client.execption.AppleServiceException: Bad response from server."

A new version of the Appium Studio app has been released that addresses this issue and allows us to register the IOS developer account and to connect new iPhones.
The solution to this issue is to use the latest version of the Appium Studio app.

Can you download security/app certificate and can ask dev to add testing system in there keystore certificate

Related

"A valid provisioning profile for this executable was not found" for Xamarin.Forms iOS RELEASE build to an iPhone Device

So my certificates recently expired, and I had to create new ones. I created both an Apple Development and an Apple Distribution certificate from Visual Studio and they both show up as valid and/or in keychain in Apple Developer, Visual Studio, and Xcode.
I of course updated the app's development and distribution profiles to use these new certificates and made sure to re-download them to my workstation.
The iOS component of the (Xamarin.Forms) app can deploy the Debug build to both a simulator and a real device. It can also deploy the Release build on simulators. Archiving a build for publishing also worked fine. It uploaded on TestFlight and was successfully installed by a tester.
The issue is only with deploying a Release build to my test device. The Release build has been deployed successfully to this same device before, so I am very unclear as to what has happened.
The bundle signing identity and provisioning profile were set to automatic as recommended. To make sure the bundle was using the correct profile, I set them instead to the expected/correct distribution identity and profile, and the deployment still fails.
The app did use to have an iOS Distribution certificate, but that seems to have been replaced by Apple Distribution as far as I can tell. I see that iOS * certificates can still be created on Apple Developer, but they're not listed as options when creating certificates from Xcode or Visual Studio for Mac. I did try pointing the provisioning profile to an iOS Distribution certificate created online, and it still did not work.
I've also restarted Visual Studio, Xcode, the iPhone device, and my Mac workstation to no avail.
Is there something else I could be missing? I am new to app development and am very unclear as to what else "invalid provisioning profile" could mean.
Any additional help/tips/ideas would be appreciated!
Error message when deploying:
ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FSRtzC/extracted/{XAMARIN_IOS_PROJECT_NAME}.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
error MT1006: Could not install the application '{PATH TO XAMARIN_IOS_PROJECT}/bin/iPhone/Release/{XAMARIN_IOS_PROJECT_NAME}.app' on the device '{IPHONE DEVICE NAME} iPhone': AMDeviceSecureInstallApplicationBundle returned: 0xe8008015.
Application could not be uploaded to the device.
Provisioning Profile Info:
Status: Active
Type: App Store
Enabled Capabilities:
Associated Domains, Game Center, In-App Purchase, Push Notifications
Software Versions:
Visual Studio Community 2019 for Mac
Version 8.6.5 (build 23)
Apple Developer Tools
Xcode 11.5 (16139)
Build 11E608c
Xamarin.Mac
Version: 6.18.2.1 (Visual Studio Community)
Xamarin.iOS
Version: 13.18.2.1 (Visual Studio Community)
iPhone 7 Plus running iOS 13.5.1
I simply had to use a Distribution Profile of type Ad Hoc. The Distribution Profile the app was using was of type App Store as it was what was needed to create a build archive for Test Flight.
I do wish the error message had been more informative and less generic. Multiple types of issues seem to result in the same error message.
Useful References:
This provides useful info about using the Device Log and debugging Entitlements that helped me start getting somewhere. My custom Entitlements and enabled Capabilities for the Bundle Identifier matched, so I couldn't figure out what else to try initially. The Device Log gave me no info, but taking out the Entitlements file worked, and it went from there.
This reassured me that my one custom entitlement that's different between Debug and Release mode, APS Environment, is using the correct value of "production" even though it was causing the installation to fail with the (then App Store) Distribution Profile.
This provides detailed explanation on each Provisioning Profile Type.

Xamarin cannot sign into apple developer account

I am having an issue where when I attempt to sign into my apple developer account.
I go to tools > options > xamarin > apple accounts. I click on add accounts and enter the details but I get the following error:
There was an error trying to log in: A server with the specified hostname could not be found.
Has anyone encountered this issue before? How can I check the hostname its trying to resolve?
I'm running the latest version of visual studio on windows (15.9.17)
Thanks

Install the Jmeter certificate in iOS

How to download and install the Jmeter certificate in iOS 12?
I want to test an iOS application with Jmeter and couldn't find anywhere online.
I was facing the same issue , the solution is attach the certificate file (crt) on email (google account) from laptop and then open your gmail account in safari web-browser(not in gmail app), that will automatically install the profile , check in settings-->general-->Profiles.

Xamarin cannot build to device - Tool exited with code: 1. Output: error: The specified item could not be found in the keychain

I am trying to build an iOS app in Debug|iPhone configuration on Xamarin Mac, but I am getting:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Tool exited with code: 1. Output: error: The specified item could not be found in the keychain.
This all started when I had to reset my default keychain and lost my certificates. I've tried fixing it by:
Creating a new certificate manually (ensuring I had "Apple Worldwide Developer Relations Certification Authority" when requesting the certificate from the certificate authority as suggested here)
Creating a certificate using xcode 8.3.1 (exporting this certificate onto another machine lets me build fine on that machine)
Importing my certificates from my old keychain (each time I created a new certificate I ensured to update and download the provisioning profile)
exporting a working certificate from another user on another machine and importing it onto my machine
uninstalling Xamarin studio, deleting the folders mentioned here, and installing Xamarin Studio 6.1.3 + Xamarin.iOS 10.4.0.123 (was using 6.1.3 + 10.2.1.5 previously)
uninstalling Xcode 8.1 and installing Xcode 8.3.1
installing visual studio for mac (this gave me a different error "EnsureBindingRedirects task failed unexpectedly" - likely a separate bug)
The fact it failed to build when using a known working certificate/provisioning profile combo on another machine leads me to think that Xamarin is having a problem finding the certificate when doing the build, even though it sees the certificate and provisioning profile in Project Options -> iOS Bundle Signing. There could also be an issue in the Keychain somewhere.
Any help on this would be greatly appreciated.
I fixed this by doing the following:
security dump-keychain -d login.keychain to list all the items in my keychain
Noticed there was an extra certificate that was not showing up in Keychain Access
Deleted this item using security delete-identity
Did diskutil resetUserPermissions / $(id -u) and restarted my Mac
I'm not sure if steps 1-3 are necessary, so if you are having this issue I would try step 4 first and see if that works.
I am using Visual Studio on a mac and my solution was to shut down Visual Studio and start it again after logging out of Apple Developer Account in the visual studio preferences.

Publish Apple App Store in Visual Studio Apache Cordova project

I have a Visual Studio Apache Cordova project and successfully published on Android Google Play. However, I have been struggling to find out how to publish it to "Apple App Store".
"remotebuild" to Mac system and successfully running on debugging deivce (iPhone).
But not able to deploy with release mode of "Remote Device" (Build is successful)
Requesting deploy on remote iOS device for buildNumber 2765 on server https://remote-address:3000/cordova...
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
2>Http 404: Installation failed: Check your provisioning profile
2>
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Which I have already downloaded the Provisioning / Certificate for both Development and Distribution and configured to XCode --> Preference --> Accounts --> Apple ID and Signining Identities.
I tried to verify the .ipa file generated by "remotebuild" using command line as below
codesign -v name.ipa
Saying
code object is not signed at all
I also tried to code sign manually (How to manually re-sign an IPA) but still saying that "code object is not signed at all"
"PhoneGap Build" also did not work
My questions are
Is there any way to configure the provisioning and certificate for iOS in Visual Studio Apache Cordova project?
Do I have to convert this Visual Studio Apache Cordova project to PhoneGap Project and load it on XCode and build with code sign?
Please help me to find a way to publish it on Apple App Store.
You follow the same steps you would for any other app you publish to iTunes app store. You need to open the Xcode project file created by Cordova in Xcode. You set the correct provisioning profile in Xcode then perform an archive (note the current target needs to be an actual device, not the simulator).
After the archive is created you will be given the option to validate it. Once it is validated you will be given the option to upload to it iTunes connect. Note you need to setup everything in iTunes Connect before doing this. You need to create your app id, any certificates, etc...

Resources