Install iOS app developed using Visual Studio 2015 Xamarin to iPhone directly - ios

I have developed a iOS app using Visual Studio 2015 Xamarin. Right now I dont have a mac system in place. Is there any way I can install the app to iPhone directly and test.
We can do the same for android device by directly installing APK to device.
Best regards
Anup

Yes you can but you need distribution certificate and after create ipa so you can install ipa in your device using itune on window system

sure you can. please see this article on which setting to do.
You basically have to chose an ios device as debug goal instead of the simulator
https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/debugging_in_xamarin_ios/
additionally this needs the same basic prequises than installing unsigned applications on ios.

If we consider the xamarin application the ipa file itself will generated on build server
You'll need mac any how I guess.

Related

How to generate a .ipa file from my app using Visual Studio?

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:)

Signing Xamarin.iOS Certificate in Visual Studio Windows Error

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.

Deploying Apache Cordova app to iPad without Apple developer account

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.

How to generate ipa using visual studio for ios

I am developing an app for iOS using visual studio (phone gap). Can any one please assist me how to generate IPA for the same
Best way is using official phonegap build site :
just upload your project and it will build files for you. totally easy.
https://build.phonegap.com
Be noticed that you need Apple developer account : 99$/year

Enterprise App not able to download on iPad

I have hosted my IOS App on company's server using Apple's enterprise development profile.
I was successfully able to download the App on my iPhone but not on my iPad.
It asks for Install nothing happens.
What am I missing?
Thanks.
The problem is with the iOS 8 loader for Enterprise installs. Unfortunately, the only way to circumvent this issue is to dynamically rename the bundle identifier in the plist for each request.
This will effectively install two instances of the application on your device but the legacy version will be deleted once installation has complete.
See the following link for further details:
iOS 8 Enterprise Apps issue
The following link will also provide more details on how to implement such solutions:
Enterprise catalog
Check for iOS version of Deployment Target in Xcode, maybe it's newer than the version on the iPad.

Resources