Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : YES/ NO.It does give way more logging now and I can see this part just above the previous error but I don’t know what to do with it: xcodebuild DVTLocalComputerLogAspect: generateRuntimeProfileDirectoryPathForApplicationWithBundleIdentifier:runnableLocation:error:: Failed to create directory within application data container because either the app record () or the data container URL ((null)) was nil falling back to superclass implementation. I tried the suggestions under ** Xcode Unit Test fails without any error, with exit code 65 ** but the same error pops up. If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share) The stack on Bitrise is Xcode 12.5 on macOS 11.2 (Big Sur), but there is no other option with Big Sur. The project has Deployment Target 11.0, I have Xcode 12.4 on my Mac. Locally my tests run fine, but I indeed have that Xcode Helper enabled in my system settings. And as this page states it should work when not having a development team assigned. It doesn’t matter if I only have Unit Tests or also UI Tests. To enable UI testing, go to the Security & Privacy pane in System Preferences, select the Privacy tab, then select Accessibility, and add Xcode Helper to the list of applications allowed to use Accessibility)) (Underlying Error: Unable to run UI Tests because Xcode Helper does not have permission to use Accessibility. If you believe this error represents a bug, please attach the result bundle at /Users/vagrant/Library/Developer/Xcode/DerivedData/PoC_AZ-pipeline-gpdcytfqyoypbndbmunaumrhvirk/Logs/Test/Run-PoC_AZ-pipeline (macOS)-2021.04.14_18-05-36-+0100.xcresult. Tests macOS-Runner (1799) encountered an error (Failed to whitelist test runner process for UI testing. Users/vagrant/Library/Developer/Xcode/DerivedData/PoC_AZ-pipeline-gpdcytfqyoypbndbmunaumrhvirk/Logs/Test/Run-PoC_AZ-pipeline (macOS)-2021.04.14_18-05-36-+0100.xcresult Test session results, code coverage, and logs: ▸ Touching Tests\ macOS.xctest (in target 'Tests macOS' from project 'PoC_AZ-pipeline') ▸ Copying /Applications/Xcode-12.5.beta.3.app/Contents/Developer/Platforms/atform/Developer/Library/Frameworks/amework ▸ Copying /Applications/Xcode-12.5.beta.3.app/Contents/Developer/Platforms/atform/Developer/Library/PrivateFrameworks/amework ▸ Copying /Applications/Xcode-12.5.beta.3.app/Contents/Developer/Platforms/atform/Developer/usr/lib/libXCTestSwiftSupport.dylib The pipeline for the iOS part of my app runs fine with both Unit and UI Test. I’ve build a really small SwiftUI app for macOS and try to build and run it, building goes fine but then it crashes with below error and exit status 65. Bitrise Build Issue Report template Description of the issue
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |