| | |
| | | _p.Start(); |
| | | _p.WaitForExit(); |
| | | } |
| | | #endif |
| | | |
| | | private static void HandleMrSDK(PBXProject project) |
| | | { |
| | | string _mrPlistPath = Application.dataPath + "/Plugins/iOS/MyMRSDK/MRSDKInfo.plist"; |
| | | if (File.Exists(_mrPlistPath)) |
| | | { |
| | | string _targetGUID = project.TargetGuidByName(UnityEditor.iOS.Xcode.PBXProject.GetUnityTargetName()); |
| | | string _targetGUID = project.TargetGuidByName(PBXProject.GetUnityTargetName()); |
| | | string _fileGUID = project.AddFile(_mrPlistPath, "Frameworks/Plugins/iOS/MyMRSDK/MRSDKInfo.plist"); |
| | | project.AddFileToBuild(_targetGUID, _fileGUID); |
| | | } |
| | | } |
| | | #endif |
| | | |
| | | } |