Hi

I have a problem on running protobuf on the iOS app.
It crash after open the app on TestFlight but not in development.
(it was crashing in development before I update iOS)
I want to ask if everyone else see this before and help me up.

Here are some info
**What version of protobuf and what language are you using?**
Version: 26.1 latest
Language: C++
(it was happen on the 21.4 and I update it to 26.1)

**What operating system (Linux, Windows, ...) and version?** 
iOS 17.4.1

**What runtime / compiler are you using (e.g., python version or gcc 
version)**   
apple clang on Xcode 15.3
it is built as lib(.a) and include in the project

**What did you do?**
Steps to reproduce the behavior:
1. download the app from TestFlight
2. open the app
3. crash

**Anything else we should know about your project / environment**
It is Unreal project 5.3.1

call stack
[image: 截圖 2024-05-13 下午5.38.44.png]


This is the call stack that I comment out the SharedDtor(); in 
~FileDescriptorProto()
[image: 截圖 2024-05-13 下午5.41.44.png]

I add some defines to compile the protobuf to lib
#define ABSL_INTERNAL_HAS_RTTI 0
#define PROTOBUF_BUILTIN_ATOMIC 0
#define PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII 0

Thanks

-- 
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/a0847c4c-77e9-4305-a09a-e7661c86d75fn%40googlegroups.com.

Reply via email to