-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'google/protobuf/port_def.inc' file not found #20
Comments
Hi peixuan197. Try creating a file named
Then run GTXiLib now requires Protobuf support. By far the easiest way to support this is CocoaPods. You can build Protobuf from source, but it's much more complicated. You need to build the proto compiler for "cross compilation", because you're running the compiler on MacOS but generating output for iOS. |
The newest version has fixed this issue. See below:
I should note that I wasn't able to make this work using the per-pod basis installation ( An alternative approach is to use version |
CooperCorona's recommendation to use the 'Protobuf-C++' pod in conjunction with specifying use_modular_headers! as kkorouei suggested did the trick for me. |
1、clone the code
2、open with Xcode 12.2 then I got this error:
The text was updated successfully, but these errors were encountered: