From 4fe4ff6d0633c2b092108cd99266fc2faa56068a Mon Sep 17 00:00:00 2001
From: allez <305670599@qq.com>
Date: 星期三, 31 三月 2021 17:39:19 +0800
Subject: [PATCH] gtios sdk

---
 Assets/Editor/XCodeProjectMod.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Assets/Editor/XCodeProjectMod.cs b/Assets/Editor/XCodeProjectMod.cs
index 37f1095..f8b5ea8 100644
--- a/Assets/Editor/XCodeProjectMod.cs
+++ b/Assets/Editor/XCodeProjectMod.cs
@@ -110,10 +110,11 @@
         rootDict.SetString("NSPhotoLibraryAddUsageDescription", "浣跨敤鐩稿唽鏉冮檺,鐢ㄤ互瀛樺偍鎴睆鐨勮处鍙蜂俊鎭�,浠ラ槻蹇樿璐﹀彿瀵嗙爜");
 
         //google login
-        PlistElementDict cfDict = rootDict.CreateDict("CFBundleURLTypes");
-        cfDict.SetString("CFBundleTypeRole", "Editor");
-        cfDict.SetString("CFBundleURLName", "");
-        var cfArray = cfDict.CreateArray("CFBundleURLSchemes");
+        var urlTypes = rootDict.CreateArray("CFBundleURLTypes");
+        var dic = urlTypes.AddDict();
+        dic.SetString("CFBundleTypeRole", "Editor");
+        dic.SetString("CFBundleURLName", "");
+        var cfArray = dic.CreateArray("CFBundleURLSchemes");
         cfArray.AddString("com.googleusercontent.apps.468442318367-ocoqrm0kei0gpkrnnq1ql628v4g4dbqd");
 
         //facebook

--
Gitblit v1.8.0