Post

Replies

Boosts

Views

Activity

Comment on When two memset struct with the same name will crash on ios18 beta1
Your understanding is correct, and we believe that this code design is also inappropriate, so we have made corresponding adjustments. We just want to understand more clearly the cause of the error to avoid this situation from happening again in future development. Because before iOS 18 beat 1, there was no such random crash, and its crash scenario could occur in any scenario during app runtime.
Jun ’24
Comment on When two memset struct with the same name will crash on ios18 beta1
Thank you for your reply, as the file corresponding to structure A in the SDK is not included in the SDK, which means it is not exposed to the outer layer. Therefore, there were no conflicts or warnings generated. Since iOS 7, this code has existed and ran consistently well, until the problem was exposed in iOS 18 beat 1. Therefore, we are considering whether iOS 18 has stricter handling of operating memory. We want to try to find a more specific cause of the error.
Jun ’24