gree / unity-webview

zlib License
2.26k stars 688 forks source link

Error Message regarding "GetUnityFrameworkTargetGuid" #468

Open sravyakalle19 opened 4 years ago

sravyakalle19 commented 4 years ago

In this file - Assets\Plugins\Editor\UnityWebViewPostprocessBuild.cs @ line (86,34):

I am getting an error saying.. 'PBXProject' does not contain a definition for 'GetUnityFrameworkTargetGuid' and no accessible extension method 'GetUnityFrameworkTargetGuid' accepting a first argument of type 'PBXProject' could be found (are you missing a using directive or an assembly reference?)

I checked the unity documentation nothing with that class exists so what's the solution for this ???

https://docs.unity3d.com/ScriptReference/iOS.Xcode.PBXProject.html

thank you

KojiNakamaru commented 4 years ago

The latest code https://github.com/gree/unity-webview/blob/bdbbff36652891a5d1a3d567bae051093ed89885/plugins/Editor/UnityWebViewPostprocessBuild.cs#L86 doesn't utilize GetUnityFrameworkTargetGuid, which was suggested for 2019.3.0 b6 in #462 . Did you modify the code?