Library not found -lPods-Unity-iPhone

I need remove libPods-Unity-iPhone.a into link binary
I use RemoveFileFromBuild, RemoveFrameworkFromProject, but it’s non remove
How can I remove it or how do I prevent it from appearing in pbxproj?
Unity5.6.2f1
An example of how it does not work:

string projPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj";

PBXProject proj = new PBXProject();
proj.ReadFromString(File.ReadAllText(projPath));

string target = proj.TargetGuidByName("Unity-iPhone");

proj.SetBuildProperty(target, "ENABLE_BITCODE", "NO");
proj.SetBuildProperty(target, "CLANG_ENABLE_MODULES", "YES");
proj.RemoveFrameworkFromProject (target, "libPods-Unity-iPhone.a");

File.WriteAllText(projPath, proj.WriteToString());

SetBuildProperty is worked

Hand build:
If Unity 5.6.1p4, libPods-Unity-iPhone not see into Link Binary With Libraries
If Unity 5.6.2f1, libPods-Unity-iPhone exist.
Cloud Build:
Unity 5.6.1p4 or 5.6.2f1 - error:
[xcode] ld: library not found for -lPods-Unity-iPhone
[xcode] clang: error: linker command failed with exit code 1 (use -v to see invocation)

This happen in UNITY 2017.1.1f1 too, and I have to remove it manually after exported.
Thank guys , this fix still work !

I fix this problem. Need remove cocoapods.
Assets/PlayServicesResolver/Editor/Google.IOSResolver.dll