[TIMOB-27340] iOS: Support macOS compatibility (project Catalyst)
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2020-03-02T11:00:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2019-08-17T16:16:57.000+0000 |
Updated | 2020-03-02T11:00:44.000+0000 |
Description
Okay - this is a tough one.
Starting in Xcode 11, Apple allows it's developers to deploy macOS apps from existing iOS apps. In detail, this would allow Titanium apps to be run on macOS as well. More [here](https://developer.apple.com/ipad-apps-for-mac/).
Looking at the details, there are only a few blockers right now:
- Some methods used from the
UserNotifications
framework are unavailable on macCatalyst
- The (deprecated) AddressBook
and AssetsLibrary
system frameworks are unavailable
- The APSHTTPClient and APSAnalytics would need to be recompiled for compatibility - not too critical since there are no deprecated underlaying API's used internally
And really - that's it! Probably some new API's for improved support (such as menu handling using UIMenu
or multi-window support using UIScene
) as well as some tooling to inject the new build settings like SUPPORTS_MACCATALYST
and CODE_SIGN_IDENTITY\[sdk=macosx*\]
and it works.
A quick PoC is attached :)
!Bildschirmfoto 2019-08-17 um 18.25.37.png|thumbnail!
!Bildschirmfoto 2019-08-17 um 18.17.13.png|thumbnail!
Attachments
File | Date | Size |
---|---|---|
Bildschirmfoto 2019-08-17 um 18.17.13.png | 2019-08-17T16:17:18.000+0000 | 33292 |
Bildschirmfoto 2019-08-17 um 18.25.37.png | 2019-08-17T16:26:03.000+0000 | 588796 |
This would be a huge asset for the platform!
+1 for this. it would be huge for iPad app developers wishing to port them over to the Mac :)
Pull request (wip): https://github.com/appcelerator/titanium_mobile/pull/11279
+1 for this. Massive step for Titanium!
This should be closed in favor of TIMOB-27132
Closing in favour of TIMOB-27132