kewlbear / YoutubeDL-iOS

Swift package of youtube_dl python module for iOS
MIT License
112 stars 35 forks source link

Crash Py_IsInitialized() EXC_BAD_ACCESS #14

Closed dolphinysaru closed 8 months ago

dolphinysaru commented 8 months ago

Hello. I am using the library well. thank you

As mentioned in the title, a crash occurs in Py_IsInitialized. An image has been attached.

It operates normally in XCode Debug mode. However, it does not work properly in Release mode. Is there any way to solve this?

스크린샷 2024-02-06 오전 12 29 55

kewlbear commented 8 months ago

Please see #1 and #3.

dolphinysaru commented 8 months ago

스크린샷 2024-02-06 오전 11 35 15

I changed the build settings, but the crash still occurs. Is there any other way? I will also try to find the cause.

dolphinysaru commented 8 months ago

I modified it by referring to the sample project. I changed the Strip style to Debugging and additionally changed the Enable Testability value to Yes. Thank you 스크린샷 2024-02-06 오후 2 13 47