Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
261 views

Xamarin Forms: could not launch the ios application on the device

I could not launch the xamarin.form IOS application on the device. The application can be deployed successfully but the launch failed. error MT1007: Failed to launch the application on the device '...
RMR's user avatar
  • 629
0 votes
1 answer
492 views

Xamarin failed to codesign, resource fork, Finder information, or similar detritus not allowed

I recently moved this Xamarin Forms app to a new developer account. It's been a few years since I've worked on it and I have not been able to get it to build. I recreated the provisioning profiles and ...
Josh Bula's user avatar
  • 383
0 votes
1 answer
311 views

Xamarin.forms iOS app signed with invalid signature when deploying in debug on device

Steps to Reproduce Set Apple signing to automatic with correct team for app bundle id Build and run to actual ios device Expected Behavior App built and signed and debugging on ios device. Actual ...
Bishokouts's user avatar
1 vote
0 answers
254 views

Xamarin.iOS, Info.plist - App Icon setting - is set back to None after Saving and reopening the file

I'm facing an issue in my Xamarin.Forms iOS project, and I'm hoping someone can help me to resolve it. (Visual Studio Mac, Xamarin forms) Problem Summary: In my Xamarin.Forms iOS project, I'm having ...
TheJake's user avatar
  • 11
0 votes
0 answers
277 views

Xamarin forms app takes forever to deploy in android, from VS Mac

When Xamarin forms app is deployed to android device it builds successfully but doesn't deploy, gets stuck while installing package. Solutions tried: Tried deploying to multiple android devices, but ...
Poornesh V's user avatar
0 votes
1 answer
1k views

Nuget package restore using wrong source and failing in Visual Studio for Mac

I recently transferred a Xamarin project to a new MacBook in order to get everything up to date to the latest iOS version. I am using Visual Studio for Mac 2022. This project uses Grial UI(version 3) ...
rgorr's user avatar
  • 370
0 votes
0 answers
400 views

Application could not be uploaded to the device with XF

I'm on the most recent VSMac, most recent X.iOS, and Forms. xcode is upto date and my mac is upto date. I'm running on an intel mac, but I can't imagine that is causing problems. I have an XF app. ...
Wallace B. McClure's user avatar
0 votes
0 answers
482 views

Visual Studio 2022 for Mac automatically adds info.plist to iOS project with Xamarin Forms

When I open an existing Xamarin.Forms project in Visual Studio 2022 For Mac it automatically generates an empty Info.plist with a reference in the iOS project. This wasn't the case with the 2019 ...
Piet Sikkema's user avatar
0 votes
0 answers
68 views

Code Generation and T4 Text Templates for Mac

Upon reading the Microsoft docs, generating or compiling T4 file is not supported in Visual studio for Mac, but does anyone knows any work around for this so that I can compile it in Mac, I always get ...
Funky Sloth's user avatar
1 vote
1 answer
400 views

Visual Studio Mac showing Hammer icon no run button - Xamarin.Forms

I have VS Mac 2022 with xamarin.forms project and android project is set as startup. When I want to run the app there is no Run button only Hammer icon showing up in VS at top left corner. I am not ...
Arvind Chourasiya's user avatar
0 votes
0 answers
78 views

Navigation has failed: takes to the assembly browser

I've been working on a mobile app using Xamarin.Forms in Visual Studio for Mac. I ran into a glitch that I have never encountered before. When I click on a button, which generates an event and ...
Jace's user avatar
  • 5
2 votes
1 answer
2k views

No matching profiles found Xamarin forms Visual Studio Mac

I am not sure if I am doing something completely wrong, but I keep getting the following error in Visual Studio for Mac when trying to sign my Xamarin forms app "No matching profiles found" ...
irldev's user avatar
  • 39
2 votes
1 answer
598 views

Set Xamarin Project Build Version in Visual Studio for Mac 17.0

Looks like Microsoft has changed a few things in Visual Studio for Mac 17.0. I can't find where I can set the build number for my project. I only see project version but the build number field seems ...
Sam's user avatar
  • 30.3k
0 votes
1 answer
633 views

visual studio 2022 excluding Android Manifest

I'm new here. i am testing visual studio for mac 2022. i am opening a xamarin project made in vs 2019 for mac. whenever I open it it deletes the android manifest and creates a new one. am i missing ...
Keli Oliveira's user avatar
0 votes
0 answers
139 views

How to downgrade/configure elder Mono in Visual Studio For Mac?

I am trying to build old code with Visual Studio For Mac and getting the following error: Target XamlC: Compiling Xaml Assembly: obj/Debug/OxyPlot.Xamarin.Forms.dll ... /Users/.../...
Dims's user avatar
  • 50.8k
1 vote
0 answers
596 views

Visual Studio for Mac Preview unable to connect to Android debugger

I am attempting to debug a Xamarin.Forms application on an Android device (a recent Samsung Galaxy, but noted on other devices as well). When I build and launch the application from Visual Studio for ...
steve richey's user avatar
1 vote
2 answers
495 views

Numeric Keyboard does not appear

I am building an app using Xamarin Forms. I have the following code for my keyboard: <StackLayout Orientation="Horizontal" Grid.Row="2" Margin="0,0,0,20"> &...
thejdah's user avatar
  • 345
-1 votes
1 answer
2k views

Visual Studio for Mac Android Emulator Error with M1 Chip

New to developing on a Mac. Trying to get the Android Emulator to run. I have the newest MacBook Air with the M1Chip. When I go to run the simulator for Android I get this warning and the emulator ...
user5596939's user avatar
1 vote
0 answers
371 views

Xamarin.iOS app fails to compile in Visual Studio for Mac 8.10.14

I have the following error when compiling an Xamarin iOS app in Visual Studio for Mac 8.10.14 when doing it in Release Mode to Generic Device: MTOUCH : error : System.ArgumentOutOfRangeException: ...
Sebastián Guzmán's user avatar
0 votes
0 answers
361 views

Visual Studio Mac - signing failed: Keystore was tampered with, or password was incorrect

Weird problem. I am trying to compile and deploy a Xamarin forms app to the google appstore for android. I keep getting a "signing failed: Keystore was tampered with, or password was incorrect&...
Wallace B. McClure's user avatar
1 vote
2 answers
639 views

Debug nuget packages on Visual Studio for Mac not working

I have some nuget package hosted in my gitlab project. And I need debug this package and can't do this on Visual Studio for Mac. Here is my csproj file: <Project Sdk="Microsoft.NET.Sdk"&...
Max951's user avatar
  • 51
-1 votes
1 answer
116 views

Mac SourceTree merge seems to break branch

Working in Visual Studio Mac on a Xamarin.forms project. So: I had a bug with something called DeviceTokens in my "development" branch I went back and found a commit that didn't have the ...
Le Mot Juiced's user avatar
7 votes
4 answers
11k views

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I updated my XCode to XCode 13 for make test my Xamarin.iOS app on ios 15 devices. I updated visual studio for mac app to version 8.10.9 After this updating, I opened my app in visual studio for mac ...
Pelin Konaray's user avatar
0 votes
0 answers
92 views

How to create custom templates for Xamarin Forms solution as SDK project in Visual Studio Mac?

I've tried creating custom template for my Xamarin Forms Solution using the following link https://www.monodevelop.com/developers/articles/creating-a-simple-project-template/ When I run this extension ...
Anonymous's user avatar
0 votes
1 answer
464 views

Cannot open "" for writing -- sharin violation on path. External Harddrive

I just got a new external SSD and since my macbook has only 128gb capacity, I thought that I could create my Xamarin projects on SSD. It is formatted exFAT and I tried to build project on windows and ...
Can Yoldas's user avatar
1 vote
0 answers
554 views

Xamarin.Forms: Nothing happens when I try migrate to AndroidX by Visual Studio

I am trying to migrate my project to AndroidX using the Visual Studio for Mac, but when I use the option on the interface (like suggesting on microsoft documentation) nothing happens. I find some ...
André Smaniotto's user avatar
1 vote
0 answers
204 views

"Authentication failed" issue while publishing a xamarin ios using VS2019

trying to publish a Xamarin IOS app to appstore. I am using VS2019. When i publish the app, i am getting the error: "Publishing failed" "Authentication failed"
kiflay's user avatar
  • 745
0 votes
0 answers
157 views

Trying to publish new version of app - "Invalid Toolchain. Your app was built..."

First, some informations about the enviroment: -App built with Xamarin Forms 4.7.0.968. -Visual Studio for Mac (last version) -iOS SDK 13.4 -Xcode 12.5 (I've tried also the Xcode 11.4) -Certificates, ...
WKuhnVXII's user avatar
-1 votes
1 answer
330 views

Possibility to create a multiplatform desktop application on Visual Studio for Mac in C#, but build it on windows

as the title already mention my question is about the following: I 'm looking for a possibility to create a multiplatform desktop project on Visual Studio for Mac. After creating that, I'd like to ...
dennis605's user avatar
  • 210
1 vote
0 answers
243 views

Xamarin Visual Studio Mac AndroidX Problem

I want to migrate my application to androidx. However, this line gives an error. The error is /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3): ...
Mesut önal's user avatar
1 vote
0 answers
696 views

Visual Studio 2019 for Mac lacks Xamarin.Android

I am trying to install Visual Studio for Mac 2019 with Xamarin, following the instructions here. All goes seemingly well, I do select Xamarin (in this case it's grayed out because this is not my first ...
Gauthier's user avatar
  • 41.8k
0 votes
2 answers
1k views

How to run Xamarin.UITests for iOS with Visual Studio on a Mac

I am writing automated UI tests for a Xamarin.Forms crossplattform App. I have already implemented tests for Android using Xamarin.UITests to run them in the App Center. Now I want to execute these ...
Miaz's user avatar
  • 1
0 votes
0 answers
131 views

Tutorial for using Preferences menu item on macOS with Xamarin in Vs for Mac

I have done some research and it is all in Xcode with Swift. I am using Xamarin.Forms/ Cocoa App for macOS on Visual Studio for Mac. I can’t find clear instructions for hooking app preferences of any ...
Andrew Truckle's user avatar
0 votes
1 answer
39 views

Problem Building Android Archive for Publishing in Xamarin Forms

Am I doing something wrong here, I set it to API 29. But I keep getting an error
Mitchell Rodrigues's user avatar
0 votes
0 answers
24 views

Problem with using OnIdiom on VS for Mac using Xamarin Forms

I have always used this the same way and it always worked. After an update I keep getting an error. Can someone help me out? This is the error I get.
Mitchell Rodrigues's user avatar
2 votes
1 answer
647 views

How to conditionally include XAML ResourceDictionary in Xamarin.Forms projects using .csproj MSBuild

We use a single branch of code to build multiple versions of iOS and Android apps. We use conditional MSBuild commands in the platform specific projects which works well. There is also some ...
Paul Chapman's user avatar
0 votes
0 answers
149 views

How to use DisplayAlert when closing the main window

I have this button in XAML: <Button x:Name="UpdateButton" Padding="10" Command="{Binding SaveAndUpdateCommand}" HorizontalOptions="CenterAndExpand&...
Andrew Truckle's user avatar
3 votes
1 answer
1k views

Obfuscar for Xamarin Forms

I'm developing a Xamarin.Forms app using Visual Studio for Mac (Community Edition). I'm able to decompile the source code of the Android application using ILSpy In order to obfuscate the source code, ...
Sahil Khanna's user avatar
  • 4,382
-2 votes
1 answer
122 views

Problem with building paths iOS v MacOs in Xamarin Forms app

I have this code: var myDocuments = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "..", "Shared"); _rootPath = Path.Combine(myDocuments, "...
Andrew Truckle's user avatar
0 votes
1 answer
652 views

Xamarin.iOS build archiving error "Could not find a part of the path '.../Frameworks'"

I am trying archive Xamarin.iOS build by press "Archive for Publishing" at Visual Studio for Mac. I get error "Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS....
Vovanok's user avatar
  • 75
-1 votes
1 answer
179 views

Visual Studio for Mac will not create a button click handler

I have seen this question but in my case when I type Clicked="" and choose the option to create the handler I see this: It won't let me create a handler. 🧐 Code snippet: <RelativeLayout ...
Andrew Truckle's user avatar
-1 votes
1 answer
120 views

How can I change my project to build with MacOS DarkMode

I am colour blind and would like to take advantage of the dark mode in MacOS for my app. I saw this but I don't know if it is correct for my context. Being colourblind I am not in a position to choose ...
Andrew Truckle's user avatar
0 votes
1 answer
127 views

How to fix this exception:Cannot convert a NSColorType.Catalog color without specifying the color space, use the overload to specify an NSColorSpace

I am trying to build a Xamarin.Forms 5 MacOS project - the XAML is the basic as provided by the default boiler plate code. When I compile the project I get an exception: The exception: Cannot ...
Andrew Truckle's user avatar
0 votes
0 answers
227 views

My iOS app is freezing on the launch screen after upgrading to Xamarin Forms 5.0 (Visual Studio 2019 Mac)

I'm trying to fix a problem, that started after upgrading to Xamarin Forms 5.0. I was using the Xamarin.Forms.4.8.0.1560. Everything was working fine. Now, the app freezes in the launch screen, on my ...
Carlos Rafael Rasche's user avatar
0 votes
0 answers
82 views

Can't find "Use .NET Standard" when creating a Xamarin.Forms project with Visual Studio for Mac

I am trying this tutorial as I want to create a simple Xamarin.Forms project to plugin to my other project. The parent tutorial is here. In the parent tutorial it stated: You can see most of this ...
Andrew Truckle's user avatar
-1 votes
2 answers
944 views

Is it possible to deploy xamarin.forms ios to iphone without apple developer accaunt?

I want to test my xamarin.forms application on my Iphone 11 pro witout Apple developer accaunt I try this but it nor work create swift app with xcode and use same bundle identifier from my xamarin....
Tonikyan's user avatar
0 votes
0 answers
641 views

LaunchScreen.Storyboard Build Error in New Solutions

I was working on a Xamarin.Forms Multiplatform app starting with the Blank Forms App template on Visual Studio for Mac 2019. The project built and ran in the simulator no problem. I tried to make ...
Brad Edwards's user avatar
8 votes
2 answers
458 views

Xamarin, how to generate constants for images file names in the project?

I'm looking for a way to generate constants classes c# file(s) for image file names in my project. So I can use them in code and xaml, runtime and design time, when the classes are regenerated (when ...
Jules's user avatar
  • 7,746
1 vote
1 answer
3k views

How to enable Entity Framework Core 5 migrations in Visual Studio Community 2019 version 8.7.4 for Mac

This question is very similar to one that's already on Stack Overflow that was asked three years ago. Please don't redirect to the older question as three years is an eternity when it comes to ...
Alan2's user avatar
  • 24.5k
1 vote
1 answer
2k views

Xamarin.AndroidX build error in release mode

I have a Xamarin Forms project for iOS and Android. The iOS app builds in both Debug and Release, but the Android app is not building in Release mode. I can build and run it in Debug fine, but I get ...
Austin's user avatar
  • 4,758