feat(*): Bootstrap remove unuse interface , remove native library , iOS compilation script migration to login

xiaoyi 2021-07-06 15:53:36 +08:00
parent a04d6b84a0
commit 0132660406
1 changed files with 10 additions and 8 deletions

View File

@ -45,7 +45,8 @@ namespace TapTap.Common.Editor
return string.IsNullOrEmpty(target); return string.IsNullOrEmpty(target);
} }
public static bool HandlerIOSSetting(string path, string appDataPath, string resourceName, string modulePackageName, public static bool HandlerIOSSetting(string path, string appDataPath, string resourceName,
string modulePackageName,
string moduleName, string[] bundleNames, string target, string projPath, PBXProject proj) string moduleName, string[] bundleNames, string target, string projPath, PBXProject proj)
{ {
var resourcePath = Path.Combine(path, resourceName); var resourcePath = Path.Combine(path, resourceName);
@ -120,8 +121,8 @@ namespace TapTap.Common.Editor
plist.ReadFromString(File.ReadAllText(plistPath)); plist.ReadFromString(File.ReadAllText(plistPath));
var rootDic = plist.root; var rootDic = plist.root;
var items = new List<string> var items = new List<string>
{ {
"tapsdk", "tapsdk",
"tapiosdk", "tapiosdk",
}; };
@ -147,9 +148,10 @@ namespace TapTap.Common.Editor
} }
else else
{ {
rootDic.SetString(item.Key.ToString(), item.Value.ToString()); rootDic.SetString(item.Key, item.Value.ToString());
} }
} }
//添加url //添加url
var dict = plist.root.AsDict(); var dict = plist.root.AsDict();
var array = dict.CreateArray("CFBundleURLTypes"); var array = dict.CreateArray("CFBundleURLTypes");