Reply To: [iOS] Unity 2019.3.0b11 – PBXProject.GetUnityTargetName() is deprecated.

Welcome! Forums Unity Plugins Mobile Speech Recognizer [iOS] Unity 2019.3.0b11 – PBXProject.GetUnityTargetName() is deprecated. Reply To: [iOS] Unity 2019.3.0b11 – PBXProject.GetUnityTargetName() is deprecated.

#1864
Senthamizh
Participant

Hi,
I’ve added the Speech framework in Xcode as you said and I still get the same error.

I’m guessing the problem is with the
"KKAddSpeechFrameworkOniOS" script.

I’ve tried using the

PBXProject.GetUnityMainTargetGuid();

&

PBXProject.GetUnityFrameworkTargetGuid();

instead of

PBXProject.GetUnityTargetName

at

string targetName =

and found by logging that

string projectTarget = proj.TargetGuidByName

returns Null value for both. But Build success with exception error. (In Unity only).

Removing the entire asset files and tried. Unity and Xcode builds without any issue.

Using the plugin is causing the issue. You probably need to update the asset maybe?

my current setup.

Unity 2019.3.0b11
Xcode Version 11.2.1 (11B500)