[msbuild] Don't generate archived-expanded-entitlements.xcent for catalyst apps

This commit is contained in:
Rolf Bjarne Kvinge 2020-11-18 13:44:12 +01:00
Родитель 0d2e480b0c
Коммит 65e59b29da
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -386,6 +386,11 @@ namespace Xamarin.MacDev.Tasks
bool SaveArchivedExpandedEntitlements (PDictionary archived)
{
if (Platform == Utils.ApplePlatform.MacCatalyst) {
// I'm not sure if we need this in catalyst or not, but skip it until it's proven we actually need it.
return true;
}
var path = Path.Combine (EntitlementBundlePath, "archived-expanded-entitlements.xcent");
if (File.Exists (path)) {

Просмотреть файл

@ -43,6 +43,7 @@ namespace Xamarin.iOS.Tasks
task.ProvisioningProfile = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location), "Resources", "profile.mobileprovision");
task.SdkPlatform = "iPhoneOS";
task.SdkVersion = "6.1";
task.TargetFrameworkMoniker = "Xamarin.iOS,v1.0";
compiledEntitlements = task.CompiledEntitlements.ItemSpec;
}