zjfjack / JZCalendarWeekView

Calendar Week & Day View in iOS Swift
MIT License
448 stars 120 forks source link

Project not building in Xcode 12.3 using carthage #132

Closed gerkov77 closed 3 years ago

gerkov77 commented 3 years ago

I got an error message: "/my/path/ Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3.2 compiler: /My/path/to/Carthage/Build/iOS/JZCalendarWeekView.framework/Modules/JZCalendarWeekView.swiftmodule/arm64-apple-ios.swiftmodule"

There is also a warning: " /Path/to/My/MyApp.xcodeproj Building for iOS, but the linked and embedded framework 'JZCalendarWeekView.framework' was built for iOS + iOS Simulator."

This app is in AppStore already. Further development is now blocked. Should I switch to SPM maybe? What is your suggestion about this? Thanks in advance!

gerkov77 commented 3 years ago

Switching to SPM is simple and seems to have solved the problem! (We have to add UIKit import though(