Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

XCode v11.1 and 11.2 - Build OK but Archive fails - GRPC #135

Open
nanomb opened this issue Nov 20, 2019 · 2 comments
Open

XCode v11.1 and 11.2 - Build OK but Archive fails - GRPC #135

nanomb opened this issue Nov 20, 2019 · 2 comments

Comments

@nanomb
Copy link

nanomb commented Nov 20, 2019

I'm trying to run some of these samples: https://github.com/GoogleCloudPlatform/ios-docs-samples but I'm getting some errors when archiving the iOS project, due to some GoogleApis libraries:

Include of non-modular header inside framework module 'GRPCClient': '/MyProject/iphoneos/gRPC/GRPCClient.framework/Headers/internal_testing/GRPCCall+InternalTests.h'

google-umbrella.h fails because it doesn't find the GoogleApis framework headers

Running the project on a device in debug mode works, this error happens only when archiving. I guess this problems are due to something related with headers in XCode.

Can anyone throw some light?

Thanks in advance!

@smartphone-pro
Copy link

I'm faced with the same.

// #import "internal_testing/GRPCCall+InternalTests.h"

I just commented on the above .h file's import.
It's working fine now.

@syafieqq
Copy link

I'm also facing almost same issue, while trying to archive the project. But this time i got error 'absl/base/options.h' file not found when trying to archive. Had you guys found any work arround?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants