ERROR ITMS-90240: "Unsupported Architectures"
Hello, I'm trying to publish Xamarin.Mac app with the help of Application Loader but getting few errors and one of them is like: ERROR ITMS-90240: "Unsupported Architectures. Your executable contained...
View ArticleHow to symbolicate a Xam.Mac crash log?
Hi, I've had an update to a Xamarin.Mac based app rejected from the AppStore because it's crashing. I haven't managed to replicate the crash behaviour locally but Apple have sent me the crash logs. I...
View Article[Solved] Xamarin.Mac: error MM5109 in release build related to...
With some extremely valuable help, some time back I moved a solution that has 9 projects - over half of which were using MonoMac - to Xamarin.Mac. "Real Life" got in the way for a bit, so now, almost 8...
View Articlecompile error after upgrade 7.6.7(build 49)
I didn't touch anything after upgrade. What do I have to for resolve ? error msg =================================================...
View ArticleOpening a New Custom Window From Other in Xamarin.Mac
Hi, I have two customized NSWindow in my application like these: public partial class LoginVindow : NSWindow { public LoginVindow (IntPtr handle) : base (handle) { } } Window 2: public partial class...
View ArticleView added using AddSubview Not showing in UI (Mac OS Mojave)
We have a NSview in the homePage of our application.Where we add a Nsviewcontroller as subview.The Nsviewcontroller consists of a tableview with delegates. Here the tableview inside the viewcontroller...
View ArticleDownloadFileAsync Callbacks return -1 for TotalBytesToReceive in Mono 5.12+
This worked using mono 5.10, but as of 5.12 it appears broken. Given the following code: void TestDownload() { WebClient webClient = new WebClient(); webClient.DownloadProgressChanged +=...
View ArticleDark mode icons
Is there a way to add the dark mode icons for a Mac app, so the appearance adjusts when using Mojave's dark mode?
View ArticleUse custom NSApplication with Xamarin.Mac
How can i use my own derived NSApplication class with Xamarin.Mac? What i have so far is my custom NSApplication subclass [Register("CustomNSApplication")] public class CustomNSApplication :...
View ArticleHow to embed and call exe from a library project
I've got a command line tool and want to call this out of my library. The library is used in multiple exe projects. When I import/link the commandline tool in the library project using BuildAction...
View ArticleAvoid Vibrancy in Mojave
Hello Everyone, I have an app where I have a few NSPopover everything works fine before Mojave but in that version 10.14 all objets inside NSPopover are transparent, is there a way I can avoid this? I...
View ArticleHow to start a Mac application on startup?
Hello All, I need to start my application on startup. It has UI, window etc. I went through couple of links suggesting to use CFPreferences API or to create a launchd property list file and place it in...
View Articlethis project type is not supported by visual studio community 2017 for mac
Hello, When I try to clone the project into Mac it is giving me the below error. this project type is not supported by visual studio community 2017 for Mac FYI : the cloning project is developed in...
View ArticleNSScrollView.AddFloatingSubview?
I can't find the method https://developer.apple.com/documentation/appkit/nsscrollview/1403546-addfloatingsubview, is it somewhere? It looks absent...
View ArticleCoreGraphics.CGEvent.CreateTap always returning null?
I'm trying to log key presses using CoreGraphics.CGEvent.CreateTap, but the call is always returning null. The app has Accessibility access, and I've also tried running with sudo to no avail. Is there...
View ArticleWhat do you use for code coverage?
My team is developing a product where we need to measure code coverage. Does anyone have a solution for this? I've found XR.Mono.Cover, but I was hoping there was something more mature. Thanks in...
View ArticleXamarin.Mac linker behavior, AppStore validation rejected
Hello After updating to the last version of VS for Mac (7.6.10 b27) including latest version of Xamarin.Mac (5.0.0.0), I've released a new version of my app to Appstore, but it is getting rejected with...
View ArticleRelay Command works in Xamarin Forms on iOS but not on Mac
Hi, My RelayCommand works in Xamarin Forms on iOS but not on Mac, any ideas? I'm using MvvmLight. Kind regards, Anthony Harrison
View ArticleBoilerplate style declaration "| NSWindowStyle.Titled" throws
Hi, The following boilerplate code throws: var style = NSWindowStyle.Closable | NSWindowStyle.Resizable | NSWindowStyle.Titled; however if I do this: var style = NSWindowStyle.Closable |...
View ArticleInterprocess communication with AuthorizationExecuteWithPrivileges
I have an application (C#, multiplatform) that require elevated permissions to do some tasks. So, i have the main application (C#) that run with normal user, and launch another 'helper' application (C#...
View Articleresource fork finder information or similar detritus not allowed
I installed the beta version of xamarin IOS, MAC, Visual Studio and now, when I compile my MAC project, I have the following error: resource fork finder information or similar detritus not allowed Can...
View ArticleHow to change views on Xamarin.Mac
Hi, I have implemented a splitview controller with table view at the left splitviewitem and content view at the right splitviewitem. How to change the views in the right splitviewitem of the window...
View ArticleTrouble deleting a file on an external drive
Hi All, I'm in a bit of a bind and would appreciate any help possible. I have an application that will mount a device as a mass storage device in order to transfer files to it. After mounting the...
View ArticleBug in Xamarin for Mac at base.DidFinishLaunching(notification) and at the...
Hello, After some time not having bugs in MacOS 10.13 while debugging my app, an error is being thrown at : base.DidFinishLaunching(notification) As you can see on the screenshot, the error happens at...
View ArticleXamarin on Mojave not properly loading controls
Since upgrading to Mojave and Xamarin (VIsual Studio for Mac 7.6.11 b9), sometimes when I compile an app, my dropdowns and panels can become transparent and unusable. It's not every time, sometimes it...
View ArticleAccessing storyboard items in a tabviewcontroller
I'm in process of producing a Mac version of my Windows app. So far going well. I've got stuck on what should be something really basic. I've got the main.storyboard file with a NSTabViewController to...
View ArticleIntegrate scanner and tabs as in safari style (of Finder)
I have 2 requests: 1) Can someone help me to integrate directly into a Xamarin.MAC application the ability to scan a document 2) I would like to integrate in my application Xamarin.Mac the possibility...
View ArticleDeadlock
I have problem when my application (Xamarin.Mac) runs for a longer time. It is just periodically connecting to local HTTP server and updates the UI if needed. I start it from VS in debugger and I keep...
View ArticleXamarin.Mac - Network connected / disconnected event
How can I detect the internet connectivity in a Xamarin.Mac app? How can I receive an event when LAN cable is plugged / unplugged, WIFI connected / disconnected or connected to other available...
View ArticleClipboard and Screen size
Hello Xamarin folk ^_^ I have a fairly memory hungry game for which I'm trying to improve MacOS support, there is just this nagging little missing piece of the puzzle that causes some major...
View ArticleAutomatic Provisioning failed: An App ID with Identifier '*' is not available.
I used to be able to deploy to iOS devices using Automatic Provisioning in Visual Studio for Mac. I haven't done so in a while. The last time I tried I also updated MacOs, XCode, Visual Studio for Mac...
View ArticleFunction GetTempPath() returning different path on Maverics and High Sierra OS
I am using GetTempPath() to get temporary directory path. But I am getting following path of Temp Dir path on High Sierra /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000 and getting following...
View ArticleError initializing task PackageFilter: Not registered task PackageFilter....
So, whenever I try to build my solution I get the error: "Error: Error initializing task PackageFilter: Not registered task PackageFilter. (Name og project in solution)". I have no clue how to solve...
View ArticleBring Front the CALayer over the the NSView in Xamarin.Forms.macOS.
Hi Team, We experiencing a atypical behavior in our application which is developed in Xamarin.Forms.macOS project. Application Scenario: We are using a custom NSView class which holds the ListViewItems...
View Articleapplication keep light theme on mojave dark mode
Hello, how can I keep application ui as it was before "mojave" dark mode? As I found I have to set theme from appdelegate, but in xamarin I'm not able to do this, because 'ThemeManager' is not visible...
View ArticleHow will open an application in full screen mode.
Hi, When ever I run my application, it must be open in full screen mode. How will do it? Thanks
View ArticleHttpClient not fetching auto proxy configuration
I'm making an Http post request using HttpClient in a Xamarin Mac project. I have found that this does not pick up on the OS proxy settings that require fetching a proxy auto configuration file from...
View ArticleProxy authentication required(407) is returned only for https connection on...
Hello. I have an question about accessing URLs starting with https via proxy with authentication on Mac. When I use Visual Studio for Mac 7.4.1, my app (like following code) can access URLs starts with...
View ArticleHow to run unit tests for Xamarin.Mac class library?
I have Xamarin.Mac class library, which targets Xamarin.Mac Modern. To test it I created another Xamarin.Mac class library and added reference to nUnit 3.11.0 added several tests to it. Unit Tests are...
View ArticleHow will get /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000 using...
I am using GetTempPath() to get temporary directory path. GetTempPath() returning on High Sierra is /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000 and GetTempPath() returning on Maverics is...
View Article