Skip to content

Commit

Permalink
Merge pull request #9 from UniToolsTeam/bugfix/platform-errors
Browse files Browse the repository at this point in the history
Misc: Fixed ios platform errors
  • Loading branch information
Rinal authored Mar 22, 2022
2 parents 7a0f4f0 + d921f66 commit 563c9bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Editor/Platforms/iOS/Models/ProvisioningProfile.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if UNITY_IOS
using System.IO;
using System.Text.RegularExpressions;
#if UNITY_IOS
using UnityEditor.iOS.Xcode;
#endif

Expand Down Expand Up @@ -36,7 +36,7 @@ public static ProvisioningProfile Load(string pathToFile)

return profile;
#else
throw new Exception($"{nameof(ProvisioningProfile)}: unsupported platform.");
throw new System.Exception($"{nameof(ProvisioningProfile)}: unsupported platform.");
#endif
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.IO;
#if UNITY_IOS
using UnityEditor.iOS.Xcode;
#endif
using System.IO;
using UnityEngine;

namespace UniTools.Build.iOS
Expand All @@ -18,7 +18,7 @@ protected string ExportOptionsPath(string root)

return Path.Combine(root, fileName);
#if !UNITY_IOS
throw new Exception($"{nameof(DistributeIosApplicationStep)}: unsupported platform for {m_bundleIdentifier}, {m_uploadBitcode}, {m_uploadSymbols}");
throw new System.Exception($"{nameof(DistributeIosApplicationStep)}: unsupported platform for {m_bundleIdentifier}, {m_uploadBitcode}, {m_uploadSymbols}");
#endif
}

Expand Down

0 comments on commit 563c9bc

Please sign in to comment.