question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for mac catalyst with apple silicon.

See original GitHub issue

Describe the bug I see catalyst is somehow supported, but not fully supported. Run the sample on Mac Catalyst on x86 macOS works but on apple silicon it shows error of No such module 'MicrosoftCognitiveServicesSpeech'

To Reproduce Steps to reproduce the behavior:

  1. Add Mac Catalyst to the supported destinations for the speech-sample project
  2. Runs OK on x86_64 Macs but framework not found on arm Macs.

Expected behavior fully support Mac Catalyst for both x86_64 and arm mac

Version of the Cognitive Services Speech SDK 1.28

Platform, Operating System, and Programming Language

  • OS: macOS 13.2
  • Hardware - Apple M1 Max
  • Programming language: Swift
  • Browser NA

Additional context Why don’t we support SPM directly?

Issue Analytics

  • State:open
  • Created 4 months ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
jhakulincommented, Aug 8, 2023

Potentially related issue: https://github.com/leetal/ios-cmake/issues/172

We will continue investigating this, however at the moment there seems to be an external issue between CMAKE and Xcode generation with iOS toolchain to support properly Maccatalyst builds with Xcode. After those are solved, I am hopeful there would be better resolution to Maccatalyst module import issue.

Using bridging header is recommended workaround at the moment.

1reaction
jhakulincommented, May 24, 2023

@kasimok Yeah, not clear what is the reason yet. Note that Objective-C project works with the Macatalyst and same xcframework. I will investigate why Swift project does not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build or run Mac Catalyst apps on Intel Mac?
I have successfully built an app using Mac Catalyst. It runs on iPhone, iPad, and M1 Macs, and is available now in the...
Read more >
Does porting iOS to Mac Catalyst require Apple silicon?
The only thing that requires Apple Silicon is taking an iOS app that has *not* been made for Catalyst or macOS at all,...
Read more >
Build or run Mac Catalyst apps on Intel Mac?
Catalyst lets you build iOS apps to run on Mac; This is a specific build process that uses your iOS source code to...
Read more >
Support of Mac Catalyst on Apple Silicon · Issue #1698
J2ObjC frameworks now support Apple Silicon (macOS ARM64) in the latest j2objc version, but that doesn't seem to be the case for Mac...
Read more >
Mac Catalyst | Updates, Features, Benefits
With macOS Catalina in 2019, Apple added support for UIKit. Formerly called Project Catalyst, Mac Catalyst allows developers to use a single UI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found