Unity2017.3.1f1 Build Error

I’m making Unity Apps. Before,I could make Build. Now,I can’t make Build with error code.
Please teach me repair way.
My environment) Unity2017.3.1f1, Mac10.13.5, Xcode9.4.1

ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
System.String.Substring (Int32 startIndex, Int32 length) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:348)
UnityEditor.iOS.PostProcessiPhonePlayer.SetupBuildSettings (PostProcessorSettings postProcessorSettings, BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:478)
Unity
Error building Player: 2 errors
Build completed with a result of ‘Failed’
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:181
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:88
UnityEngine.GUIUtility:ProcessEvent(Int32, In

Even i am having the same issue , but i am working on windows to build iOS game . Did u find the solution. If yes , can you post it here.

Hello,

I understand my mistake.
For Unity BundleID,I made ‘ProductName’.
I changed BundleID to ‘com.CampanyName.ProductName’.
Then,I succeeded.

BestRegard,