コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】iOS Bundle ID has not been set up correctly

概要

f:id:baba_s:20190308145241p:plain

Exception: iOS Bundle ID has not been set up.
Please set up the iOS Bundle ID in the Player Settings. 
The value must contain only alphanumeric characters 
(A-Z, a-z, and 0-9), hyphens (-), and periods (.). 
You also have to create a Provisioning Profile 
with the same identifier and install it 
in the Xcode Organizer Provisioning Profiles.

iOS ビルド時に上記のエラーに遭遇した

f:id:baba_s:20190308145510p:plain

Player Settings の Bundle Identifier に半角スペースが混ざっていたのが原因だった