Error detected in pubspec.yaml

167 views
Skip to first unread message

John Muchow

unread,
Nov 23, 2018, 2:31:30 PM11/23/18
to Flutter Dev
I am getting the following error:

Error detected in pubspec.yaml:
#/properties/flutter: unallowed additional property application

I imagine it's something trivial, I just can't seem to find the issue:

name: stock_tracker
description: Multi-user stock tracking Flutter application.
version: 1.0.0+1

environment:
 sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
 flutter:
   sdk: flutter
 firebase_auth: 0.6.2+1
 cloud_firestore:

dev_dependencies:
 flutter_test:
   sdk: flutter

flutter:
 uses-material-design: true
 application:
   androidPackage: com.example.stocktracker
   iosBundleIdentifier: com.example.stockTracker

Steven McDowall

unread,
Nov 23, 2018, 2:38:25 PM11/23/18
to John Muchow, Flutter Dev

The cloud_firestore dependency seems suspicious as it doesn't point to anything .. git or pub or a path ?? 



--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Muchow

unread,
Nov 23, 2018, 2:45:07 PM11/23/18
to Flutter Dev
I've updated the reference as below and I still receive the error.

cloud_firestore: 0.8.2+3

Steven McDowall

unread,
Nov 23, 2018, 2:49:50 PM11/23/18
to John Muchow, Flutter Dev
Doh .. ah where did that application :  label come from ? I’ve never seen one in flutter before ..

Or iOSBundleIdentifier either ... 

Sent from my iPad

John Muchow

unread,
Nov 23, 2018, 2:58:21 PM11/23/18
to Flutter Dev
Good question, I didn't manually add those. It must of come about as part of my messing with various tools...

Thanks for the heads up.

Bened

unread,
Nov 23, 2018, 3:00:39 PM11/23/18
to Flutter Dev
dependencies: cloud_firestore: ^0.8.2+3
Reply all
Reply to author
Forward
0 new messages