diff --git a/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/DetectHotRestartSigningIdentity.cs b/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/DetectHotRestartSigningIdentity.cs index 27283906f1..a6d4837fbe 100644 --- a/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/DetectHotRestartSigningIdentity.cs +++ b/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/DetectHotRestartSigningIdentity.cs @@ -103,7 +103,7 @@ namespace Xamarin.iOS.HotRestart.Tasks { identity.AppId = ConstructValidAppId (identity.Profile, identity.BundleId); - if (identity.AppId is not null) { + if (identity.AppId is null) { Log.LogError ("Project bundle identifier '{0}' does not match specified provisioning profile '{1}'. Please enable Automatic Provisioning from the iOS Bundle Signing page.", identity.BundleId, ProvisioningProfile); return false; }