Xcode service option is missing in the Services list of Server app - xcode-server

I have Xcode 9.2 and Server app 5.5 both installed. When I opened Server app, i couldn't find the Xcode option to setup xcode.
I have tried re-installing the xcode after the server app setup. But it still doesn't show up.
Server app Services list
Any help is greatly appreciated.
Thanks in advance!

Related

The selected device was disconnected and cannot be accessed anymore from this machine

I am trying to run my Xamarin app in debug mode on an iPhone 11. But I'm getting a "cannot be accessed" error.
And when I attempt to open the simulator I get the following error.
I've upgraded to the latest version of Rider (2020.2.3) but I'm still getting the issue. Why can't I run my app on iPhone?
You need to install additional XCode components—likely because of a recent MacOS update. Do the following:
Open XCode
Click "Install" when prompted
Once the components have been installed, you should be able to run your app on an iPhone.
I had the same issue, but nothing was updated on my machine. I ended up rebooting my iPhone, which fixed the problem for me.

Xamarin.Ios App terminates while starting (in Simulator and iPhone) only stating "The App has been terminated"

I am developing a Xamarin App for Android and iOS on windows. For iOS compiling, I pair with a Mac Mini.
I was forced to update MacOS, XCode, VisualStudio for Mac and therefore Xamarin. On Windows I also updated from Visual Studio 2015 to 2017.
After the updates, Android version works still fine.
The iOS App pairs, compiles and provisions successfully, but whe the App starts (either on simulator or real device), it shows the launch screen and after a few seconds quits back to home screen. It even says "successfully launched" but then terminates
The only logs I get are:
"The app has been terminated" -> on windows, in Debug Window
"Service exited due to SIGABRT" -> on mac, in simulator log file
I searched the web and tried lots of stuff:
Delete obj and bin folders
Clean, Rebuild, Restart VS, Restart Mac, Restart PC, Restart....
Deleted all Provisioning Files and Certificates, recreated them
Used Automatic provisioning, used Manual provisioning
Debug and Release Configuration
iPhone Simulator and Real Device
Sadly nothing worked and I cannot get more info why this happens.
Does somebody have or had the same issue and found a solution? Do you have suggestion what more I can try?
I would really appreciate any help.
Thanks
Edit:
As requested, a Screeshot of my build properties:
I am having the same issue. Restarting the device seems to be the only thing that works, but it's unreasonable to have to restart the device every time I want to run the debugger.
So I finally solved the problem...
I created a new iOS-Project from scratch, added the existing Xamarin.Forms project and copied the files from the original iOS project one by one. I also downgraded all firebase plugins from 5.x versions to the highest 4.x versions and xamarin forms from 3.x to 2.5.x and now the app runs in the simulator and bundle signing works also.
Thanks for your help, I hope my answer will help anyone with similar issues

Xamarin Forms iOS application always runs on simulator even if I choose a device

I ported my Xamarin Forms project from windows to Mac and I am trying to run it on a connected device which is added in the provisioning profile (provisioning profile and identity is setup accordingly in IOS Bundle Signing settings).
Whenever I try to run the App using Debug|iPhone > my Iphone:
It starts simulator runs on that instead of the device :
After stopping the build if I go back to Bundle Signing settings its changed back to simulator automatically:
I am using following setup:
Visual Studio 2017 Community on Mac 7.2 preview build 540.
XCode 8.3.3
Can anyone please help me with proper configuration to run the app on IPhone?
Many Thanks in advance :)
After hours of messing around I finally found the problem and solution.
In solution settings, iOS project (Debug-iPhone) configuration was mapped to (Debug|Simulator).
Simply changed it to Debug|iPhone and Its working fine now.

Visual Studio 2015 + Xamarin > Select a valid device before running the application

I have the latest alpha builds of xamarin recently uninstalled everything on both mac and pc (windows 8). I get the error "select a valid device" when trying to run the ios sample application.
I have set the platform to iphonesimulator, i am connected to the mac. The following is the log when building
Starting Agent IDB 4.0.0.1566...
Connected to the MacBook-Pro.local (192.168.1.120) with Limited support.
An error occured starting the IDB 4.0.0.1566 agent: The operation has timed out.
Starting Agent Build 4.0.0.1566...
Agent IDB 4.0.0.1566 is running
Agent Build 4.0.0.1566 is running
Starting Agent Designer 4.0.0.1566...
An error occured starting the Designer 4.0.0.1566 agent: The operation has timed out.
The Xamarin Mac Agent could not be fully started. Agents not started: Designer 4.0.0.1566. Please check the logs for more details.
Agent Designer 4.0.0.1566 is running
Connected to the Mac MacBook-Pro.local (192.168.1.120) with Full support.
The application works fine when run on the mac and the simulator works fine. I have the latest xcode and can run an application from xcode as well.
Properties of IOS project - i do see this error "failed to obtain profile information from the build server. Please, check the connectivity with the mac build host' > i have done this an everything looks connected.
Ideas??
For those that end up here in April 2018, there is currently an issue with Xamarin and xcode 9.3.
ensure that your mac has xcode 9.2 (I also had to completely remove 9.3), which you can download from the apple developers site.
un-install xcode 9.3 on mac
install xcode 9.2 on mac
restart mac
in visual studio - forget mac connection, re-connect when mac back up.
update*
Apparently this is fixed in Visual studio update 15.6.5, although not personally test myself yet
You should have development certificate installed on your MAC. Also your device should be provisioned for development. For details check here
Sounds like your root issue is that the Xamarin Mac Agent isn't connecting. Without this connection, most all iOS development cannot be run.
I can suggest two things.
1) reboot the mac - sometimes when you uninstall/reinstall or something goes wrong processes can be orphaned which cause problems, simple reboot might resolve your problem.
2) try the troubleshooting steps here: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/troubleshooting/
XCode 9.3 was recently released by Apple, that version is not compatible with the current Xamarin SDK. Xamarin has released updates to their SDK that fix the issue on both the Mac and PC. You can get them here: https://releases.xamarin.com/preview-xcode-9-3-beta-2-ios-11-3-macos-10-13-4-support-preview-2/

XCode 4.6 app won't install via ipa to device

I have an app built in XCode 4.6 and I'm trying to install it onto an iPad with iOS 5.1.
In the target summary I have set the deployment target to 5.1 and in the build settings the base SDK is set to latest (6.1). From what I have read this should work but when I install the app via the IPA file and iTunes the app starts and then flashes off.
It runs fine if I build and install through Xcode.
Is there something I'm missing here? Am I incorrect in thinking it will work if the base SDK is iOS 6.1 but the deployment target is 5.1?
I did double check the profile stored against the release configuration and found it was incorrect. So Kevin was right. Thank you.
It had been my understanding up til now that a profile error would prevent installation altogether. I know better now.

Resources