GoogleCloudPlatform / ios-docs-samples

iOS samples that demonstrate APIs and services of Google Cloud Platform.
Apache License 2.0
326 stars 209 forks source link

Google api building error for speech to text #129

Open mohdsafadsaal opened 4 years ago

mohdsafadsaal commented 4 years ago

Hi,

I included google , INSTALL-COCOAPODS files in my project. It used to work before.

After updating to Xcode 11, Im getting following errors.

Pods/Target Support Files/gRPC/gRPC-umbrella.h:18:9: include of non-modular header inside framework module 'GRPCClient'

gRPC-ProtoRPC/src/objective-c/ProtoRPC/ProtoRPCLegacy.h:19:9: could not build module 'GRPCClient'

google/longrunning/Operations.pbrpc.h:6:9: could not build module 'ProtoRPC'

I have tried cleaning pods but still not working.

fiazhussain43 commented 4 years ago

I also have this problem for iPhoneX, iOS 13.1.3

mohdsafadsaal commented 4 years ago

@fiazhussain43 do the following changes in googleapis.podspec s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.20.0"

Downgrading gRPCPlugin to 1.20.0 fixed the problem and also use pod version 1.7.5