You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Undefined symbols for architecture x86_64:
"_OBJC_IVAR_$_GPBDescriptor.oneofs_", referenced from:
_HLWHelloRequest_ClearDataOneOfCase in Hello.pbobjc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My guess is this line is only accessible within framework (because @package directive), so when using dynamic framework it fails.
The text was updated successfully, but these errors were encountered:
When building into frameworks, the generated code doesn't always have direct
access to the proto internals. Instead of opening up the access, just use the
public method to fetch the correct oneof.
Fixesprotocolbuffers#1789
When building into frameworks, the generated code doesn't always have direct
access to the proto internals. Instead of opening up the access, just use the
public method to fetch the correct oneof.
Fixesprotocolbuffers#1789
I have modified the HelloRequest at grpc helloworld.proto by adding oneof fileds.
As a result, building fails with following error
My guess is this line is only accessible within framework (because
@package
directive), so when using dynamic framework it fails.The text was updated successfully, but these errors were encountered: