UnityからiOSアプリをビルドした時にエラー解消メモ【iOS,Unity】

エラーの内容

Could not launch “yousan”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: The operation couldn’t be completed. Unable to launch com.yousan because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
User Info: {
    DVTRadarComponentKey = 855031;
    RawLLDBErrorMessage = "The operation couldn\U2019t be completed. Unable to launch com.yousan because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.";
}
--

解消方法

実機からのAppを信頼

iPhone実機で「設定」→「一般」→「プロファイルとデバイス管理」→当該アプリのプロファイルを選択し「Appを信頼」して、もう一度XCodeでBuild->Runすれば起動する。

www.meiseid.co.jp

iOS Developer PortalのIdentifiresで設定するApp ID及びBundle IDと一致させる