ra1028 / Carbon

🚴 A declarative library for building component-based user interfaces in UITableView and UICollectionView.
https://ra1028.github.io/Carbon
Apache License 2.0
1.33k stars 97 forks source link

Crash when building and launching for iOS 10, 11 and 12 simulator #62

Closed Dimillian closed 5 years ago

Dimillian commented 5 years ago
dyld: Library not loaded: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
  Referenced from: /Users/thomasricouard/Library/Developer/CoreSimulator/Devices/A09605A4-9BF2-4D63-9B5A-000D85C18FCA/data/Containers/Bundle/Application/92E5E64B-1EBD-46C3-A9A0-486C122D0E41/Glose Education Staging.app/Frameworks/Carbon.framework/Carbon
  Reason: no suitable image found.  Did find:
    /System/Library/Frameworks/SwiftUI.framework/SwiftUI: mach-o, but not built for iOS simulator

SwiftUI is not conditionally linked? I'm getting crash on launch as SwiftUI can't be linked on any earlier iOS version than 13.

ra1028 commented 5 years ago

Thanks for your report @Dimillian That is my mistake in my publishing the release RC5. I'll fix it on this PR https://github.com/ra1028/Carbon/pull/63 Please wait while I release the new version.

ra1028 commented 5 years ago

@Dimillian Just released RC6 with conditionally linking SwiftUI. Unfortunately, dropped support for Swift5.0 and Xcode10.

Dimillian commented 5 years ago

Perfect thanks!