OneSignal-Flutter-SDK
OneSignal-Flutter-SDK copied to clipboard
[question]: How do I get XCTests to run properly (Flutter App)?
trafficstars
How can we help?
How do I get XCTests in RunnerTests to work in a Flutter app? I assume I need to add something to the test build target, but the docs don't mention anything.
Test command (from Firebase Test Lab docs)
xcodebuild build-for-testing -workspace Runner.xcworkspace -scheme Runner -xcconfig Flutter/Release.xcconfig -configuration Release -derivedDataPath ../build/ios_integ -sdk iphoneos
The error I receive
The following build commands failed:
Ld /Users/username/Projects/my_app/build/ios_integ/Build/Products/Release-iphoneos/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal (in target 'OneSignalNotificationServiceExtension' from project 'Runner')
Firebase Test Lab docs:
https://github.com/flutter/flutter/tree/main/packages/integration_test#ios-device-testing
Code of Conduct
- [X] I agree to follow this project's Code of Conduct