xcodeでビルドした時 Could not launch “App Name”エラーを解決したい
エラーの内容
xcodeのログだとこうでてる
error: failed to launch '/private/var/containers/Bundle/Application/675F3D89-6549-4238-9C4D-FEA28DAD5507/AppName.app' -- Verify the Developer App certificate for your account is trusted on your device. Open Settings on DeviceName and navigate to General -> Device Management, then select your Developer App certificate to trust it.
対応
解決したけどつまり原因がわからない。
以下やったこと。でもすぐ解決しなかったのでPC付けっ放しで放置しておき、また試したら動いた
https://teratail.com/questions/42356
https://teratail.com/questions/32253