dd-sdk-ios
dd-sdk-ios copied to clipboard
No Library Found When Compiling for Mac Catalyst
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
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.