Closed pma07pg closed 2 months ago
Hi @pma07pg, I have some ideas why it may not work:
patrol test ios
, it's just patrol test
but I don't think it causes your issueIf it doesn't help, please post whole log from test run (with --verbose
option)
Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it. Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample. Make sure to diligently fill out the issue template. Thanks for your contribution.
Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it. Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample. Make sure to diligently fill out the issue template. Thanks for your contribution.
Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it. Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample. Make sure to diligently fill out the issue template. Thanks for your contribution.
Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it. Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample. Make sure to diligently fill out the issue template. Thanks for your contribution.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.
Steps to reproduce
Hello,
Just to clarify, it works absolutely fine when my Android device is connected so this is exclusively an iOS bug. I've been through the steps to setup quite a few times but nothing seems to change. My app also builds on both devices no issue and both flavors.
Run test release for iOS:
Actual results
I see the RunnerTests being moved onto the device but it never opens/runs. I've followed this: https://github.com/leancodepl/patrol/issues/1441 link and get the same result even if I type the commands individually.
Based on some of the logs it seems to be deciding that it's a simulator? I'm really not sure but the iOS versions in my XCode are matching and 14.0...
Logs
Logs
``` 2024-07-12 11:20:20.501 xcodebuild[76020:1224807] [MT] IDETestOperationsObserverDebug: 10.445 elapsed -- Testing started completed. 2024-07-12 11:20:20.501 xcodebuild[76020:1224807] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start 2024-07-12 11:20:20.501 xcodebuild[76020:1224807] [MT] IDETestOperationsObserverDebug: 10.445 sec, +10.445 sec -- end Testing failed: RunnerUITests-Runner (5135) encountered an error (Failed to load the test bundle. (Underlying Error: The bundle “RunnerUITests” couldn’t be loaded. The bundle couldn’t be loaded. Try reinstalling the bundle. dlopen(/var/containers/Bundle/Application/89DD0E3A-E1A9-4827-8582-7F01DECC2A89/RunnerUITests-Runner.app/PlugIns/RunnerUITests.xctest/RunnerUITests, 0x0109): Library not loaded: @rpath/AppAuth.framework/AppAuth Referenced from:Patrol version
2.6.0 Also tried with 2.8.0 and 3.0.0
Patrol Package ^3.9.0
Patrol Doctor output
Patrol Doctor output
``` Patrol doctor: Patrol CLI version: 2.6.0 Android: • Program adb found in /Users/anon/Library/Android/sdk/platform-tools/adb • Env var $ANDROID_HOME set to /Users/anon/Library/Android/sdk/platform-tools iOS / macOS: • Program xcodebuild found in /usr/bin/xcodebuild • Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller ```Flutter Doctor output
Flutter Doctor output
``` Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64 (Rosetta), locale en-DE) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.90.2) [✓] Connected device (4 available) [✓] Network resources ```