I have created a basic Flutter app using the CLI Flutter tool. Starting with the basic demo app, I only added an import of the contacts_service package.
When running flutter run or flutter build, I get the following message in the terminal:
fullnames-MacBook-Air:testapp accountname$ flutter run
Launching lib/main.dart on iPhone 6 Plus in debug mode...
Running pod install... 1.8s
Starting Xcode build...
Xcode build done. 1.5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET contacts_service OF PROJECT Pods WITH CONFIGURATION Debug ===
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
Could not build the application for the simulator.
Error launching application on iPhone 6 Plus.
I am a newbie, and not sure if this is a problem with the Flutter contacts package or my own mistake?
Any suggestion would be very appreciated! -- thanks
I have created a basic Flutter app using the CLI Flutter tool. Starting with the basic demo app, I only added an import of the
contacts_service
package.When running
flutter run
orflutter build
, I get the following message in the terminal:I am a newbie, and not sure if this is a problem with the Flutter contacts package or my own mistake?
Any suggestion would be very appreciated! -- thanks