Closed AnthonyDadeWT closed 6 months ago
Turns out I needed to specify my build configuration, as we have multiple flavors setup.
xcodebuild build-for-testing -allowProvisioningUpdates \ -workspace Runner.xcworkspace \ -scheme dev \ -xcconfig Flutter/Release.xcconfig \ -configuration Debug-dev \ -derivedDataPath \ $output -sdk iphoneos
This error seems to be related to what's faced in this post, however I have tried all of the solutions found there, and still cannot run xcodebuild.
We have added flutter_secure_storage to our project by using flutter pub add flutter_secure_storage and have the project defined as
flutter_secure_storage: ^9.0.0
in the pubspec.yamlI'm able to build my Flutter project using "Start Debugging" in VSCode, and using the Run button in Xcode, however if I try to build my project by running xcodebuild in the ios directory, I get the following error
....ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module 'flutter_secure_storage' not found @import flutter_secure_storage;
I am wanting to use this command so I can follow Flutter's documentation on sending integration tests to Firebase Test Labs
I've attached the error below.
flutter doctor -v shows no errors.
Let me know if I can supply more info