15.6 C
London
Monday, September 9, 2024

flutter – My utility construct on android however not on iOS due to Pods/PhoneNumberKit


My utility does not construct on iOS.
My dependences in my pubspec.yaml are :
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
video_player: ^2.7.2
pay: ^1.1.2
flutter_login: ^4.2.1
http: ^1.1.0
sign_in_button: ^3.2.0
flutter_session_manager: ^1.0.3
wakelock: ^0.6.2
crypt: ^4.3.1
flutter_email_sender: ^6.0.2
rflutter_alert: ^2.0.7
url_launcher: ^6.1.14

That is my log

Launching lib/foremost.dart on iPhone 13 in debug mode...
Working pod set up...
Working Xcode construct...
Xcode construct carried out.                                           17,0s
Did not construct iOS app
Uncategorized (Xcode): Command CompileSwift failed with a nonzero exit code

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/RegexManager.swift:33:22

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/RegexManager.swift:94:26

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/RegexManager.swift:106:26

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:61:34

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:95:25

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:105:25

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:303:31

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:331:31

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:347:44

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:364:30

Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:392:28

Swift Compiler Error (Xcode): Kind of expression is ambiguous with out extra context
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PartialFormatter.swift:397:32

Swift Compiler Error (Xcode): Kind of expression is ambiguous with out extra context
/Customers/hinvi/StudioProjects/smartifice/ios/Pods/PhoneNumberKit/PhoneNumberKit/PhoneNumberKit.swift:310:43

Couldn't construct the appliance for the simulator.
Error launching utility on iPhone 13.

Thanks to your assist

flutter clear 
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.podspec
pod deintegrate
pod set up

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here