Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit fbf9f30

Browse files
authored
Port Touch.Unit to the Unified profile, and remove the NUnitLite tests from the monotouch.tests project. (#62)
* The NUnitLite tests don't compile, so just remove them. This makes the solution build successfully.
1 parent dfbf8cb commit fbf9f30

6 files changed

Lines changed: 10 additions & 517 deletions

File tree

AppDelegate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
//
2020

2121
using System.Reflection;
22-
using MonoTouch.Foundation;
23-
using MonoTouch.UIKit;
22+
using Foundation;
23+
using UIKit;
2424
using MonoTouch.NUnit.UI;
2525

2626
namespace MonoTouch.NUnit {

Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleIdentifier</key>
88
<string>com.xamarin.touch-unit</string>
99
<key>MinimumOSVersion</key>
10-
<string>4.0</string>
10+
<string>8.0</string>
1111
<key>UIDeviceFamily</key>
1212
<array>
1313
<string>1</string>

Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
using System;
1818
using System.Collections.Generic;
1919
using System.Linq;
20-
using MonoTouch.Foundation;
21-
using MonoTouch.UIKit;
20+
using Foundation;
21+
using UIKit;
2222

2323
namespace touchunit
2424
{

Touch.Unit.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<MtouchDebug>true</MtouchDebug>
23-
<MtouchArch>ARM64</MtouchArch>
23+
<MtouchArch>x86_64</MtouchArch>
2424
<MtouchLink>None</MtouchLink>
2525
</PropertyGroup>
2626
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
@@ -30,6 +30,7 @@
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
3232
<MtouchLink>None</MtouchLink>
33+
<MtouchArch>x86_64</MtouchArch>
3334
</PropertyGroup>
3435
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
3536
<DebugSymbols>true</DebugSymbols>
@@ -41,6 +42,7 @@
4142
<WarningLevel>4</WarningLevel>
4243
<MtouchDebug>true</MtouchDebug>
4344
<CodesignKey>iPhone Developer</CodesignKey>
45+
<MtouchArch>ARM64</MtouchArch>
4446
</PropertyGroup>
4547
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
4648
<DebugType>none</DebugType>
@@ -49,6 +51,7 @@
4951
<ErrorReport>prompt</ErrorReport>
5052
<WarningLevel>4</WarningLevel>
5153
<CodesignKey>iPhone Developer</CodesignKey>
54+
<MtouchArch>ARM64</MtouchArch>
5255
</PropertyGroup>
5356
<ItemGroup>
5457
<Reference Include="System" />

Touch.Unit.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Global
3131
{20E71273-1306-477D-964D-A7FAFE20196D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
3232
{20E71273-1306-477D-964D-A7FAFE20196D}.Debug|iPhone.Build.0 = Debug|Any CPU
3333
{20E71273-1306-477D-964D-A7FAFE20196D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
34-
{20E71273-1306-477D-964D-A7FAFE20196D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
3534
{20E71273-1306-477D-964D-A7FAFE20196D}.Release|iPhone.ActiveCfg = Release|Any CPU
3635
{20E71273-1306-477D-964D-A7FAFE20196D}.Release|iPhone.Build.0 = Release|Any CPU
3736
{20E71273-1306-477D-964D-A7FAFE20196D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
3837
{20E71273-1306-477D-964D-A7FAFE20196D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
38+
{20E71273-1306-477D-964D-A7FAFE20196D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
3939
{5DDFD948-5455-40EB-BD67-211EA61F6472}.AdHoc|iPhone.ActiveCfg = Debug|iPhone
4040
{5DDFD948-5455-40EB-BD67-211EA61F6472}.AdHoc|iPhone.Build.0 = Debug|iPhone
4141
{5DDFD948-5455-40EB-BD67-211EA61F6472}.AdHoc|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator

0 commit comments

Comments
 (0)