Flutter release for iOS: Product > Archive fails with 'file not found'

Viewed 1053

I'm following the Preparing an iOS App For Release guide on flutter.io.

The flutter build ios command succeeds. But when I open Xcode and do Product > Archive I get this error:

cloud_firestore/CloudFirestorePlugin.h' file not found
1 Answers

Make sure you open Runner.xcworkspace and not Runner.xcodeproj as the latter does not have access to Pods.

Related