ryuryu0226 / ARMap

1 stars 0 forks source link

iOS: ログ 2022-06-15 #3

Closed hzuika closed 2 years ago

hzuika commented 2 years ago

チュートリアル

  1. File > Build Settings > Platform "iOS" > Development Build にチェック
  2. Build > enable replace > Replace

Xcodeでプロジェクトを開く

ビルドエラー

"Unity-iPhone" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor.
"Unity-iPhone"はprovisioning profileが必要です.Signing & Capabilities editorのprovisioning profileを選択してください.

参考

Signing & Capabilities

設定のエラー

Failed to register bundle identifier
The app identifier "com.DefaultCompany.ARMap" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.
bundle identifierの登録に失敗
app identifier "com.DefaultCompany.ARMap"は利用できないので,開発チームに登録できない.
bundle identifierをユニークな文字列に変えてください.

No profiles for 'com.DefaultCompany.ARMap' were found
Xcode couldn't find any iOS App Development provisioning profiles matching 'com.DefaultCompany.ARMap'.
om.DefaultCompany.ARMapのprofilesが見つかりませんでした.

Bundle Identifier を com.DefaultCompany.ARMap20220614 に変更(一意の名前)

参考

Build成功

起動エラー

Could not launch “ARMap”
The operation couldn’t be completed. Unable to launch com.DefaultCompany.ARMap20220614 because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

iPhone上の起動エラー

信頼されていないデベロッパ
これらのAppの使用は,"設定"で許可することができます.

参考

iPhone > 設定 > 一般 > VPNとデバイス管理 > デベロッパAPP

iOSのカメラを使用できない

Edit > Project Settings ... > XR Plug-in Management > iOS > ARKit にチェック

Androidでビルド成功したプロジェクトをビルドしてみる

ビルドエラー Edit > Project Settings > Player > Other settings > Configurations > Requires ARKit support

Xcodeを開いて,Signing & Capabilitiesでエラー

Communication with Apple failed.
Your maximum App ID limit has been reached. You may create up to 10 App IDs every 7 days.

一度に作れるAppの数に制限がある.今回は別のAppleIDを使った. Bundle Identiferを使い回す方法を調べなければならない.

参考