You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run patrol test --target integration_test/path_to_your_test.dart -d <REAL_DEVICE_ID> --release on a real iOS device.
Observe that the test summary shows 0 tests and no detailed results.
Run the same command on an iOS simulator, and the results display as expected.
Actual results
When running integration tests on a real iOS device in release mode, the test summary displays 0 total tests, 0 Successful tests, 0 Failed tests, 0 Skipped tests and there is no information about the test results.
However, the issue does not occur when running the tests on the iOS simulator.
See evidence, first run is on release mode, and second release is on the simulator
Logs
Logs
Patrol_framework git:(patrol/codemagic-integration) ✗ patrol test --target integration_test/Other_01_Delete_all_data_test.dart -d 00008030-000C38A921F9802E --release --verbose
Verbose mode enabled. More logs will be printed.
Update available! 3.4.1 → 3.5.0
Run patrol update to update
Received 1 test target(s)
Received test target: /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/integration_test/Other_01_Delete_all_data_test.dart
Generated entrypoint /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/integration_test/test_bundle.dart with 1 bundled test(s)
$ flutter --no-version-check --suppress-analytics devices --machine
Received 1 device(s) to run on
Received device: Create’s iPhone SE 2nd 111
$ flutter --suppress-analytics --no-version-check pub deps --style=list
Received 10 --dart-define(s) (0 custom, 10 internal)
Received internal --dart-define: PATROL_WAIT=0
Received internal --dart-define: PATROL_APP_PACKAGE_NAME=com.bruno.tuapp
Received internal --dart-define: PATROL_APP_BUNDLE_ID=com.patricio.tuapp
Received internal --dart-define: PATROL_ANDROID_APP_NAME=MMAS
Received internal --dart-define: PATROL_IOS_APP_NAME=MMAS
Received internal --dart-define: INTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false
Received internal --dart-define: PATROL_TEST_LABEL_ENABLED=true
Received internal --dart-define: PATROL_TEST_SERVER_PORT=8081
Received internal --dart-define: PATROL_APP_SERVER_PORT=8082
Received internal --dart-define: COVERAGE_ENABLED=false
• Building app with entrypoint test_bundle.dart for iOS device (release)...
$ flutter build ios --no-version-check --suppress-analytics --config-only --no-codesign --release --target /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/integration_test/test_bundle.dart --dart-define PATROL_WAIT=0 --dart-define PATROL_APP_PACKAGE_NAME=com.bruno.tuapp --dart-define PATROL_APP_BUNDLE_ID=com.patricio.tuapp --dart-define PATROL_ANDROID_APP_NAME=MMAS --dart-define PATROL_IOS_APP_NAME=MMAS --dart-define INTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false --dart-define PATROL_TEST_LABEL_ENABLED=true --dart-define PATROL_TEST_SERVER_PORT=8081 --dart-define PATROL_APP_SERVER_PORT=8082 --dart-define COVERAGE_ENABLED=false
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building com.patricio.tuapp for device (ios-release)...
$ xcodebuild build-for-testing -workspace Runner.xcworkspace -scheme Runner -configuration Release -sdk iphoneos -destination generic/platform=iOS -quiet -derivedDataPath ../build/ios_integ OTHER_SWIFT_FLAGS=$(inherited) -D PATROL_ENABLED
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[3](firebase_auth-dummy.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[4](firebase_auth_messages.g.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[5](FLTAuthStateChannelStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[6](FLTFirebaseAuthPlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[7](FLTIdTokenChannelStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[8](FLTPhoneNumberVerificationStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[9](PigeonParser.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[3](firebase_core-dummy.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[4](FLTFirebaseCorePlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[5](FLTFirebasePlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[6](FLTFirebasePluginRegistry.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[7](messages.g.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/Pods_Runner.framework/Pods_Runner[3](Pods-Runner-dummy.o)) was built for newer 'iOS' version (18.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[3](firebase_auth-dummy.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[4](firebase_auth_messages.g.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[5](FLTAuthStateChannelStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[6](FLTFirebaseAuthPlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[7](FLTIdTokenChannelStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[8](FLTPhoneNumberVerificationStreamHandler.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_auth/firebase_auth.framework/firebase_auth[9](PigeonParser.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[3](firebase_core-dummy.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[4](FLTFirebaseCorePlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[5](FLTFirebasePlugin.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[6](FLTFirebasePluginRegistry.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[7](messages.g.o)) was built for newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file (/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Release-iphoneos/Pods_Runner_RunnerUITests.framework/Pods_Runner_RunnerUITests[3](Pods-Runner-RunnerUITests-dummy.o)) was built for newer 'iOS' version (18.0) than being linked (12.0)
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'SDWebImage-SDWebImage' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'SDWebImage-SDWebImage' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'AppAuth-AppAuthCore_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'AppAuth-AppAuthCore_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Toast-Toast' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PhoneNumberKit-PhoneNumberKitPrivacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PhoneNumberKit' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'SDWebImage' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'SDWebImage' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Toast' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleUtilities' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'AppAuth' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'AppAuth' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'CocoaAsyncSocket' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'CocoaAsyncSocket' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseAppCheckInterop' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'RecaptchaInterop' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'RecaptchaInterop' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseAuthInterop' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'rate_my_app' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'flutter_native_splash-flutter_native_splash_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'flutter_native_splash-flutter_native_splash_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'sqflite_darwin-sqflite_darwin_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'share_plus-share_plus_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'url_launcher_ios-url_launcher_ios_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'shared_preferences_foundation-shared_preferences_foundation_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'in_app_review-in_app_review_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'path_provider_foundation-path_provider_foundation_privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'SwiftyGif-SwiftyGif' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'SwiftyGif-SwiftyGif' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'libphonenumber_plugin' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreInternal-FirebaseCoreInternal_Privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'fluttertoast-fluttertoast_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'fluttertoast-fluttertoast_privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'patrol-patrol_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'patrol-patrol_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'sqflite_darwin' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'SwiftyGif' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'SwiftyGif' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'share_plus' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'flutter_native_splash' from project 'Pods')
warning: no rule to process file '/Users/patricionunez/.pub-cache/hosted/pub.dev/flutter_native_splash-2.4.3/ios/flutter_native_splash/Sources/flutter_native_splash/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64' (in target 'flutter_native_splash' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'url_launcher_ios' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Full_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GTMSessionFetcher-GTMSessionFetcher_Full_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'shared_preferences_foundation' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'in_app_review' from project 'Pods')
warning: no rule to process file '/Users/patricionunez/.pub-cache/hosted/pub.dev/in_app_review-2.0.10/ios/in_app_review/Sources/in_app_review/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64' (in target 'in_app_review' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'path_provider_foundation' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreInternal' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'fluttertoast' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'patrol' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GTMSessionFetcher' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GTMSessionFetcher' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'DKPhotoGallery-DKPhotoGallery' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'DKPhotoGallery-DKPhotoGallery' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'DKPhotoGallery' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'DKPhotoGallery' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GTMAppAuth-GTMAppAuth_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GTMAppAuth-GTMAppAuth_Privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GTMAppAuth' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GTMAppAuth' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCore-FirebaseCore_Privacy' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCore' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'GoogleSignIn' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleSignIn' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'DKImagePickerController-DKImagePickerController' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'DKImagePickerController-DKImagePickerController' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'DKImagePickerController' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'DKImagePickerController' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreExtension-FirebaseCoreExtension_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreExtension' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'google_sign_in_ios-google_sign_in_ios_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseAuth-FirebaseAuth_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseAuth' from project 'Pods')
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'file_picker-file_picker_ios_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'file_picker-file_picker_ios_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'file_picker' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'firebase_core' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'firebase_auth' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'google_sign_in_ios' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Pods-Runner' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Runner' from project 'Runner')
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Pods-Runner-RunnerUITests' from project 'Pods')
warning: Run script build phase 'xcode_backend build' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RunnerUITests' from project 'Runner')
warning: Run script build phase 'xcode_backend embed_and_thin' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RunnerUITests' from project 'Runner')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Firebase' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Flutter' from project 'Pods')
✓ Completed building app with entrypoint test_bundle.dart for iOS device (37.1s)
Will uninstall apps before running tests
$ ideviceinstaller --udid 00008030-000C38A921F9802E --uninstall com.patricio.tuapp
$ ideviceinstaller --udid 00008030-000C38A921F9802E --uninstall com.patricio.tuapp.RunnerUITests.xctrunner
$ log stream
• Running app with entrypoint test_bundle.dart for iOS device on device Create’s iPhone SE 2nd 111...
$ xcodebuild -showsdks -json
Assuming SDK version 18.2 for iphonesimulator
Looking for .xctestrun matching Runner_*iphoneos18.2*.xctestrun at /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products
Found 1 match(es), the first one will be used
Found /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Runner_iphoneos18.2-arm64.xctestrun
$ xcodebuild test-without-building -xctestrun /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Runner_iphoneos18.2-arm64.xctestrun -only-testing RunnerUITests/RunnerUITests -destination platform=iOS,name=Create’s iPhone SE 2nd 111 -destination-timeout 1 -resultBundlePath /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild test-without-building -xctestrun /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_integ/Build/Products/Runner_iphoneos18.2-arm64.xctestrun -only-testing RunnerUITests/RunnerUITests -destination "platform=iOS,name=Create’s iPhone SE 2nd 111" -destination-timeout 1 -resultBundlePath /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
User defaults from command line:
IDEBuildOperationResultBundlePath = /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
IDEPackageSupportUseBuiltinSCM = YES
Writing result bundle at path:
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
2025-01-21 08:51:23.658932-0300 RunnerUITests-Runner[1008:181879] [Default] Running tests...
2025-01-21 08:51:29.547779-0300 RunnerUITests-Runner[1008:181879] Running tests without clearing permissions
2025-01-21 08:51:29.548881-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: PatrolServer constructor called
2025-01-21 08:51:29.548931-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: PATROL_ENABLED flag is defined
2025-01-21 08:51:29.556387-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: Starting server...
2025-01-21 08:51:29.562887-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: Server started on http://0.0.0.0:8081
2025-01-21 08:51:29.563010-0300 RunnerUITests-Runner[1008:181879] PatrolAppServiceClient: created, port: 8082
t = nans Checking existence of `"Allow" Button`
2025-01-21 08:51:29.668787-0300 RunnerUITests-Runner[1008:181879] [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
t = nans Open com.patricio.tuapp
t = nans Launch com.patricio.tuapp
t = nans Setting up automation session
t = nans Wait for com.patricio.tuapp to idle
2025-01-21 08:51:36.328557-0300 RunnerUITests-Runner[1008:182202] PatrolServer: INFO: App reported that it is ready
2025-01-21 08:51:37.294336-0300 RunnerUITests-Runner[1008:181879] PatrolAppServiceClient.listDartTests()
2025-01-21 08:51:37.541004-0300 RunnerUITests-Runner[1008:182276] [connection] nw_socket_handle_socket_event [C1.1.1:2] Socket SO_ERROR [61: Connection refused]
2025-01-21 08:51:37.542128-0300 RunnerUITests-Runner[1008:182276] [connection] nw_endpoint_flow_failed_with_error [C1.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning
2025-01-21 08:51:37.552332-0300 RunnerUITests-Runner[1008:182203] PatrolAppServiceClient.listDartTests(): succeeded
2025-01-21 08:51:38.324983-0300 RunnerUITests-Runner[1008:181879] Got 1 Dart tests: (
{
name = "Other_01_Delete_all_data_test Other_01 - Delete all data";
skip = 0;
}
)
2025-01-21 08:51:38.325498-0300 RunnerUITests-Runner[1008:181879] RunnerUITests.testInvocations(): selectorName = Other_01_Delete_all_data_test Other_01 - Delete all data, signature: <NSMethodSignature: 0x9a636c150231e387>
Test Suite 'Selected tests' started at 2025-01-21 08:51:38.466.
Test Suite 'RunnerUITests.xctest' started at 2025-01-21 08:51:38.467.
Test Suite 'RunnerUITests' started at 2025-01-21 08:51:38.467.
Test Case '-[RunnerUITests Other_01_Delete_all_data_test Other_01 - Delete all data]' started.
t = 0.00s Start Test at 2025-01-21 08:51:38.468
t = 0.09s Set Up
t = 0.09s Open com.patricio.tuapp
t = 0.09s Launch com.patricio.tuapp
t = 0.09s Terminate com.patricio.tuapp:1009
t = 1.42s Setting up automation session
t = 1.44s Wait for com.patricio.tuapp to idle
2025-01-21 08:51:39.955639-0300 RunnerUITests-Runner[1008:182202] PatrolServer: INFO: App reported that it is ready
2025-01-21 08:51:41.996841-0300 RunnerUITests-Runner[1008:181879] PatrolAppServiceClient.runDartTest(Other_01_Delete_all_data_test Other_01 - Delete all data)
2025-01-21 08:51:42.014013-0300 RunnerUITests-Runner[1008:182276] [connection] nw_socket_handle_socket_event [C2.1.1:2] Socket SO_ERROR [61: Connection refused]
2025-01-21 08:51:42.014276-0300 RunnerUITests-Runner[1008:182276] [connection] nw_endpoint_flow_failed_with_error [C2.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning
2025-01-21 08:52:06.874510-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: tapping on view with text 'Not Now' in app com.patricio.tuapp...
2025-01-21 08:52:06.881335-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: waiting for existence of view with text 'Not Now' in app com.patricio.tuapp
t = 28.41s Get all elements bound by index for: Elements matching predicate 'label == "Not Now" OR title == "Not Now"'
t = 28.61s Checking existence of `Any (Element at index 0)`
t = 28.75s Find the Any (Element at index 0)
t = 28.94s Tap "Not Now" Button
t = 28.94s Wait for com.patricio.tuapp to idle
t = 28.95s Find the "Not Now" Button
t = 29.09s Check for interrupting elements affecting "Not Now" Button
t = 29.28s Synthesize event
t = 29.61s Wait for com.patricio.tuapp to idle
2025-01-21 08:52:08.090115-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: done tapping on view with text 'Not Now' in app com.patricio.tuapp
2025-01-21 08:52:08.093838-0300 RunnerUITests-Runner[1008:181879] PatrolServer: INFO: result: ()
2025-01-21 08:52:22.501049-0300 RunnerUITests-Runner[1008:183047] runDartTest("Other_01_Delete_all_data_test Other_01 - Delete all data"): call finished, test result: PASSED
t = 44.68s Tear Down
Test Case '-[RunnerUITests Other_01_Delete_all_data_test Other_01 - Delete all data]' passed (44.941 seconds).
Test Suite 'RunnerUITests' passed at 2025-01-21 08:52:23.411.
Executed 1 test, with 0 failures (0 unexpected) in 44.941 (44.944) seconds
Test Suite 'RunnerUITests.xctest' passed at 2025-01-21 08:52:23.418.
Executed 1 test, with 0 failures (0 unexpected) in 44.941 (44.951) seconds
Test Suite 'Selected tests' passed at 2025-01-21 08:52:23.421.
Executed 1 test, with 0 failures (0 unexpected) in 44.941 (44.955) seconds
2025-01-21 08:52:23.938 xcodebuild[51193:6361586] [MT] IDETestOperationsObserverDebug: 66.216 elapsed -- Testing started completed.
2025-01-21 08:52:23.938 xcodebuild[51193:6361586] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2025-01-21 08:52:23.938 xcodebuild[51193:6361586] [MT] IDETestOperationsObserverDebug: 66.216 sec, +66.216 sec -- end
Test session results, code coverage, and logs:
/Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
** TEST EXECUTE SUCCEEDED **
Testing started
Test summary:
📝 Total: 0
✅ Successful: 0
❌ Failed: 0
⏩ Skipped: 0
📊 Report: /Users/patricionunez/development/QA_sandbox_automation/Patrol_framework/build/ios_results_1737460275879.xcresult
⏱️ Duration: 68s
✓ Completed executing app with entrypoint test_bundle.dart for iOS device on device Create’s iPhone SE 2nd 111 (68.1s)
$ ideviceinstaller --udid 00008030-000C38A921F9802E --uninstall com.patricio.tuapp
$ ideviceinstaller --udid 00008030-000C38A921F9802E --uninstall com.patricio.tuapp.RunnerUITests.xctrunner
➜ Patrol_framework git:(patrol/codemagic-integration) ✗ ```
</details>
### Patrol version
patrol: ^3.13.1
### Patrol Doctor output
<details>
<summary>Patrol Doctor output</summary>
➜ Patrol_framework git:(patrol/codemagic-integration) ✗ patrol doctor
Patrol doctor:
Patrol CLI version: 3.4.1
Flutter command: flutter
Flutter 3.27.1 • channel stable
Android:
• Program adb not found (install with export PATH="$ANDROID_HOME/platform-tools:$PATH")
• Env var $ANDROID_HOME is not set. (See the link: https://developer.android.com/tools/variables#set)
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller
</details>
### Flutter Doctor output
<details>
<summary>Flutter Doctor output</summary>
➜ Patrol_framework git:(patrol/codemagic-integration) ✗ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.96.2)
[✓] Connected device (7 available)
[✓] Network resources
• No issues found!```
The text was updated successfully, but these errors were encountered:
Steps to reproduce
patrol test --target integration_test/path_to_your_test.dart -d <REAL_DEVICE_ID> --release
on a real iOS device.Actual results
When running integration tests on a real iOS device in release mode, the test summary displays 0 total tests, 0 Successful tests, 0 Failed tests, 0 Skipped tests and there is no information about the test results.
However, the issue does not occur when running the tests on the iOS simulator.
See evidence, first run is on release mode, and second release is on the simulator
Logs
Logs
➜ Patrol_framework git:(patrol/codemagic-integration) ✗ patrol doctor
Patrol doctor:
Patrol CLI version: 3.4.1
Flutter command: flutter
Flutter 3.27.1 • channel stable
Android:
• Program adb not found (install with
export PATH="$ANDROID_HOME/platform-tools:$PATH"
)• Env var $ANDROID_HOME is not set. (See the link: https://developer.android.com/tools/variables#set)
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller
➜ Patrol_framework git:(patrol/codemagic-integration) ✗ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.96.2)
[✓] Connected device (7 available)
[✓] Network resources
• No issues found!```
The text was updated successfully, but these errors were encountered: