Hi guys!
I’m enjoying a lot working on Bitrise, such a great tool, however, I’ve hit a problem when trying to build a Flutter project.
This error happens during a build
step for the Flutter Step
process.
Below I’ve attached a few more details about it.
Also, this is for sure a problem with https://pub.dartlang.org/packages/cloud_firestore
, since this is almost the only packages I have on my project.
It was reproducible locally, but after a local update on Cloud Firestore to 0.7.2, now the error persists only on Bitrise.
Do you need more info in order to help me out? I appreciate it a lot!
Thanks,
Building <project-name> for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: xxx
Running pod install...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/vagrant/Library/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.3/ios/Classes/FirebaseCorePlugin.m:13:17: warning: property 'dictionary' requires method 'dictionary' to be defined - use @dynamic or provide a method implementation in this category [-Wobjc-property-implementation]
@implementation FIROptions (FLTFirebaseCorePlugin)
^
/Users/vagrant/Library/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.3/ios/Classes/FirebaseCorePlugin.m:10:46: note: property declared here
@property(readonly, nonatomic) NSDictionary *dictionary;
^
1 warning generated.
=== BUILD TARGET gRPC-ProtoRPC OF PROJECT Pods WITH CONFIGURATION Release ===
In file included from /Users/vagrant/git/ios/Pods/gRPC-ProtoRPC/src/objective-c/ProtoRPC/ProtoRPC.m:22:
In file included from /Users/vagrant/git/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/vagrant/git/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:40:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
other errors...
/Users/vagrant/Library/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:322:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/vagrant/Library/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:331:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/vagrant/Library/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.7.2/ios/Classes/CloudFirestorePlugin.m:340:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
12 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
Code Signing Error: No profiles for 'xxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'xxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
Encountered error while building for device.
Flutter invocation failed, error: exit status 1