Remove Xamarin Debug Settings In iOS App Settings - xamarin

Is Visual Studios for MacOS, I'm trying to prevent the Xamarin Debug Settings from showing up when the app is installed from TestFlight. Settings -> App Name -> Debug Settings
I'm selecting Release and Generic Device before archiving.
Within Options I also have debug disabled for the release configuration.
What other settings am I missing to prevent this from showing up under my app's settings?

Related

Visual studio - Xamarin iOS remote simulator hot reload initialized correctly but not working

I am working on the iOS version of my Xamarin app. I've updated all frameworks and VS to latest version so I am currently running Visual Studio 16.7.7 and Xamarin iOS SDK 14.2.0.12. I am able to start the app and work with it using the remote simulator. But I am not able to use the Hot reload feature. I am correctly set up with the option enabled in VS and have the build option set to "Don't link".
Here the related debug output :
[HotReload] (2020-11-05 10:35:39.0): INFO: (ProjectName.iOS) (HotReloadAgent) HotReload: Initialized Agent.
[HotReload] (2020-11-05 10:35:41.7): INFO: XAML Hot Reload is connected and ready.
Then I update some Xaml...:
[HotReload] (2020-11-05 10:38:01.3): INFO: (ProjectName.iOS) Xaml Changed for 'Views/ViewName.xaml' in 'ProjectName', sending to app...
But nothing happens in the simulator.
Thanks in advance.

Xamarin Forms Deployment failed

I'm working on Xamarin Forms application in Visual studio 2017 .I wanted to deploy application to android simulator .I try to deploy it debug mode.
i set android project as the startup project
When i deploying i get this warning
No Address and User has been specified in order to establish a connection to a Mac Server, so only the main assembly was compiled for project CMI.IOSApp. Connect to a Mac Server and try again to build the full application.
Go to VS menu Build->Configuration Manager is iOS project tick when you have set your android project as start up project.
So the Build and Deploy checkbox for iOS project should be untick when you are going for Android build.

Error in building and running Xamarin iOs application in visual studio 2015 preview

I am the newbie in Xamarin Cross Platform development. I am using Visual Studio 2015 Preview for development. I created the new solution for mobile app and it is working correct for both Droid and Windows phone. But after successful connection with iOs Build host I got the error when I build the iOs App like -
Xamarin.iOS does not support running or debugging the previous build version of your project.Please ensure your solution builds before running or debugging it.
And also when I click on View iOS Simulator I got build host error.
Error: Build version problem. it will show the build version problem.
Please tell me the solution for this.
Most common cause of those symptoms
The most likely cause of this issue is the following known bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=25811
Explanation
The problem in that bug is that the Xamarin.Forms template is using a bad default setting for the iOS project in Visual Studio's configuration manager.
The configuration manager works by telling Visual Studio which projects you want to be built and/or deployed at the same time in the configuration you're using at the time.
So for example; when you build your Android project in Forms, the configuration manager makes sure that the shared project is included; otherwise it wouldn't work, or you'd have to build it separately or etc. etc. (i.e. a real pain.)
Normally, Visual Studio doesn't have a way to automatically "know" which project(s) you want to include in all your configurations; you'd have to tell it to include (some library) with (some app); etc. manually.
How to fix it
Screencast: http://www.screencast.com/t/zLoQOpEn
Go to "Build -> Configuration Manager"
Select the configuration(s) you wish to adjust, (e.g. Debug | iPhoneSimulator, Release | iPhone)
Make sure your shared library project(s) are included with the platform-specific configurations. (You can ignore the greyed-out 'Deploy' checkboxes, those are handled automatically)
Why this is a bug
So this isn't a bug in that the configuration manager isn't working correctly for iOS projects, but that the Forms template is using a bad default setting for the iOS projects when you create a new app. It should "know" to include the shared project in the iOS configurations by default.

How to launch iOS emulator from Xamarin Studio

Just beginning to use Xamarin Studio.
Purchased the indie addition
Uploaded all the certs and provisionning profiles
Compiled the entire solution
Now I would like to run the iOS part of the solution in iOS emulator. The problem is - I'm unable to find where in Xamarin Studio is the link or menu option to launch an iOS emulator. I also have the latest Xcode installed on the same Mac machine. So, how do I go about running the compiled iOS project in an emulator?
-Eugene
As it turns out, all I had to do was to switch the Project configuration from Debug to Debug iPhone Simulator: Project ->Active Configuration -> Debug iPhone Simulator.

Xamarin Forms project set Startup Project

I'm building a Xamarin Forms application for Android and iOS.
How can i set iOS as startup project? I've read that your suppose to rightclick and set it as startup project. But i can't find the option?
Please help me.
You need to change your configuration options to something you have connected. This happens if you were originally debugging directly on an iPhone connected to your Mac, and now the iPhone is gone. Xamarin Studio doesn't switch automatically to the iPhone Simulator when a device is not detected, instead removes the option to use that project as a startup project.
To fix, do this:
Right click on the iOS project and go to Options
Under Build->Output, select the "All Configurations" under the drop down
Under the Platform drop down, select "iPhone Simulator"
Click Ok to save
Now on the top left corner of Xamarin Studio where you can set Debug or Releas, make sure you set it to Debug | iPhoneSimulator and NOT to Debug | iPhone
... and only then, you'll be able to select "Set As Startup Project".
So much depends on your operating system and which environment you are using. If you are on Xamarin Studio on a Mac, right clicking should work fine. Can you possibly give us a bit more information?
Do you have XCode and iOS SDKs from Apple installed? Do you have an iOS development account? You need both of these things, then click on the project's options and pick a development account to use for the project.
You may not have the iOS license and may not be able to run the iOS project at all, although in such cases on my machine the project is grayed out and clearly labeled.
Are you on Windows? If so you won't be able to run iOS projects. The shortcut labels indicate Mac, so does the context menu shape.
Have you been able to run any iOS projects? Try creating a new blank solution with just an iOS project in it to see if it runs.
There is a chance this is a bug with Xamarin's localization in your language (Swedish?)
Try switching your locale to US/English and file a bug with Xamarin or at least send them an email

Resources