I want to define different OTHER_LDFLAGS for the MacOS app and iOS app. We have one project that builds from iOS to iPhone / iPad / MacOS (iPad-designed iOS) apps. For iPhone and iPad I require to use one bunch of flags but for MacOS different.
Unfortunately, Xcode provides a MacOS selection condition that works only for Catalyst but does not work for MacOS (iPad-designed iOS) app. >>
OTHER_LDFLAGS[sdk=macosx*]
-> is not supporting iPad designed MacOS app.
Does anybody know what trick I can apply to differentiate them and pass a specific parameters for each platform?
I would like to have different flags per each platform iOS and Mac (iPad Designed iOS)
Thank you