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

How to specify Platforms (platformFilter) for dependencies #900

Open
ElfSundae opened this issue Jun 29, 2020 · 0 comments
Open

How to specify Platforms (platformFilter) for dependencies #900

ElfSundae opened this issue Jun 29, 2020 · 0 comments

Comments

@ElfSundae
Copy link
Contributor

image

45B9DBB41F62A04002DAB9DB /* PBXTargetDependency */ = {
    isa = PBXTargetDependency;
    platformFilter = ios;
    target = 94E563A2FD80462D82C4E977 /* watchOS Example */;
    targetProxy = DAC46A191E3ACE32B698613E /* PBXContainerItemProxy */;
};

I'm trying to support Mac Catalyst for an iOS app, Xcode shows error:

Building for Mac Catalyst, but the embedded app 'watchOS Example.app' is building for watchOS. You may need to restrict the platforms for which this app should be embedded in the target editor.

So how to specify Platforms (platformFilter) for dependencies? Thanks.

FYI: https://developer.apple.com/documentation/xcode/creating_a_mac_version_of_your_ipad_app#3226802

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

No branches or pull requests

1 participant