OHMySQL icon indicating copy to clipboard operation
OHMySQL copied to clipboard

App crash on iOS16 and iOS17 Device, Simulator runs fine

Open Dirk23 opened this issue 2 years ago • 14 comments
trafficstars

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 avatar Jul 13 '23 06:07 Dirk23

With Version 3.1.0 everything is fine.

Dirk23 avatar Jul 18 '23 08:07 Dirk23

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 avatar Aug 02 '23 02:08 HammerheadH

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

HammerheadH avatar Aug 04 '23 07:08 HammerheadH

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

https://github.com/oleghnidets/OHMySQL/issues/42#issuecomment-1639734800

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

Dirk23 avatar Aug 04 '23 07:08 Dirk23

Hi guys Do you integrate the library via CocoaPods?

oleghnidets avatar Aug 04 '23 20:08 oleghnidets

Hi guys Do you integrate the library via CocoaPods?

yes

Dirk23 avatar Aug 04 '23 23:08 Dirk23

Hi guys Do you integrate the library via CocoaPods?

Yep

HammerheadH avatar Aug 05 '23 05:08 HammerheadH

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

oleghnidets avatar Aug 05 '23 08:08 oleghnidets

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

HammerheadH avatar Aug 05 '23 09:08 HammerheadH

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

oleghnidets avatar Sep 19 '23 20:09 oleghnidets

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

Dirk23 avatar Nov 20 '23 12:11 Dirk23

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.

Dirk23 avatar Nov 20 '23 13:11 Dirk23

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)

Ian7110 avatar Jul 06 '24 03:07 Ian7110