569
questions
-1
votes
0
answers
11
views
Archive times for a Mac Catalyst app suddenly jumped from 1 minute to 60 with Xcode 16
Regular builds are exactly the same as before, but since I updated to Xcode 16 my archive time has gone up to over an hour. It seems to get stuck on compiling swift source files, but it lumps them all ...
0
votes
0
answers
23
views
Working with Maui .Net, I need create a Mac Catalyst App and open WhatsApp web in a web view
WhatsApp web never load the QR Code for scan.
In the output console I have the error:
**Cannot store WebCrypto master key, error -34018
**
All the features for enable javascript in the web view are ...
0
votes
1
answer
24
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: ["...
0
votes
0
answers
31
views
Is it possible to build a KMM iOS project in Mac Catalyst?
I am working in a KMM project. Now I am curious about if I can build the project in mac-catalyst using xcode.
I am working in a KMM project. Now I am curious about if I can build the project in mac-...
0
votes
1
answer
55
views
Cannot find provisioning profile for Mac Catalyst App
I'm using JetBrains Rider to do .NET MAUI development on macOS Sonoma (14.6.1) as VS Code is broken for me.
My goal is to complete a Mac App test of a multi-platform app I've been working on. It ...
0
votes
0
answers
14
views
How do you use UIKit to watch for clipboard changes in a Mac Catalyst console app in Objective-C?
I'm trying to write a console app that uses UIKit that watches for clipboard changes. Here is the code so far:
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ...
0
votes
0
answers
44
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 ...
0
votes
0
answers
41
views
Issue with Copy Functionality in WebView Using Mac Catalyst
I am developing a Mac app via Mac Catalyst and encountering an issue with WebView. Specifically, I'm loading a webpage (e.g., https://translate.google.com) in WKWebView, but when I press the copy ...
2
votes
1
answer
68
views
.Net MAUI Drag & Drop fails on Mac Catalyst
TL;DR -- The Problem in a nutshell
Drag & Drop seems to be broken for .Net MAUI apps on Mac Catalyst, but only on Apple Silicon devices. I need a fix or workaround, but so far I've been ...
0
votes
1
answer
74
views
How to drag a table view item to Finder to create a folder in Catalyst App
I have a UITableView that displays a Group/Note hierarchy analogous to a Finder Folder/Files hierarchy. I have implemented Drag and Drop such that if I drag a Note to the Finder Desktop an HTML file ...
0
votes
0
answers
16
views
How to add keyboard shortcut for bar buttons
I have an iOS/iPad/Macos(Catalyst) app.
There is a toolbar configured as follows:
navigationItem.rightBarButtonItems = [
UIBarButtonItem(barButtonSystemItem: .add, target: self, action: #selector(...
1
vote
0
answers
122
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
118
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 ...
2
votes
1
answer
333
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
/...
1
vote
0
answers
197
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 ...
0
votes
0
answers
31
views
Black Border Appears at the Top of ScrollView in React Native App on macOS Using Mac Catalyst
I'm encountering an issue with my React Native application when running it on macOS using Mac Catalyst. A black border appears at the top of the ScrollView. I have tried various approaches to remove ...
0
votes
0
answers
21
views
How to customize Documents button with MacCatalyst
When I built and ran a simple Document Based Storyboard iPad app on a Mac, the following interface appeared.
Also when I enabled Mac Catalyst and the Optimize for Mac option in Interface, I see the ...
0
votes
0
answers
33
views
In Mac Catalyst, what would be the simplest way to hide the title bar but retain its double click functionality?
After adopting sidebar / split view controller support in Mac Catalyst, there are several UI side effects that make the default title bar stick out and look inconsistent. If I hide the title bar ...
1
vote
0
answers
65
views
MPMusicPlayerController.systemMusicPlayer.nowPlayingItem returns nil on MacCatalyst while playbackState is .playing
I'm encountering an issue with MPMusicPlayerController.systemMusicPlayer.nowPlayingItem on MacCatalyst, where it returns nil even though playbackState reports .playing.
This behavior differs from iOS,...
1
vote
0
answers
51
views
Custom File Icons Show Up on iOS but not Catalyst
I have a custom file type with an icon for sharing. The icon shows up for iOS, but not on Catalyst. Relevant plist entry sections included. Can’t seem to narrow down the reason for the difference in ...
1
vote
1
answer
80
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
0
answers
24
views
Are windows expected to be deallocated when they are closed in Mac Catalyst apps?
I have an iOS app that I'm working to enable Mac Catalyst support for. I have multi-window support implemented via the UISceneSession API. I'm finding that when I open and then close secondary windows,...
0
votes
0
answers
83
views
MAUI Mac Catalyst Webview issue: Permission popup not showing
When i am using webview to ask for camera permission in dotnet maui in macbook, the permission to ask for camera permission is not asking in my case.
this is my code:
public OpenCameraPermissionPage()
...
0
votes
0
answers
57
views
Selected Text Replacement Bug UITextView Mac Catalyst
Starting with the macOS version 14.x.x and TextKit1, selecting multiple lines of text triggers a text replacement bug: some of the text on one of the selected lines inadvertently replaces a portion of ...
1
vote
1
answer
147
views
Mac Catalyst: Horizontal Mouse scroll with click drag
Preparing an iPad App for native MacOS experience using Mac Catalyst (and AppKit when needed) and using SwiftUI.
We observe that Horizontal Scroll is tricky using a Mouse! Most users have the habit of ...
-2
votes
1
answer
144
views
No icon when dotnet publish .net maui mac catalyst app
When I use this command to publish a .net maui Mac catalyst app for Ad Hoc
dotnet publish ChronoWiz/ChronoWiz.csproj -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:...
0
votes
1
answer
197
views
.net maui mac catalyst app how to specify INSTALL_PATH when app is packed
I use this command to build .net maui mac catalyst .pkg
dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=...
0
votes
0
answers
49
views
Implementing interface sounds on iOS and Mac Catalyst
I am using AVAudioSession and AVAudioPlayer to play interface sounds in our app:
try self.audioSession.setCategory(.ambient, options: [.mixWithOthers])
try self.audioSession.setActive(true)
If I use ....
0
votes
0
answers
186
views
MAUI FilePicker on MacOs (MacCatalyst) does not return picked file. (returns null)
I am having the exact same issues explained in https://github.com/dotnet/maui/issues/11088.
and checked FilePicker throwing an exception on mac OS with .net MAUI answer added
<key>com.apple....
2
votes
0
answers
814
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 ...
3
votes
1
answer
430
views
isiOSAppOnMac vs. isMacCatalystApp?
I have an app that runs on target "My Mac (Designed for iPad)" and also presets in the Mac App Store as an iPad app. This requires Apple Silicon, also, so... it's not catalyst? Does it have ...
2
votes
1
answer
1k
views
How to generate .dSYM file for .NET MAUI app
How do I generate symbols file for my .NET MAUI app?
Is it this setting?
<MtouchNoSymbolStrip>True</MtouchNoSymbolStrip>
Right clicked project and selected Properties. Under iOS > Build,...
2
votes
2
answers
1k
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
56
views
Get the focused/current window among multiple windows - Mac Catalyst
I am working on UIMenuBuilder in Mac Catalyst. Because my app supports multiple scenes with different classes of UISceneDelegate, I need to validate UICommands (func validate(_ command: UICommand)) ...
0
votes
1
answer
138
views
Mac Catalyst UIButton Configuration Issues?
I currently have my application set to run on iPad & Mac (Mac Catalyst), with my interface option set to Optimize for Mac, and am having serious difficulty updating the button padding when running ...
3
votes
1
answer
107
views
How to enable a user to close a dialog with the keyboard in SwiftUI on Mac Catalyst?
What is the idiomatic way for a user to close a dialog on Mac and to enable this in a SwiftUI Mac Catalyst App? I believe the idiomatic way is to press the escape key. I haven't been able to get this ...
0
votes
2
answers
53
views
Is there a way to detect if an app is "Scaled to Match iPad" versus "Optimize for Mac"
Is there a way to detect either at runtime or compile time if a Mac Catalyst app is "Scaled to Match iPad" versus "Optimize for Mac".
The Conditional Compilation Block suggests ...
1
vote
1
answer
160
views
How to test Multiplatform SwiftUI app in Catalyst on a Mac
I'm learning SwiftUI, and have a Multiplatform App I'm building. Selecting Multiplatform causes Xcode 15 to create both MacOS and iOS targets.
I would also like to test out my iOS app and make sure it ...
1
vote
0
answers
110
views
Settings.bundle with separate options for a Mac Catalyst app?
In an app originally built for iOS and iPadOS, it has a Settings.bundle, that contains Root.plist with settings for the iOS app, and Root~ipad.plist with settings for the iPadOS app. That's all good.
...
1
vote
1
answer
213
views
Why is TARGET_OS_IPHONE not skipping over the code when building for Mac Catalyst?
I am using the Texture/AsyncDisplayKit library in an app for iOS and macOS Catalyst. It has this known issue on macOS:
https://github.com/TextureGroup/Texture/issues/1549
It basically throws the error ...
0
votes
0
answers
57
views
Mac Catalyst: Popover/Sheet being dismissed after keychain access manager popover appears
In my mac catalyst app I have a popover that shows a user a form processing status. During the process the user is required to enter password to access the keystore. So essentially keystore ...
1
vote
0
answers
62
views
Why are my exported Core Animation layers blurry on iOS (only in a 16:9 aspect ratio) and on Mac Catalyst (any aspect ratio)?
Seeing this with watermark image and text layers that each back a UIView
// Create the video layer.
let videolayer = CALayer()
videolayer.shouldRasterize = true
...
2
votes
1
answer
93
views
Error using the dialogIcon view modifier that was introduced for Mac Catalyst 17
How can I use the dialogIcon view modifier that was introduced for Mac Catalyst 17? I get this error message 'dialogIcon' is unavailable in iOS compiling with Xcode 15.0.1 on Mac 13.6 targeting Mac (...
0
votes
0
answers
55
views
How to show both image and text in a Picker's popup on Mac Catalyst
is there a way to show both an image and text in a Picker's popup on Mac Catalyst, as it works on iOS? Tests were done on Mac 13.6 (both Scaled to Match iPad and Optimized for Mac) and iOS 17.0. Do I ...
0
votes
1
answer
372
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 ...
0
votes
0
answers
78
views
Issue with Twilio Call from URL in WebView on MacOS Catalyst
Hello Stack Overflow community,
I'm currently facing a challenge with Twilio call functionality in a WebView on MacOS Catalyst. The issue is specific to Twilio calls initiated from a URL within the ...
0
votes
1
answer
170
views
Text selection not working in Catalyst app's WKWebView on macOS Sonoma
Can not select anything within WkWebView editor view of my MacCatalyst app when running on macOS 14 Sonoma.
Any selection gesture or command key fails to select anything in content editable WKWebView, ...
1
vote
2
answers
260
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 ...
1
vote
1
answer
148
views
How do I work around a Mac Catalyst framework bug where no Core Animation output is shown in an export session?
This is verified to be a framework bug (occurs on Mac Catalyst but not iOS or iPadOS), and it seems the culprit is AVVideoCompositionCoreAnimationTool?
/// Exports a video with the target animating.
...
0
votes
1
answer
87
views
How to determine what triggers a context menu presentation
I'm working on an app for iPad and Mac Catalyst. I have implemented undo using custom undo managers. This is so there can be a separate undo manager for each layer in the project. I've noticed that ...