line / line-sdk-unity

Provides a modern way of implementing LINE APIs in Unity games, for iOS and Android.
https://developers.line.biz/
Apache License 2.0
117 stars 24 forks source link

error CS0619: 'PBXProject.GetUnityTargetName()' is obsolete #19

Closed toduq closed 4 years ago

toduq commented 4 years ago

Is it a security issue?

No

What did you do?

I am not an actual reporter, just escalate this issue. https://www.line-community.me/question/5eb4e142851f7402cd9712aa

PBXProject.GetUnityTargetName() seems to be already removed, https://docs.unity3d.com/ScriptReference/iOS.Xcode.PBXProject.GetUnityTargetName.html

but I found 2 usage in this project. https://github.com/line/line-sdk-unity/search?q=GetUnityTargetName&unscoped_q=GetUnityTargetName

What did you expect?

The obsoleted method call will be removed.

What happened actually?

PBXProject.GetUnityTargetName() is used, and it caused an error.

Your environment?

Ref : https://www.line-community.me/question/5eb4e142851f7402cd9712aa

Sample project

It would be appreciated if you can provide a link to or update a sample project that we can download and reproduce the issue.

onevcat commented 4 years ago

Thanks for reporting this. It is too back that this method is unavailable from Unity 2019.3. We will fix it soon.

onevcat commented 4 years ago

I am going to release a patch for it, so I am closing this issue now.

toduq commented 4 years ago

Thank you so much to quickly fix this issue! :tada:

onevcat commented 4 years ago

Version 1.1.2 was released to fix it.