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

No Library Found When Compiling for Mac Catalyst #1277

Open
hyling opened this issue May 4, 2023 · 1 comment
Open

No Library Found When Compiling for Mac Catalyst #1277

hyling opened this issue May 4, 2023 · 1 comment
Assignees
Labels
compilation issue SDK doesn't compile or gives warnings. feature-request

Comments

@hyling
Copy link

hyling commented May 4, 2023

The issue

Getting this error when compiling for Mac Catalyst:

Carthage/Build/DatadogObjc.xcframework:1:1: While building for Mac Catalyst, no library for this platform was found in 'Carthage/Build/DatadogObjc.xcframework'.


Datadog SDK version:

1.19.0

Last working Datadog SDK version:

NA

Dependency Manager:

Carthage

Other toolset:

NO

Xcode version:

14.3

Swift version:

5

Deployment Target:

iOS 11.0

macOS version:

NA

@hyling hyling added the compilation issue SDK doesn't compile or gives warnings. label May 4, 2023
@maxep maxep self-assigned this May 5, 2023
@maxep
Copy link
Member

maxep commented May 5, 2023

Hi @hyling 👋 Thanks for the report!

We support Mac Catalyst when using SPM or CocoaPods, but it's not included in our xcframework builds. We should update our settings to make it work.

As a workaround, you can fork our repo and enable Mac Catalyst in targets defined in Datadog/Datadog.xcodeproj, you will then be able to target your fork in you Cartfile. Otherwise you can use either SPM or CocoaPods.

@maciejburda maciejburda added the awaiting response Waiting for response / confirmation from the reporter label May 9, 2024
@maxep maxep added feature-request and removed enhancement awaiting response Waiting for response / confirmation from the reporter labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compilation issue SDK doesn't compile or gives warnings. feature-request
Projects
None yet
Development

No branches or pull requests

3 participants