Hannah Shi
a0543d9328
[ObjC] Support visionos ( #36476 )
...
This should be able to unblock using grpc on vision os, will add tests later
Closes #36476
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36476 from HannahShiSFB:support-visionos edbde32d23
PiperOrigin-RevId: 630173448
2024-05-02 14:09:56 -07:00
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
2024-01-22 15:58:06 -08:00
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
2023-12-08 18:57:08 -08:00
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
2023-12-07 16:03:14 -08:00
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'
```
2023-05-20 20:38:24 +00:00
Denny C. Dai
343cb0ecb9
Setting C++ lang dialect for objc cocoapod specs ( #31071 )
2022-09-20 13:59:17 -07:00
Esun Kim
ccf3cbc6b7
Bump iOS and OSX version
2020-09-30 14:58:30 -07:00
pbatg
4918a51372
Moved GRPCTypes into its own grpc_objc_library.
2020-05-12 21:31:56 -04:00
Muxi Yan
5aa9a7e7b7
Move internal_testing to a separate subspec
2019-10-08 10:39:12 -07:00
Muxi Yan
88cfae00be
Build fix for Cocoapods release
2019-09-17 08:36:07 -07:00
Muxi Yan
96c11d153f
Revert "Revert #19704 and #20060"
2019-08-28 13:35:40 -07:00
Muxi Yan
d1f4456dc6
Revert "Merge pull request #19704 from muxi/isolate-call-implementation-2"
...
This reverts commit ac5f8062dd , reversing
changes made to 8ae549431c .
2019-08-28 11:37:59 -07:00
Muxi Yan
43aacf02a7
Fix dependency issue and move InteropTestsMultipleChannels to CronetTests
2019-08-12 16:21:00 -07:00
Muxi Yan
47d95ef266
address comments
2019-08-09 16:53:17 -07:00
Muxi Yan
43b17bff17
Merge remote-tracking branch 'upstream/master' into isolate-call-implementation-2
2019-08-09 10:06:36 -07:00
Muxi Yan
d06f544815
Fix Swift build issues
2019-08-08 13:41:23 -07:00
Muxi Yan
07dc75b5ca
Fix Frameworks build error
2019-07-25 20:38:48 -07:00
Muxi Yan
3f16518947
Fix build
2019-07-25 10:02:10 -07:00
Muxi Yan
f20cfd3844
Build system reorg
2019-07-24 21:40:58 -07:00
Muxi Yan
1423df37a8
Minor podspec change
2019-07-23 10:16:04 -07:00
Muxi Yan
640966dbf3
fix internal testing targets
2019-07-22 10:03:08 -07:00
Muxi Yan
3b5f0fd765
Make dependency injection for Objective-C transport
2019-07-20 14:22:13 -07:00
Tony Lu
b458f3e6a5
Fixed clang_code_format
2019-07-19 17:55:35 -07:00
Muxi Yan
d771bcab2c
Merge remote-tracking branch 'upstream/master' into default-cfstream-2
2019-03-28 14:49:15 -07:00
Muxi Yan
c3e1c72194
Merge branch 'master' into feature/supportTVOS
2019-01-18 15:53:04 -08:00
Maxim Bunkov
1b07aba6af
Update templates for supprt tvOS
2019-01-17 10:24:39 +05:00
Muxi Yan
0ed65db5d2
Merge branch 'master' into default-cfstream-2
2019-01-11 16:31:34 -08:00
Muxi Yan
e2f3741c74
Changed podspec templates and Podfile for test
2018-12-27 11:31:10 -08:00
Muxi Yan
a0f5db1581
Rename GRPCCallOptions+internal->GRPCCallOptions+Internal
2018-11-06 17:42:30 -08:00
Muxi Yan
647e24c190
Put logContext in class extension
2018-10-23 11:31:36 -07:00
Muxi Yan
08876dadce
CFStream podspec
2018-06-06 20:06:35 -07:00
Muxi Yan
67ff4053b7
Change existing build system for CFStream
2018-05-15 12:39:50 -07:00
Muxi Yan
94d669e022
Supress strict prototype warning in gRPC pods
2017-10-22 14:56:10 -07:00
Muxi Yan
7a1fe0d2fb
Fix GID related subspec lint problem
2017-10-06 15:41:29 -07:00
Muxi Yan
b82f82b725
Revert "Revert "Add OAuth2 protocol in GRPCClient""
2017-08-14 12:01:14 -07:00
Muxi Yan
f6f12de88a
Revert "Add OAuth2 protocol in GRPCClient"
2017-08-04 15:30:57 -07:00
Muxi Yan
021c29ea36
Create optional subspec for GRPCCall+GID
2017-07-28 13:10:26 -07:00
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
2017-07-10 22:24:28 +00:00
Jan Tattermusch
4d5c3102a1
fix remaining license notices
2017-06-08 11:22:41 +02:00
Muxi Yan
37d3fba391
Relieve ios deployment version to 7.0
2017-03-16 19:33:53 -07:00
Muxi Yan
27e9db4393
Add modification warning to templated files
2017-01-30 09:22:30 -08:00
Muxi Yan
690aee6d30
Automatedly advance ObjC version numbers
2017-01-27 04:18:26 +00:00
Nicolas "Pixel" Noble
4150e9e2f5
gRPC.podspec shouldn't be a template anymore.
2016-07-12 19:18:56 +02:00
Jorge Canizales
f4639d4858
Move podspec to version 0.14
2016-05-06 16:41:36 -07:00
Jorge Canizales
4c20566834
Depend on latest BoringSSL
2016-05-06 16:40:25 -07:00
Jorge Canizales
f58b4f41ff
Have Cocoapods read from submodules too, for nanopb
2016-05-06 16:40:21 -07:00
Jorge Canizales
111c95df79
Move podspec to version 0.13
2016-05-06 16:40:14 -07:00
Craig Tiller
da179ce598
Rollback gpr deletion
2016-02-09 12:01:53 -08:00
Nicolas "Pixel" Noble
09121799b0
Removing gpr as a separated library.
2016-01-30 09:34:22 +01:00
Jorge Canizales
38cc4a4166
Write “the podspec is a template” 100 times on the blackboard
2016-01-25 15:53:03 -08:00