How to use Xcode API for embedding frameworks?

Is the "PBXProjectExtensions.AddFileToEmbedFrameworks" right?
It raise the exception below when building iOS.
(I use Unity 2017.2 b6 and Xcode Version 9.0 beta (9M136h))

I look forward to hear answers.
Thank you.

========
Exception: The given GUID 033966F41B18B03000ECD701 does not refer to a known build section
UnityEditor.iOS.Xcode.PBXProjectData.BuildSectionAny (System.String sectionGuid) (at /Users/builduser/buildslave/unity/build/External/XcodeAPI/Xcode/PBXProjectData.cs:227)
UnityEditor.iOS.Xcode.PBXProject.BuildSectionAny (System.String sectionGuid) (at /Users/builduser/buildslave/unity/build/External/XcodeAPI/Xcode/PBXProject.cs:76)
UnityEditor.iOS.Xcode.PBXProject.GetCopyFilesBuildPhaseByTarget (System.String targetGuid, System.String name, System.String dstPath, System.String subfolderSpec) (at /Users/builduser/buildslave/unity/build/External/XcodeAPI/Xcode/PBXProject.cs:1072)
UnityEditor.iOS.Xcode.PBXProject.AddCopyFilesBuildPhase (System.String targetGuid, System.String name, System.String dstPath, System.String subfolderSpec) (at /Users/builduser/buildslave/unity/build/External/XcodeAPI/Xcode/PBXProject.cs:1102)
UnityEditor.iOS.Xcode.Extensions.PBXProjectExtensions.AddFileToEmbedFrameworks (UnityEditor.iOS.Xcode.PBXProject proj, System.String targetGuid, System.String fileGuid) (at /Users/builduser/buildslave/unity/build/External/XcodeAPI/Xcode/PBXProjectExtensions.cs:399)
NaverSpeech.Plugins.iOS.NaverSpeech.Editor.NaverSpeechBuildPostprocessor.OnPostprocessBuildIos (System.String pathToBuiltProject) (at Assets/NaverSpeech/Plugins/iOS/NaverSpeech/Editor/NaverSpeechBuildPostprocessor.cs:58)
NaverSpeech.Plugins.iOS.NaverSpeech.Editor.NaverSpeechBuildPostprocessor.OnPostprocessBuild (BuildTarget target, System.String pathToBuiltProject) (at Assets/NaverSpeech/Plugins/iOS/NaverSpeech/Editor/NaverSpeechBuildPostprocessor.cs:17)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[ ] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.Build.BuildPipelineInterfaces+AttributeCallbackWrapper.OnPostprocessBuild (BuildTarget target, System.String path) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:86)
UnityEditor.Build.BuildPipelineInterfaces.OnBuildPostProcess (BuildTarget platform, System.String path, Boolean strict) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:324)

UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

Hi, could you submit a bug report with reproduction project attached? I'd like to look into precise circumstances causing this bug. Thanks!

I submitted the report. (Case 942488)
Thank you.