I was dealing with that issue caused by Xcode 16. I switched back to Xcode 15 for now and it started working again.
Post
Replies
Boosts
Views
Activity
I have the same issue. After installing CER on iPhone 15 Pro, iOS 17.6.1, no cert is shown in Certificate Trust Settings. Btw. cert has a common name set.
I've turned off "Debug Executable" and get this error:
2021-06-09 08:25:58.021518+0200 twtwweUITests-Runner[92048:714265] Running tests...
2021-06-09 08:25:58.029173+0200 twtwweUITests-Runner[92048:714265] The bundle “twtwweUITests” couldn’t be loaded because it doesn’t contain a version for the current architecture. Try installing a universal version of the bundle.
2021-06-09 08:25:58.029222+0200 twtwweUITests-Runner[92048:714265] (dlopen_preflight(/Users/***/Library/Developer/Xcode/DerivedData/twtwwe-ckdyjdpdhylzbvgjdttvzwllrvov/Build/Products/Debug-iphonesimulator/twtwweUITests-Runner.app/PlugIns/twtwweUITests.xctest/twtwweUITests): no suitable image found. Did find:
/Users/***/Library/Developer/Xcode/DerivedData/twtwwe-ckdyjdpdhylzbvgjdttvzwllrvov/Build/Products/Debug-iphonesimulator/twtwweUITests-Runner.app/PlugIns/twtwweUITests.xctest/twtwweUITests: mach-o, but wrong architecture)
That is from the template app with autogenerated UITests
+1
this is connected with M1 and the project run from Xcode with Rosetta. I have the issue described every time I run UI test.
If I run the project without Rosetta, the issue does not appear and XCUITest works as expected
attach failed ((os/kern) invalid argument)