Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: add catalyst support #41

Closed
Catta1997 opened this issue Dec 7, 2019 · 8 comments
Closed

suggestion: add catalyst support #41

Catta1997 opened this issue Dec 7, 2019 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@Catta1997
Copy link
Contributor

No description provided.

@SuperMarcus SuperMarcus added the enhancement New feature or request label Dec 7, 2019
@SuperMarcus SuperMarcus added this to Issue Reports & Suggestions in NineAnimator iOS via automation Dec 7, 2019
@SuperMarcus SuperMarcus moved this from Issue Reports & Suggestions to To do in NineAnimator iOS Dec 7, 2019
@SuperMarcus
Copy link
Owner

Tbh I'm eager to see NineAnimator working on macOS as well. The only problem is with the dependency manager that NineAnimator is using. In order for Catalyst to work all the dependencies have to be packed with the new XCFramework format, which Carthage doesn't support generating yet (see Carthage/Carthage#2799).

As soon as XCFramework generation support for Carthage drops I'll work on the Catalyst support for NineAnimator.

@SuperMarcus SuperMarcus self-assigned this Dec 7, 2019
@FaizanDurrani
Copy link

I built a Catalyst version of the app here https://github.com/FaizanDurrani/NineAnimator/releases/tag/1.2.6-Mac

It uses Swift Package Manager to resolve the dependencies. So, completely removed Carthage.

@Catta1997
Copy link
Contributor Author

@SuperMarcus any update?

@SuperMarcus
Copy link
Owner

I haven't got many chances to work on this. Replacing Carthage with SPM is certainly something worth considering, especially since the mainstream Carthage likely won't get xcframework support anytime soon.

I've already created a spm branch in the repository for experimentations. I am probably not going to merge #75, but it's a good reference for how things can be done.

@SuperMarcus
Copy link
Owner

SuperMarcus commented Jun 21, 2020

So I spent a little time on Swift PM this weekend (check out the spm branch) and got Catalyst working. Here's a notorized build (v1.2.6-11) if you're interested in trying it out. Of course, the UI still looks very much like an iOS app, and we'll need to do a little redesign on this.

NineAnimator macCatalyst

@Catta1997
Copy link
Contributor Author

Great thanks! I'm also testing on iOS 14 and works perfectly

@Catta1997
Copy link
Contributor Author

@SuperMarcus with macOS Big Sur (Beta) and the new Xcode according with Apple's site:

Native Mac apps built with Mac Catalyst can share code with your iPad apps, and you can add more features just for Mac. In macOS Big Sur, you can create even more powerful versions of your apps and take advantage of every pixel on the screen by running them at native Mac resolution. Apps built with Mac Catalyst can now be fully controlled using just the keyboard, access more iOS frameworks, and take advantage of the all-new look of macOS Big Sur. There’s never been a better time to turn your iPad app into a powerful Mac app.

@SuperMarcus
Copy link
Owner

I've merged the spm branch into master. We'll continue to work on macCatalyst related tasks in the master branch.

Closing this issue.

NineAnimator iOS automation moved this from To do to Done Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants