[msbuild] Don't generate archived-expanded-entitlements.xcent for catalyst apps
This commit is contained in:
Родитель
0d2e480b0c
Коммит
65e59b29da
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче