Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created July 16, 2019 08:31
Show Gist options
  • Save rolfbjarne/a186c1297108f29b3430f99d441e566b to your computer and use it in GitHub Desktop.
Save rolfbjarne/a186c1297108f29b3430f99d441e566b to your computer and use it in GitHub Desktop.
commit 6908b3c50ba2e848d8699a5bad53f7d92c740ae7
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date: Fri Jul 12 18:41:10 2019 +0200
Add macOS configuration.
diff --git a/catalysttestapp.csproj b/catalysttestapp.csproj
index 51bb068..04c9a33 100644
--- a/catalysttestapp.csproj
+++ b/catalysttestapp.csproj
@@ -58,6 +58,31 @@
<MtouchArch>ARM64</MtouchArch>
<CodesignKey>iPhone Developer</CodesignKey>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|macOS' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\macOS\Debug</OutputPath>
+ <DefineConstants>DEBUG</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <MtouchArch>x86_64</MtouchArch>
+ <MtouchPlatform>macOS</MtouchPlatform>
+ <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
+ <CodesignKey>Apple Development</CodesignKey>
+ <MtouchDebug>true</MtouchDebug>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|macOS' ">
+ <DebugType>none</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\macOS\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
+ <MtouchArch>x86_64</MtouchArch>
+ <MtouchPlatform>macOS</MtouchPlatform>
+ <CodesignKey>Apple Development</CodesignKey>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
diff --git a/catalysttestapp.sln b/catalysttestapp.sln
index a9885bd..d2587d4 100644
--- a/catalysttestapp.sln
+++ b/catalysttestapp.sln
@@ -9,6 +9,8 @@ Global
Release|iPhoneSimulator = Release|iPhoneSimulator
Debug|iPhone = Debug|iPhone
Release|iPhone = Release|iPhone
+ Debug|macOS = Debug|macOS
+ Release|macOS = Release|macOS
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
@@ -19,5 +21,9 @@ Global
{C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Debug|iPhone.Build.0 = Debug|iPhone
{C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Release|iPhone.ActiveCfg = Release|iPhone
{C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Release|iPhone.Build.0 = Release|iPhone
+ {C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Debug|macOS.ActiveCfg = Debug|macOS
+ {C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Debug|macOS.Build.0 = Debug|macOS
+ {C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Release|macOS.ActiveCfg = Release|macOS
+ {C1EC4AB2-EC3E-4ECC-986E-6BA3EBC7C0C0}.Release|macOS.Build.0 = Release|macOS
EndGlobalSection
EndGlobal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment