fix(compile): fix apple sign in intercept compile

2.0.0
xiaoyi 2021-04-09 19:05:17 +08:00
parent 6f2c697abb
commit 483fcf9a26
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ namespace TapTap.Bootstrap.Editor
var appleSignInEnableKey = "com.apple.developer.applesignin";
if (string.IsNullOrEmpty(appleSignInEnable) || appleSignInEnable.Equals("false"))
{
Debug.LogError("TapSDK can't open Apple SignIn in XCode, Please Check Info.plist.");
Debug.LogWarning("TapSDK can't open Apple SignIn in XCode, Please Check Info.plist.");
return;
}
@ -67,7 +67,7 @@ namespace TapTap.Bootstrap.Editor
var tempEntitlements = new PlistDocument();
if (!((tempEntitlements.root[appleSignInEnableKey] = new PlistElementArray()) is PlistElementArray arrSigninWithApple))
{
Debug.LogError($"TapSDK can't find {appleSignInEnableKey}.");
Debug.LogWarning($"TapSDK can't find {appleSignInEnableKey}.");
return;
}
arrSigninWithApple.values.Add(new PlistElementString("Default"));