Looks like I solved this by adding the `-fno-objc-arc` flag to the `.m` 
files that were having the issue:

https://stackoverflow.com/questions/10277576/google-protocol-buffers-on-ios/18111371#18111371

On Tuesday, February 16, 2021 at 10:22:05 AM UTC-8 Andre wrote:

> Hello,
>
> We're unable to instantiate a Message in our iOS app using GPB.
>
> *Error*
>
> Thread 1: EXC_BAD_ACCESS (code=2, address=0x21dba056d0)
>
> [image: Screen Shot 2021-02-16 at 10.18.33 AM.png]
>
> *Stacktrace*
> [image: Screen Shot 2021-02-16 at 10.15.56 AM.png]
>
>
> *Note*
> This started happening after I (think I) fixed 
> https://groups.google.com/g/protobuf/c/m6Cki2isWzQ by adding 
> `descriptor.proto` to my directory of .proto files at generation time.
>
>
> Any help is appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/ec325c68-b7c8-45fc-8927-4a78e2749810n%40googlegroups.com.

Reply via email to