Catalyst for ios platform ?
See original GitHub issueHi Has anyone tried building an ios project using ‘Catalyst’ for macOS Catalina ?
If I try enabling that build, I get:
CDVURLProtocol.m:20:9: AssetsLibrary is deprecated and is not available when building for Mac Catalyst. Consider migrating to Photos instead, or use #if !TARGET_OS_MACCATALYST
to conditionally import this framework, first importing TargetConditionals.h if necessary.
Seems like the AssetsLibrary has been deprecated, and has been fixed in ionic, are you guys planning on removing it too ? https://github.com/ionic-team/capacitor/pull/1825
Going forward, should Catalyst be used or the ‘osx’ platform ?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:30 (19 by maintainers)
Top Results From Across the Web
Mac Catalyst Overview - Apple Developer
Mac apps built with Mac Catalyst share code with your iPad apps, and you can add more features just for Mac. The latest...
Read more >Project Catalyst: What is it, Release Date, Features, Apps, etc
Project Catalyst is an Apple code name for a project that will enable developers to design a single application that runs on iOS...
Read more >How To Run iOS Apps On Mac Using Project Catalyst - MacPaw
How to start with Project Catalyst · Open your iOS app project in Xcode. · Go to project settings and check the Mac...
Read more >The Missing Guide for Mac Catalyst Apps - Craft
Mac Catalyst is a technology that enables you to run iOS code on macOS - or in other words, with a few clicks,...
Read more >Mac Catalyst | Updates, Features, Benefits - AppleInsider
Xcode is a development environment designed specifically for Mac to build apps for all Apple-based devices. Within a single workspace window, developers can ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hy guys
With just a few changes, it is possible to generate a simple cordova app supporting catalyst without changing ios behavior In the script copy-www-build-step.sh, change the variable DST_DIR based on build platform
Once it works, I think we’d want to encourage using Catalyst for macOS to avoid needing to maintain a similar-but-separate cordova-osx platform.
See also https://github.com/apache/cordova-ios/issues/551.
We’d definitely like to address this, but it’s not clear if that code is actually being used (it probably is, by someone, somewhere) and whether removing it (like Ionic did) is the right step.