fix(compile): fix apple sign in intercept compile
parent
6f2c697abb
commit
483fcf9a26
|
@ -59,7 +59,7 @@ namespace TapTap.Bootstrap.Editor
|
||||||
var appleSignInEnableKey = "com.apple.developer.applesignin";
|
var appleSignInEnableKey = "com.apple.developer.applesignin";
|
||||||
if (string.IsNullOrEmpty(appleSignInEnable) || appleSignInEnable.Equals("false"))
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ namespace TapTap.Bootstrap.Editor
|
||||||
var tempEntitlements = new PlistDocument();
|
var tempEntitlements = new PlistDocument();
|
||||||
if (!((tempEntitlements.root[appleSignInEnableKey] = new PlistElementArray()) is PlistElementArray arrSigninWithApple))
|
if (!((tempEntitlements.root[appleSignInEnableKey] = new PlistElementArray()) is PlistElementArray arrSigninWithApple))
|
||||||
{
|
{
|
||||||
Debug.LogError($"TapSDK can't find {appleSignInEnableKey}.");
|
Debug.LogWarning($"TapSDK can't find {appleSignInEnableKey}.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
arrSigninWithApple.values.Add(new PlistElementString("Default"));
|
arrSigninWithApple.values.Add(new PlistElementString("Default"));
|
||||||
|
|
Loading…
Reference in New Issue