chronotruck / FlagPhoneNumber

A formatted phone number UITextField with country flag picker.
Apache License 2.0
437 stars 317 forks source link

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler #171

Open mashoba7 opened 3 years ago

mashoba7 commented 3 years ago

Describe the bug Occurs to me when I try to run the project on iOS 14.0.1 (iPhone 11 Pro) device using Xcode 12.0 (12A7209).

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler: /Users/<username>/Documents/Xcode/<project_name>/Carthage/Build/iOS/FlagPhoneNumber.framework/Modules/FlagPhoneNumber.swiftmodule/arm64-apple-ios.swiftmodule

To Reproduce Steps to reproduce the behavior:

  1. Add github "chronotruck/FlagPhoneNumber" == 0.8.0 into your Carthage dependencies file (i.e. Cartfile)
  2. Run Carthage update --platform iOS on the terminal
  3. Try to build the project

Expected behavior Project needs to build and run successfully.

Smartphone:

amit-git-cons commented 2 years ago

is this issue resolved? I am facing the same in pod version also