Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

I can not upload my app on Apple Store because of Xamarin.google.ios.Signin Nuget #410

Open
Luismimultimedia opened this issue May 19, 2020 · 2 comments

Comments

@Luismimultimedia
Copy link

Hello,

Right now im facing a problem with the new politics of Apple Store with the UIWebView that the library Xamarin.google.ios.Signin i using, i can not upload my app into Apple Store because it use the deprecated UIWebView, the version that im using is 4.4.0.

i noticed that the problem was the library because i used the grep command in my .ipa to know what was happening, i try to update Xamarin.google.ios.Signin in to the lastest but when i try compile my app show me the next error:

/Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/MTOUCH: Error MT2002: Failed to resolve "Google.SignIn.ISignInUIDelegate" reference from "Google.SignIn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" (MT2002) (Ventazer.iOS)

So i tryed to desinstall the nuget but when i clean my project and build it, it show me 3 new errors that are:

/Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/error MT5209: Error: file not found: /Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/obj/iPhoneSimulator/Debug/device-builds/iphone 11-13.3/mtouch-cache/GoogleSignIn (Ventazer.iOS) Native linking

/Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/clang: Error: linker command failed with exit code 1 (use -v to see invocation) (Ventazer.iOS)

/Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/MTOUCH: Error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -ObjC -ObjC -lc++ -lz -ObjC -lc++ -lsqlite3 -lz (MT5201) (Ventazer.iOS)

i really dont know what to do, because if i update it, it doesnt work and if i desinstall it still not working, i would be so glad if someone can help me!

@stanleywailers
Copy link

stanleywailers commented May 20, 2020

@Luismimultimedia I had the same problem
Apple does not accept because that version of Xamarin.google.ios.Signin has UIWEBVIEW deprecated
I Updated Xamarin.google.ios.Signin to latest version 5.0.2.1 and xamarin.google.ios.core too 3.1.0.4 when I did that I got the following error
/Users/alejandro/Desktop/Ventazer/App/02_CodigoFuente/Ventazer.iOS/MTOUCH: Error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -ObjC -ObjC -lc++ -lz -ObjC -lc++ -lsqlite3 -lz (MT5201) (Ventazer.iOS)
then I tried to add Mtouch argument that recomend me but does not work
then I Update all my firebase packages to latest version works for me(compile) and apple accept my release on Testfligth

but my google sigin implementation crash with this line SignIn.SharedInstance.SignInUser();
:(
this is the exception
Unhandled managed exception: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: presentingViewController must be set.

@Luismimultimedia
Copy link
Author

@stanleywailers Thank you for your reply, unfortunately i still facing the issue, i try to do what you did but i didnt get good results.
im working with a macbook pro 2013 and has Catalina 10.15.14, XCode 11.3.1 so at the moment i cant update xcode to the last version, i have read that updating xcode and other stuff could helps the library.
My characteristics of the visual studio are:

  • Visual Studio Community 2019 for Mac Version 8.5.6 (build 11)
  • Xamarin.Mac Version: 6.16.0.13
  • Xamarin.iOS Version: 13.14.1.24
    I really dont know what to do :( because im stuck with this, i cant uninstall the nuget because it breaks my project and if i update it cant resolve Google.SignIn.ISignInUIDelegate.
    i hope fix this issue soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants