Request: Help/Docs on building for Catalyst #16955
Unanswered
ConfusedVorlon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks,
I have an iOS app which works great with fastlane (gym/deliver)
I can't figure out how to get things working for the catalyst version though.
I see in the code that there are some flags for catalyst_platform, but can't figure out how to use them.
This is a universal build (single app, in AppStore Connect with iOS/Mac versions)
I get errors when building which seem to come from the target environment not being set to
macCatalyst
so
#if !targetEnvironment(macCatalyst)
is failing to exclude code where that is required.Archiving and submitting through XCode works fine.
my current fastfile action is the following. I have tried changing the platform to :mac, but that didn't do the trick.
any help much appreciated.
thank you
Beta Was this translation helpful? Give feedback.
All reactions