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

'GPBProtocolBuffers.h' file not found #166

Open
ducbm-belive opened this issue Sep 16, 2021 · 1 comment
Open

'GPBProtocolBuffers.h' file not found #166

ducbm-belive opened this issue Sep 16, 2021 · 1 comment

Comments

@ducbm-belive
Copy link

ducbm-belive commented Sep 16, 2021

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
#import <Protobuf/GPBProtocolBuffers.h>
#else
#import "GPBProtocolBuffers.h" // Error here
#endif

I'm using SVGAPlayer in my framework. When I archive it and use it other project. After pod installation, I run and got this error. The error at the line #import "GPBProtocolBuffers.h" in file /ProtoFiles/Svga.pbobjc.h. When I comment that import, leave only import <Protobuf/GPBProtocolBuffers.h>. It can build and run normally. So I wonder where to set or define the GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS so it can run to the first if in compiling time.

Screen Shot 2021-09-16 at 18 12 17

Screen Shot 2021-09-16 at 18 13 40

@TBH-TPB
Copy link

TBH-TPB commented Jan 26, 2022

@ducbm-belive have you be able to resolve this issue yet?

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

2 participants