Nick Cooke
f13a564e50
[CocoaPods] Re-work how privacy manifests are exposed ( #35542 )
...
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Follow-up to add privacy manifests to #35042
- [x] Update podspec template files
- [x] Align on manifest update:
```
git grep mach_absolute_time
src/core/lib/gpr/posix/time.cc:static uint64_t g_time_start = mach_absolute_time();
src/core/lib/gpr/posix/time.cc: ((double)(mach_absolute_time() - g_time_start)) * g_time_scale;
```
cc: @paulb777
Closes #35542
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35542 from ncooke3:nc/privacy-manifests b0e0e57d2e
PiperOrigin-RevId: 600595032
10 months ago
Hannah Shi
42b57fc632
[ObjC] Support use frameworks! ( #34921 )
...
1. add swift example configured with `use_frameworks!`.
2. fix [unable to find C++ headers](https://source.cloud.google.com/results/invocations/2100300a-0b61-4e56-8a77-113e362f2c63/targets/grpc%2Fcore%2Fpull_request%2Fmacos%2Fgrpc_basictests_objc_examples/log ) by renaming `.m` files to `.mm`.
`/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_objc_macos_opt_native/src/objective-c/examples/SwiftUseFrameworks/Build/Build/Build/Products/Debug-iphoneos/gRPC-Core/grpc.framework/Headers/grpc_audit_logging.h:24:10: fatal error: 'memory' file not found #include <memory>`
3. fix [cyclic dependency errors](https://source.cloud.google.com/results/invocations/90972079-eade-4c07-a5c4-20f139c64d4e/targets/github%2Fgrpc%2Frun_tests%2Fobjc_macos_opt_native%2Fios-buildtest-example-switftsample/tests ) by making `openssl/time.h` private.
`/Applications/Xcode_14.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk/usr/include/dispatch/dispatch.h:25:10: error: cyclic dependency in module 'Darwin': Darwin -> openssl_grpc -> UIKit -> Foundation -> CoreFoundation -> Dispatch -> Darwin`
"Basic Tests ObjC Examples" succeeds with this PR:
https://source.cloud.google.com/results/invocations/cff74ec0-43ca-43b9-a2ff-12edabc02896/targets
Closes #34921
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/34921 from HannahShiSFB:support-use-frameworks 87ddd23090
PiperOrigin-RevId: 589300261
12 months ago
Hannah Shi
70acb340ce
[ObjC] add privacy manifests to grpc podspec ( #35042 )
...
Not sure if we need to do the same for all the podspec files.
Will create a separate PR for swift package.
Closes #35042
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35042 from HannahShiSFB:privacy-manifests c9b19d3c20
PiperOrigin-RevId: 588937122
12 months ago
Hannah Shi
988c85535d
[ObjC] Upgrade podspec xx.deployment_target ( #33091 )
...
Upgrade apple platform deployment_target versions to fix the cocoapods
push of BoringSSL-GRPC about the following error:
```
ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
ref: https://developer.apple.com/forums/thread/725300
This also aligns with the versions required by
[protobuf](https://github.com/protocolbuffers/protobuf/pull/10652 )
```
ios.deployment_target = '10.0'
osx.deployment_target = '10.12'
tvos.deployment_target = '12.0'
watchos.deployment_target = '6.0'
```
2 years ago
Denny C. Dai
343cb0ecb9
Setting C++ lang dialect for objc cocoapod specs ( #31071 )
2 years ago
Esun Kim
ccf3cbc6b7
Bump iOS and OSX version
4 years ago
pbatg
4918a51372
Moved GRPCTypes into its own grpc_objc_library.
5 years ago
Muxi Yan
80123e13c8
Move internal_testing to a separate subspec
5 years ago
Muxi Yan
5aa9a7e7b7
Move internal_testing to a separate subspec
5 years ago
Muxi Yan
88cfae00be
Build fix for Cocoapods release
5 years ago
Muxi Yan
dac6d92caa
Build fix for Cocoapods release
5 years ago
Muxi Yan
96c11d153f
Revert "Revert #19704 and #20060"
5 years ago
Muxi Yan
d1f4456dc6
Revert "Merge pull request #19704 from muxi/isolate-call-implementation-2"
...
This reverts commit ac5f8062dd
, reversing
changes made to 8ae549431c
.
5 years ago
Muxi Yan
43aacf02a7
Fix dependency issue and move InteropTestsMultipleChannels to CronetTests
5 years ago
Muxi Yan
47d95ef266
address comments
5 years ago
Muxi Yan
d06f544815
Fix Swift build issues
5 years ago
Muxi Yan
07dc75b5ca
Fix Frameworks build error
5 years ago
Muxi Yan
3f16518947
Fix build
5 years ago
Muxi Yan
f20cfd3844
Build system reorg
5 years ago
Muxi Yan
1423df37a8
Minor podspec change
5 years ago
Muxi Yan
640966dbf3
fix internal testing targets
5 years ago
Muxi Yan
3b5f0fd765
Make dependency injection for Objective-C transport
5 years ago
Tony Lu
b458f3e6a5
Fixed clang_code_format
5 years ago
Maxim Bunkov
1b07aba6af
Update templates for supprt tvOS
6 years ago
Muxi Yan
e2f3741c74
Changed podspec templates and Podfile for test
6 years ago
Muxi Yan
a0f5db1581
Rename GRPCCallOptions+internal->GRPCCallOptions+Internal
6 years ago
Muxi Yan
647e24c190
Put logContext in class extension
6 years ago
Muxi Yan
08876dadce
CFStream podspec
7 years ago
Muxi Yan
67ff4053b7
Change existing build system for CFStream
7 years ago
Muxi Yan
0a5cacae46
Remove changes for podspecs other than gRPC-Core
7 years ago
Muxi Yan
3d2081b09a
Require min Cocoapods version to be v1.2.0
7 years ago
Muxi Yan
94d669e022
Supress strict prototype warning in gRPC pods
7 years ago
Muxi Yan
656041b3cc
Fix GID related subspec lint problem
7 years ago
Muxi Yan
7a1fe0d2fb
Fix GID related subspec lint problem
7 years ago
Muxi Yan
b82f82b725
Revert "Revert "Add OAuth2 protocol in GRPCClient""
7 years ago
Muxi Yan
f6f12de88a
Revert "Add OAuth2 protocol in GRPCClient"
7 years ago
Muxi Yan
021c29ea36
Create optional subspec for GRPCCall+GID
7 years ago
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
7 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Muxi Yan
60cbf8fc39
Relieve ios deployment version to 7.0
8 years ago
Muxi Yan
37d3fba391
Relieve ios deployment version to 7.0
8 years ago
Muxi Yan
255d002f92
Relieve ios deployment version to 7.0
8 years ago
Muxi Yan
57f9bc4819
Add modification warning to templated files
8 years ago
Muxi Yan
27e9db4393
Add modification warning to templated files
8 years ago
Muxi Yan
249d7a66ff
Automatedly advance ObjC version numbers
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
b79c1e112e
Ensure we can compile boringssl before trying: old compiler compatibility
...
Allow compiling with openssl
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Masood Malekghassemi
116982ea89
Include core in Python distribution
9 years ago