Delphi iOS Simulator error message 'Session ended' - ios

I am trying to run iOS Simulator from Delphi having setup the following needed configurations:
I am using mac with Parallel Desktop for my RAD Studio virtual machine.
I am using Delphi 10.1 Berlin.
Already installed an XCode and running.
I have my command line tools.
I have platform assistant and running in my mac.
I already created my connection profile using the IPAddress and port given by PAServer.
Installed SDK for OSX and iOS in the SDK Manager.
I have no problem running my OSX on my Mac.
The only issue I have is my iOS Simulator is not working. Here'sscreenshot of the error message.
I swear I checked the recommended troubleshoot procedures several times but no avail.
I hope someone help me get through with this. I already spent the whole day searching/troubleshooting this connection.
Many thanks and cheers!

There is a Hotfix for 10.1 Berlin called "30680_rad_studio_10.1_berlin_hotfix_11_jan_2017". It should be available for download from your EDN account under "My registered user downloads".
You need to copy the files from this zip archive onto your Mac in the PAServer-18.0 application folder /Applications/PAServer-18.0.app/Contents/MacOS. There is a readme_en.txt with a detailed description.

Related

Building iOS app with Xamarin and Visual Studio 2019 - Error Wrong Version of Xcode installed when it isnt

I am trying out Xamarin on the Mac. I have an oldish Mac that DID have Xcode 10.1 on it.
I tried to build the iOS app and got the following error:
Severity Code Description Project File Line Suppression State
Error The Xcode version installed on the Mac (10.1) is not compatible with this version of Visual Studio. This may cause unexpected warnings or errors when building and deploying iOS projects. Please install Xcode '11.3' or visit the documentation to learn more. 0
I upgraded the Mac to Caitlin and upgraded Xcode to 11.3.
I can connect to the Mac and actually can run the iPhone simulator with the app, however, if I run the build, I STILL get the same error, like its not figured out how to update itself?
I have done the 'forget this Mac' and even renamed it on the network in case there was some legacy in a file somewhere.
I have dumped the solution and created a new one from the templates and still get the same error ... hair being torn out...
It might be one of those things that just goes away after a while I don't know. Any ideas?
Thanks.
EDIT * I realised that I wasnt clear. I am running VS2019 on a PC connecting to my Mac.

Xamarin App running in Ios simulator using visual studio

I am facing the issue to run the xamarin app in IOS simulator. Whenever i am trying to run this app it was asking me to add or pair the Mac. Since I dont own the Mac I tried to install Xamarin.Ios in windows. In this process i need to install the XCode in my windows 10 Os. First of all i am unable to download the Xcode tool from Apple portal with valid credentials. I followed the below 2 links but no luck to download and install the Xcode. Could you guys please help me the easiest solution to download install the Xcode to do the next level of run the App in windows.
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/?pivots=windows
https://apps.apple.com/us/app/xcode/id497799835?mt=12
Bottom line is that iOS apps must be build using a licensed Mac OS, period. Visual Studio for Windows does not actually build the iOS app, what it does do is connect to a Mac (which must have XCode installed) and facilitate a remote iOS build via XCode. However, if you have a Mac, you can build both iOS and Android code directly on your Mac using Visual Studio for Mac. Yes, it is frustrating that you must have access to a Mac OS to build iOS apps, but this is a requirement and there is no way around it.

Using Xamarin and VS15 on Mac and VM

I'm trying to do some developing with Xamarin. My setup is this:
MacBook Pro running Sierra 10.12.3
-XCode 8.2.1 installed
VMWare Fusion running Win10 VM using Bridged network connection
-Running Visual Studio 15 with Xamarin up-to-date with latest Stable release
I'm still just trying to get everything set up. Originally, I was running Yosemite, so I would get the error that I needed to Accept the XCode terms when I tried to set up my Xamarin Mac Agent, but XCode wasn't even installed (my bad). So, I updated my OS to Sierra and installed XCode. Then, I made sure on the Mac side that my account was included for Remote Login. When I try to connect, it comes back after 30 seconds or so that it "Couldn't Connect". So, if I try another account in the approved Remote Login list that I don't have the password for, it comes back right away that I have the wrong credentials. So that tells me that it must be getting thru to the Mac, but something else is wrong.
Any ideas would be great!
Thanks!
To make the connection between OS X and Windows work, you have to make sure that you're running the same version of Xamarin on both.
On OS X, you need to have Xamarin Studio with the latest stable version of Xamarin and Xamarin.iOS installed. On Windows, you need to check that you have the same version by going to About Visual Studio dialog (Help menu).

Xamarin downloading and updating error on MacOs Sierra VM

I have a MacOS Sierra VM on VMWare and I'am having problems to download from the Xamarin repositories.
When I first installed Xamarin on Mac, I did the manual install of all downloads from xamarin because the installer gave me an error.
I need to update to Xamarin.IOS 10.4.0 but it gives me an error on automatic installer and I cant download anything.
The manual installer on this page: https://store.xamarin.com/account/my/subscription/downloads
don't show the Xamarin.IOS 10.4.0 version that I need, the last it shows its 10.3.1
Im new on Mac Os but I have internet on my VM and I don't know what to do.
Any ideas?
Any help is worth. Thank you.
I found a manual installer on this url:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-10.4.0.123.pkg
I installed it whitout problems. I dont understand why this link isn't on: https://store.xamarin.com/account/my/subscription/downloads
i found it by myself.
The automatic installer of updates still dont working but this resolve my problem of the Xamarin.IOS 10.4.0.123 version.
Use Xamarin Studio for updates. Even if it fails to complete downloads, you can find all those URLs later in ~/Library/Caches/XamarinStudio-6.0/TempDownload/index.xml.
I also have problems with automatic updates and all the links to the latest versions are almost always missing on Xamarin's Downloads page.

Visual Studio 2015 hangs on deploying cordova application

I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version.
I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device.
I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there at the end of the build into the folder ...\Documents\Visual Studio 2015\Projects\BlankCordovaApp1\BlankCordovaApp1\bin\iOS\Debug and if i launch that it will correctly install into iTunes and the iPad itself.
The problem is that the build action with Configuration "iOS" and "Local Device" with the iPad connected to the windows 7 PC will hang indefinitely after copying back said .ipa file after writing this line into the Build Output:
2>------ Deploy started: Project: BlankCordovaApp1, Configuration: Debug iOS ------
No matter how much time i wait it wont start the debug session even if i authorized the pc onto the iPad and have my web Inspector turned on onto the safari options. At this point i have to interrupt the build to be able to work again.
What really gets me is that if i connect the iPad to the MAC machine and build with "Remote Device" option the build works fine and i can debug remotely from my windows pc, unfortunately working like that isn't an option since the Apple machine isn't in the same room of my developing machine.
Any insight about this issue would be really appreciate, thanks in advance.
You are using a recent version of node and thus will also need to use a recent version of Cordova.
Specifically, you need to use Cordova 5.3.3 to be able to use Node.js 4.x.x+. The hang you are experiencing is exactly why. It's an incompatibility with a down stream node module and Node 4.x.x. You can downgrade to Node 0.12.x or upgrade your Cordova project to 5.3.3.
http://cordova.apache.org/news/2015/09/22/tools-release.html
Note that Node 5.x.x is only supported in Cordova 5.4.1.
This should be addressed in the latest VS Tools for Cordova Update 6. Deploying to local device is now available.
Take a look at http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html.

Resources