YoutubeDL
YoutubeDL copied to clipboard
App crashes when installed from Testflight
When testing on a device or simulator it works great but when installed from Testflight it crashes. Any idea why that could be? @kewlbear
#0 (null) in _assertionFailure(_:_:file:line:flags:) ()
#1 (null) in specialized PythonLibrary.init+ 1395960 () ()
#2 (null) in one-time initialization function for shared ()
#3 (null) in _dispatch_client_callout ()
#4 (null) in _dispatch_once_callout ()
#5 (null) in swift_once ()
#6 (null) in specialized static PythonLibrary.loadSymbol<A>+ 1387732 (name:legacyName:type:) ()
#7 (null) in one-time initialization function for Py_Initialize ()
#8 (null) in _dispatch_client_callout ()
#9 (null) in _dispatch_once_callout ()
#10 (null) in swift_once ()
#11 (null) in one-time initialization function for Python ()
#12 (null) in _dispatch_client_callout ()
#13 (null) in _dispatch_once_callout ()
#14 (null) in swift_once ()
#15 (null) in specialized PythonObject.init<A>+ 1376396 (_:) ()
#16 (null) in one-time initialization function for defaultOptions ()
#17 (null) in _dispatch_client_callout ()
#18 (null) in _dispatch_once_callout ()
#19 (null) in swift_once ()
#20 (null) in defaultOptions.unsafeMutableAddressor ()
#21 (null) in default argument 0 of YoutubeDL.init(options:) ()
#22 (null) in closure #1 in YoutubeDLManager.loadYoutubeDl(completion:) ()
#23 (null) in thunk for @escaping @callee_guaranteed () -> () ()
#24 (null) in _dispatch_call_block_and_release ()
#25 (null) in _dispatch_client_callout ()
#26 (null) in _dispatch_root_queue_drain ()
#27 (null) in _dispatch_worker_thread2 ()
#28 (null) in _pthread_wqthread ()
#29 (null) in start_wqthread ()
See https://github.com/kewlbear/Open3D-iOS/issues/13#issuecomment-823703754.
By the way, you should remember that this project is NOT safe for App Store review.
I'm having this same issue. Release builds (e.g. TestFlight) crashes. It seems to be PythonKit related initializing a Python object. I'm not worried about App Review... any suggestions what to do?
Hi @kewlbear , I have set STRIP_STYLE=debugging and turned bitcode off in build setting. However, Testflight builds still keeps crashing. Any suggestions on how to fix this?
@Frankenxtein what helped me was to set: ENABLE_TESTABILITY = YES; in the project settings. Basically what I did was to make all the settings the same for DEBUG and RELEASE.