-
Notifications
You must be signed in to change notification settings - Fork 134
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
RUMM-1160 Static pod support #451
Conversation
eb13532
to
65d86fc
Compare
65d86fc
to
fafc060
Compare
✅ CI passed with |
5d85db7
to
9f9584b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👌 💪 , let's just remove the Package.resolved
.
Package.resolved
Outdated
@@ -0,0 +1,25 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be git-ignored 🧽
Those methods renamed to `__dd_private_MethodName` to discourage users
…ic-pod RUMM-1160 Static pod support
…ic-pod RUMM-1160 Static pod support
…ic-pod (cherry picked from commit af85391)
…ic-pod (cherry picked from commit af85391)
What and why?
DatadogSDK.podspec
requires!use_frameworks
in client'sPodfile
Lack of it results in error at
pod install
How?: A proposal
For cocoapods and carthage, I can mix Swift and ObjC by importing ObjC headers in framework's umbrella header as Apple suggests
For Swift Package Manager, this is not possible as mixed targets are not supported.
To solve this, I pass
SPM_BUILD
flag fromPackage.swift
where we create_Datadog_Private
target.Now I can
#if SPM_BUILD import _Datadog_Private #endif
in the source code.Review checklist