am trying to add an iOS certificate in Visual Studio 2019 but am getting this error
Error image
What might be the issue? NB: I don't have a MacBook, I only have an Apple developer account and iPhone
You need a mac to make a releasable build (for testflight or app store submission). See Xamarin Hot Restart - Limitations. This includes doing any "signing".
You should be able to develop and debug on your iPhone - but you can't make it available to anyone else, without a Mac. If you haven't yet succeeded in running it on your attached iPhone, check whether you followed all the Hot Restart instructions. Or for another discussion of steps, try these non-official instructions.
Related
I want do debug my xamarin app on my iPhone SE (real device).
For this I signed up for apple dev club and already paid it.
I have my mac with xcode 13 running in the network and I am able to connect VS with the mac.
Now when I try to launch the app with Hot Restart I am asked to give my apple credentials and have to select my team, no problem..
But after selecting team it gets an error telling me I should check protocols but I don't know what to do here... (Please have a look at the image)
I already imported the Provisioning and the certs to xcode.
Using VS 17.2.3 on Win11, macOS 12.4 and it is a xamarin forms app
Unfortunately,there are a few issues with provisioning (both automatic and manual) for Hot Restart.
The issue is being track in this thread in developer community,please follow up the issue in that thread.
I'm using Visual Studio community 2022 and Xamarin to create a mobile app which is compatible with both iOS and Android. I would like to be able to download the app on my iPhone so I can test it properly and eventually be able to share the app with other people. I have been able to archive the Android version of my app (generate the .apk file) with Visual Studio since, from what I gather, I have an Android simulator in my computer. However, I am unable to archive the iOS version of my app and generate a .ipa file because I don't have such a simulator on my computer. I can't use my iPhone to play it since I don't have an Apple Developer account (and getting one would cost me $119 CAD which I'm not very eager to pay) so the remaining solution would be to pair to a Mac computer.
I own a Mac computer, but I don't use it anymore since it was getting pretty old (Macbook pro purchased in 2013). When I try and pair to my mac, I get the same error message every time and I don't know what to do about it:
"An error occurred while trying to establish an SSH connection with SSH keys to"
followed by my mac's IP address. However, even if I managed to pair my mac to visual studio on my Windows computer, I have a feeling I would still be unable to sign my code without the Apple Developer account.
I've tried many things:
I've downloaded Visual Studio for mac on my mac and run the code, but since my mac is old the version of xamarin I used in my code is incompatible with the versions of XCode and Visual Studio I can download.
When that failed, I've tried doing what's indicated on this website but I didn't succeed since archiving the app always failed, because the XCode version I can download isn't recent enough (I can only download version 12.4 and I need at least 13.3)
-I've looked a lot into signing the app without paying $119 to Apple for a developer account but have found nothing else.
If anyone has any suggestions about how to potentially get the .ipa file it would be greatly appreciated. Thanks:)
So I just got my Apple Developer account.
I got myself a MacBook Pro.
Those two were the only requirements I heard of to start developing iOS apps using Xamarin Visual Studio 2017.
I started off by connecting to my mac, it did connect successfully.
That's what it said at least.
Then I added a button to the form and here is where it all starts going downhill.
I can't find my device in the device log
When I try to build to my device it keeps saying
Could not find any available provisioning profiles for iOS.
I looked into this issue and got told that I need to add my developer account in Tools > Options > Xamarin > Apple Accounts
So that's what I did. And it still says the exact same thing.
What step did I miss here? Do I need to have Visual Studio running on the mac or what's going on here?
Here is a picture of the bundle singing
I'm developing xamarin application for both IOS and Androaid, when I'm try to publish the Ios appliaction to my iphone the build never ends and no error appear, I tring to upgrade my Xcode but this didn't help.
When I'm using the IOS simulator everything works fine, the build ends and the app run as expected. I tried all the solutions that I found on the internet but none of them help.
Is anybody encounter this problem and have solution for this issue??
enter image description here
Xamarin frameworks are updated as latest stable version on both of Visual Studio and MacOs?
Did you accept Apple New License Agreement on your apple account?
You can check logs. (Help->Xamarin->Open Logs)
After having developed an app for a friend using Visual Studio 2013 Pro with the Apache Cordova Extension, I hoped to also get it runnning on an iPad 3 as fast as with Android. However, things proved to be more complicated than originally thought: The 99$ for an Apple developer account would be far too high for a single device development (the app is intended to only work on one device, no commercial intentions).
At least I now have the ability to use Mac OSX and XCode, which is connected to Visual Studio via network. Installing the app in the iOS simulator works as expected, but I'm struggling with deploying it on the iPad. I already considered jailbraking the device, as the warranty is yet expired and it wouldn't be a problem for my friend. According to the Information I found it would be possible; however, I could not find much about how to do that.
Thanks in advance.
After several months I finally found a working solution:
The latest XCode version (7 Beta 2) is able to sign iOS applications using an ordinary AppleID instead of a $100 developer license.
First, you will need to prepare the vs-mda-remote node plugin on your Mac and be able to build applications [See here how]. Using an appropriate deployment target in Visual Studio, the app can be tested within a virtualized iOS environment.
However, the deployment options Remote Device and Local Device will both fail when you haven't subscribed to the Apple Developer Program. Other methods (described here or here) requiring jailbreaking the device haven't worked for me either.
Interestingly, Apple seems to have changed their strategy not much time ago , finally allowing to sign and deploy apps on non-rooted iOS devices.
Whenever an app is built for the iOS simulator, vs-mda-remote will create a whole new build folder (named using a 3 - 5 digit random number) located in ~/remote-builds/builds. Inside that build folder, you will need to find and open the XCode project file with XCode 7 (example path: ~/remote-builds/builds/654/cordovaApp/platforms/ios/YOUR_PROJECT_NAME.codeproj).
After having connected and detected your iOS device, you should be able to select it as deployment target. Then you should follow these instructions, basically just adding an AppleID which should be used to sign the app. This wasn't possible with earlier XCode versions and is certainly much easier than using one of the "hack"-like techniques involving jailbreaking your device and practically voiding it's warranty.
Finally, you will only need to set the Code Signing Identity to the registered AppleID (for both the Project and the Target) and you're ready to deploy your app.
This method worked for me using iOS 8.3 and Mac OSX Yosemite 10.10.4.
If there are any other questions, please feel free to ask.
in Visual Studio 2015 Community RC, there is an option to debug the app developed by cordova in 'remote device' (iPhone or ipad) connected to the Mac osx. Pls. try it.