Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when installed from Testflight #2

Open
armendh opened this issue Jun 18, 2021 · 4 comments
Open

App crashes when installed from Testflight #2

armendh opened this issue Jun 18, 2021 · 4 comments

Comments

@armendh
Copy link

armendh commented Jun 18, 2021

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 ()
@kewlbear
Copy link
Owner

See kewlbear/Open3D-iOS#13 (comment).

By the way, you should remember that this project is NOT safe for App Store review.

@sherwinzadeh
Copy link

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?

@Frankenxtein
Copy link

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?

@sherwinzadeh
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants