LoginSignup
2
0

More than 1 year has passed since last update.

Unityで作成したAppをiOS実機でテストする方法

Posted at

Unityで作成したAppをiOS上で動かす。

前回はAndroidでUnityのAppを実装したので、今回はiOSで実装を行いました。
備忘録としてまとめます。
完成したものは下です。

iOSにPlatformを変更する

Image from Gyazo

Bundle Identifierをユニークなものに設定する(AndroidのPackage Nameとは少し変更した方が推奨)

Image from Gyazo

新たにUnity上でiOS Appを追加する。

アプリを追加、を選択
Image from Gyazo

Unityマークを選択
Image from Gyazo

先ほど設定したユニークなBundle IDを入力
Image from Gyazo

GoogleService-Info.plistをDLし、Assetsの下に入れる
Image from Gyazo
Image from Gyazo

必要なSDKをImport
Image from Gyazo

iOS AppをBuild and Run
Image from Gyazo

Xcodeでファイルを開く
設定で、signing & CapabilitiesのAutoMatically manage signingにチェックを入れる
Image from Gyazo

iOSの末端を接続し、Run!

無事に実装できました。(再掲)

2
0
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
2
0