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 crash on iOS16 and iOS17 Device, Simulator runs fine #42

Open
Dirk23 opened this issue Jul 13, 2023 · 13 comments
Open

App crash on iOS16 and iOS17 Device, Simulator runs fine #42

Dirk23 opened this issue Jul 13, 2023 · 13 comments
Assignees
Labels

Comments

@Dirk23
Copy link

Dirk23 commented Jul 13, 2023

Description
Hi,

i was testing my iOS App on XCode15 and an iPad on iOS17Beta3. The app runs fine in Simulator, but on the Device the App crashes with the following Debug Log:

  Referenced from: <7BE0D17B-2357-39ED-8D20-5305DA2BF18C> /private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/MySQL.framework/MySQL
  Reason: tried: '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <A2B2AAE2-C7FB-350D-AFFE-3A40A89DC1B4> '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x009AC240, codeBlobSize=0x00024020), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <A2B2AAE2-C7FB-350D-AFFE-3A40A89DC1B4> '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x009AC240, codeBlobSize=0x00024020), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/92FAA264-1198-43B5-8495-696E0787C8AA/eDine Kitchen.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/System/Library/Frameworks/OpenSSL.framework/OpenSSL' (no such file, not in dyld cache)

Device

  • Device: iPad 10th Gen.
  • OS: iOS 17Beta3
  • OS: iOS 16.5.1(c)

Any help is appreciated.

Thank you.

Dirk

@Dirk23 Dirk23 changed the title App crash on iOS17 Device, Simulator runs fine App crash on iOS16 and iOS17 Device, Simulator runs fine Jul 18, 2023
@Dirk23
Copy link
Author

Dirk23 commented Jul 18, 2023

With Version 3.1.0 everything is fine.

@HammerheadH
Copy link

HammerheadH commented Aug 2, 2023

I've got the same problem, I only installed the framework a few days ago and have made sure I'm on the latest version using CocoaPods. Runs fine in the simulator but crashes on startup on a real device. Seems to crash if the framework is installed, even if you don't execute anything. My target version is iOS 16.2 on XCode 14.2.

@HammerheadH
Copy link

@Dirk23 Did you really just update OHMySQL? I'm on the latest version but I'm still having the issue... Not really sure what to try.

@Dirk23
Copy link
Author

Dirk23 commented Aug 4, 2023

@Dirk23 Did you really just update OHMySQL? I'm on the latest version but I'm still having the issue... Not really sure what to try.

#42 (comment)

I use 3.1.0, with this version everything works fine for me.

@oleghnidets
Copy link
Owner

Hi guys
Do you integrate the library via CocoaPods?

@Dirk23
Copy link
Author

Dirk23 commented Aug 4, 2023

Hi guys Do you integrate the library via CocoaPods?

yes

@HammerheadH
Copy link

Hi guys Do you integrate the library via CocoaPods?

Yep

@oleghnidets
Copy link
Owner

Weird.. anyway, I'm going to remove support of tvOS and watchOS. These platforms add additional complexity to maintenance.

@HammerheadH
Copy link

Just an update, adding " pod 'OpenSSL-Universal' " to my podfile and then installing it fixed it, not an ideal fix but it works.

@oleghnidets
Copy link
Owner

Hi there @HammerheadH @Dirk23
Please, check out the latest release 3.3.0.

@Dirk23
Copy link
Author

Dirk23 commented Nov 20, 2023

Sorry for late Reply, but it still crashes with the OpenSSL Error Message

@Dirk23
Copy link
Author

Dirk23 commented Nov 20, 2023

Just an update, adding " pod 'OpenSSL-Universal' " to my podfile and then installing it fixed it, not an ideal fix but it works.

This didnt help at all, still crashing with some OpenSSL issues.

@Ian7110
Copy link

Ian7110 commented Jul 6, 2024

I am also having a similar issue
OhMySQL 3.3.0, IOS 17.5.1 fails
but OhMySQL 3.1.0 works
I am not importing any OpenSSL component as I am not using SSL. The simulator works but a real device fails

dyld[3046]: Library not loaded: @rpath/OpenSSL.framework/OpenSSL
Referenced from: <4B8D1E49-2B9D-3086-9689-310321E8FF5A> /private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/MySQL.framework/MySQL
Reason: tried: '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <3BEC285B-B10D-3071-B247-FC159DC7A070> '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x009C4CB0, codeBlobSize=0x00024500), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (code signature invalid in <3BEC285B-B10D-3071-B247-FC159DC7A070> '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/MySQL.framework/Frameworks/OpenSSL.framework/OpenSSL' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x009C4CB0, codeBlobSize=0x00024500), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/private/var/containers/Bundle/Application/AABE4983-B456-4BEC-9AE1-4E777349FC09/Fronius.app/Frameworks/OpenSSL.framework/OpenSSL' (no such file), '/System/Library/Frameworks/OpenSSL.framework/OpenSSL' (no such file, not in dyld cache)

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

No branches or pull requests

4 participants