-
Notifications
You must be signed in to change notification settings - Fork 22
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
add new include for v1.54.0 #190
add new include for v1.54.0 #190
Conversation
@@ -6,7 +6,6 @@ install! 'cocoapods', :deterministic_uuids => false | |||
GRPC_PODSPEC_ROOT = '../../../native' | |||
|
|||
target 'gRPCSample' do | |||
use_frameworks! |
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 could be problematic since almost all Apple apps now include Swift and thus require use_frameworks!
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.
It's no longer required any more since Swift supports static library a while back, and it doesn't work with new boring ssl either. This had been removed entirely from grpc/grpc repo.
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.
Swift supports static libraries, but still needs them packaged in frameworks with use_frameworks! :linkage => :static
.
Separate from that, and sorry I don't have the full context here, SDKs often need to support clients choosing to link dynamically or statically.
* add new include for v1.54.0 * remove use_frameworks! to work with new boring ssl
* add new include for v1.54.0 * remove use_frameworks! to work with new boring ssl
* exclude src/objective-c/manual_tests/ from swift package * add new include for v1.54.0 (#190) * add new include for v1.54.0 * remove use_frameworks! to work with new boring ssl * add spm build for macos and tvos
Will merge to main after release