580 questions
0
votes
1
answer
39
views
Mac Catalyst (MAUI): IOHID InputReportCallback not firing, IOUSBInterfaceOpen returns kIOReturnNotPermitted (0xe00002e2) for custom HID device
I am developing a .NET MAUI Mac Catalyst app (sandboxed) that communicates with a custom vendor-specific HID USB device.
Within the Catalyst app, I’m using a native iOS library (built with Objective-C ...
0
votes
1
answer
48
views
C# Build System (MSBuilds, .csproj): Is there a difference between '#if __IOS__' and '#if IOS' or are they the same?
Essentially what the subject says. I'm getting conflicting information from AI tools on this subject.
0
votes
1
answer
69
views
How to provide iOS widgets to Mac Catalyst?
I have a proxy app with an iOS widget extension that works perfectly when run on a Mac when built as 'Designed for iPad'. But recently we decided to make a full 'Mac Catalyst' target for arm64+x86_64 ...
1
vote
0
answers
86
views
Trouble getting data from .net Maui WebView using EvaluateJavascriptAsync
.Net 8 Maui App, running/debugging on Mac OS.
What I am trying to do:
I am trying to get data from a web view’s local storage. I am expecting serialized json to be returned by localStorage.getItem(‘...
1
vote
1
answer
133
views
How to set initial background color of Mac Catalyst windows?
My iOS and Mac Catalyst app uses a dark color theme by default, regardless of the system color theme. When the app presents a modal view controller (a popup or a popover) on iOS, the background of ...
2
votes
0
answers
664
views
Using MAUI SecureStorage on a MacCatalyst app
Developing a MAUI app on a Mac mini (M1) with Rider 2024.1.2 targeting MacCatalyst.
TL;DR: I'm trying to get a simple app working that sets and gets a value from SecureStorage in a MAUI app targeting ...
4
votes
3
answers
2k
views
Visual Studio Mac Os (Net Maui) "Workload ID maui is not recognized"
I am trying to run my Net Maui application developed in VS for windows on Mac as well (Maccatalyst). I get errors in VS for Mac when restoring packages for the project saying:
error NETSDK1139: The ...
0
votes
1
answer
132
views
Authorisation error reading json file in MAUI C# net8 mac
I am working on a .NET 8 MAUI project. At some point I need to retrieve a JSON file for internationalization. But it's not working even though the file is in the correct location.
The error I get is ...
0
votes
0
answers
77
views
Unable to access Bluetooth and Local Storage Permissions in Maccatalyst Sandbox App MAUI
I cannot access any permissions, especially Bluetooth, and local data in the MacCatalyst app when App Sandbox is enabled in MAUI. The popup asking for permissions is not displaying even though I have ...
1
vote
0
answers
46
views
iOS+Mac Catalyst to iOS+NativeMac Universal Purchase
I have an iOS and Mac Catalyst app under the same App Store listing. They share the same purchases (I believe this is called Universal Purchase).
Now, after some time, Mac Catalyst is no longer ...
0
votes
1
answer
240
views
Getting file URL from NSItemProvider on macCatalyst always fails
I have a SwiftUI/Catalyst app that shall receive audio/video files per drag/drop.
On a certain view I have the fowling modifier, which accepts the specified media files.
.onDrop(of: ["...
2
votes
1
answer
2k
views
How to respond to the new Text Size setting in macOS 14 Sonoma?
Summary
macOS 14 Sonoma adds the "Text Size" setting under Settings -> Accessibility -> Display. This is similar to the "Text Size" setting that has been in iOS for quite ...
0
votes
0
answers
48
views
How to detect KeyRelease .NET MAUI MacCatalyst
So I am making game in .NET MAUI for MacOS. I Cant figure out how to change global variable Globals.SpeedX back to 0 after left or right arrow key release. This is my code but the method OnReleaseKey()...
0
votes
0
answers
78
views
Mac Catalyst DocumentGroup shows blank view when "Optimize for Mac" is enabled
I'm developing a document-based SwiftUI app using Mac Catalyst with DocumentGroup. When creating a new document or opening an existing one, the view appears completely blank, but only when "...
0
votes
1
answer
58
views
Catalyst MacOS TestFlight subscriptions testing not working on Apple M2 Max
I am having problems with testing AppStore subscriptions on Apple M2 Max (macOS 15.0.1). It works as expected on iPhone, iPad and MacBook Pro (Intel chip, macOS 13.5.2)
I download the app from ...
2
votes
1
answer
519
views
Build Failed - Clang invalid version number in '-target arm64-apple-ios10.15-macabi'
I am trying to submit a MacCatalyst app to AppStoreConnect, I have already successfully submitted the iOS app.
However when trying to archive a build for Mac Catalyst
I get the following error
/...
3
votes
4
answers
2k
views
App crashes when using a swiftUI textfield and a WKWebView textfield
I currently have an app which uses a SwiftUI textfield above a Website's text field (let's say a search box). The app doesn't crash in iOS or iPadOS.
However, in MacCatalyst on an M1 mac, the app ...
32
votes
8
answers
10k
views
Mac-catalyst - minimum window size for Mac catalyst app
Mac catalyst allows to resize window, is there any way to provide minimum window size for Mac catalyst app?
2
votes
0
answers
268
views
Can't run a MAUI app on macOS because the provisioning profile
I have my .NET8 MAUI that has already a version for iOS. I wanted to run the same project in macOS. I followed the process for the creation of the certificates from the Microsoft documentation.
At the ...
1
vote
1
answer
266
views
MAUI File picker Operation not permitted on MacOS
When I try to select a file in a FilePicker on MAUI I get an error even with the environments.plist updated as required in the MAUI documentation
Error message :
2024-06-11 11:53:58.471 ...
0
votes
0
answers
70
views
Permission denied starting ffmpeg on MacCatalyst (MAUI)
I am using FFMPeg to code a cross platform app for Windows and Mac in Blazor Hybrid (Dotnet Maui).
One of the things I want to do is get information about a video file. To do that I am using ffmpeg ...
1
vote
3
answers
468
views
Can I use MacOS WKWebKit in Mac Catalyst app?
My client has an iPad app that runs a web app in a WkWebView. The web app streams video using the MediaSource API, which is available on iPad and Mac but not iPhone. When running the app on Mac using ...
28
votes
6
answers
14k
views
Exclude pod when porting to mac with catalyst
Porting apps to mac is finally possible thanks to Catalyst, problem is, numerous pods don't support AppKit.
Most common one would be Crashlytics / Firebase.
In [...]/Pods/Crashlytics/iOS/Crashlytics....
1
vote
1
answer
199
views
drawHierarchy broken - image too bright
EDIT1
I have created github repo to reproduce the issue
https://github.com/PrashantKT/ImageViewScreenShotIssue
it is just 2 page app to demonstrate the problem
I have this code to take screenshot of ...
0
votes
1
answer
666
views
Disable close button and miniaturize window in MAUI MacCatalyst application
I have a MAUI app (exclusively for MacCatalyst). I need to work with a C# library so I cannot rewrite it in Xcode.
I want to gray out the close button and miniaturise the window at app launch. I know ...