scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS
MIT License
5.61k stars 509 forks source link

iOS11 Crash in XCode14 add libswiftCoreGraphics.dylib #567

Closed atsumori closed 2 years ago

atsumori commented 2 years ago

When running an app built with xcode14 on iOS11, the following error occurs and crashes.

dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib
  Referenced from: /private/var/containers/Bundle/Application/0B28F8D6-D8CE-400B-98B7-052EAD3FB923/xxxxxx.app/Frameworks/FloatingPanel.framework/FloatingPanel
  Reason: image not found
scenee commented 2 years ago

I've confirmed this issue happens in iOS 11 and I found the related forum thread. Thank you for your workaround for the issue.

scenee commented 2 years ago

I have just one request. Would you remove this workaround from Map-SwiftUI and SampleObjC projects? They don’t need this workaround actually because their deployment targets are above iOS11.

scenee commented 2 years ago

I would like to apply the above change to Map-SwiftUI and SampleObjC projects by myself after merging this PR. Thank you for your PR :)

-- Note: this issue also happens if the deployment target of an app is 12.1.