LoginSignup
0
1

More than 1 year has passed since last update.

M1 macでUITestが実行できない

Posted at

環境

  • 2021/04/29時点
  • M1チップのMacBook airを使用
  • rosettaを利用してXcodeを利用

起きた問題

  • swiftのプロジェクトを作成すると一緒に作成されるUITestを実行したところ、下記のエラーで実行に失敗する スクリーンショット 2021-04-29 15.15.16.png
Details

Could not attach to pid : “29327”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: attach failed ((os/kern) invalid argument)
User Info: {
    DVTRadarComponentKey = 855031;
    RawLLDBErrorMessage = "attach failed ((os/kern) invalid argument)";
}
--


System Information

macOS Version 11.1 (Build 20C69)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-04-29T15:15:21+09:00

解決方法

  • Xcodeをrosettaを利用して利用しない(原因は不明)
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1