| | |
| | | _dict.SetBoolean("NSExceptionAllowsInsecureHTTPLoads", true); |
| | | |
| | | _rootDict.SetString("NSMicrophoneUsageDescription", "使用麦克风权限"); |
| | | _rootDict.SetString("NSPhotoLibraryAddUsageDescription", "使用相册权限"); |
| | | _rootDict.SetString("NSPhotoLibraryAddUsageDescription", "使用相册权限,用以存储截屏的账号信息,以防忘记账号密码"); |
| | | |
| | | _rootDict.SetString("YLChannelId", "1000"); |
| | | _rootDict.SetString("YLPlatformId", "1000"); |
| | |
| | | |
| | | public static void BuildIOSProject_Replace() |
| | | { |
| | | string _buildPath = GetBuildPath(); |
| | | UnityEngine.Debug.Log(_buildPath); |
| | | if (string.IsNullOrEmpty(_buildPath)) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | s_IsAppend = false; |
| | | |
| | | BuildPipeline.BuildPlayer(ClientPackage.baseLevels, _buildPath, BuildTarget.iOS, BuildOptions.Il2CPP); |
| | | BuildPipeline.BuildPlayer(ClientPackage.baseLevels, GetBuildPath(), BuildTarget.iOS, BuildOptions.Il2CPP); |
| | | } |
| | | |
| | | #if UNITY_IOS |