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

Mac Catalyst Support #1983

Closed
jfahrenkrug opened this issue Feb 18, 2020 · 1 comment
Closed

Mac Catalyst Support #1983

jfahrenkrug opened this issue Feb 18, 2020 · 1 comment

Comments

@jfahrenkrug
Copy link

Is your feature request related to a problem? Please describe.
I'm using AppCenter in an iPad app that I'd like to bring to macOS using Mac Catalyst. AppCenter is installed via CocoaPods. I have to remove the AppCenter pod when trying to build the app for macOS (using Mac Catalyst). Otherwise I get the following error:

ld: in /Users/johannes/Code/testapp/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter(MSChannelUnitConfiguration.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, file '/Users/johannes/Code/testapp/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter' for architecture x86_64

Describe the solution you'd like
I'd like to be able to compile my app for Mac Catalyst without having to remove the AppCenter pod first. Even if I can't actually use all (or any) of AppCenter's functionality on Mac Catalyst, I'd at least like to build the project without having to remove the pod.

Describe alternatives you've considered
I'm calling pod install with an environment variable when installing the pods for Mac Catalyst. Inside the Podfile I exclude the AppCenter pod when the environment variable is set:

if !BUILD_FOR_CATALYST
    pod 'AppCenter', '~> 3.0'
end

Additional context
N/A

@MatkovIvan
Copy link
Contributor

MatkovIvan commented Feb 18, 2020

(It was the wrong link)

Duplicate of microsoft/appcenter#1578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants