Skip to content

Commit 95bb828

Browse files
committed
[tests] Make sure the .NET version of the independent-binding-projects test have a unique bundle identifier.
Otherwise there could be a problem when installing a test app into the simulator if there's already an existing app there with the same bundle identifer, because that doesn't remove existing files, and if there are existing files in the bundle, the app might end up crashing (in particular there may be files in a .monotouch-32/64 subdirectory which are not removed, and those take precedence when looking for assemblies, eventually causing a conflict).
1 parent e97d27c commit 95bb828

8 files changed

Lines changed: 90 additions & 12 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDisplayName</key>
6+
<string>InterdependentBindingProject</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.xamarin.dotnet.interdependentbindingprojects</string>
9+
<key>CFBundleName</key>
10+
<string>InterdependentBindingProject</string>
11+
<key>MinimumOSVersion</key>
12+
<string>7.0</string>
13+
<key>UIDeviceFamily</key>
14+
<array>
15+
<integer>1</integer>
16+
<integer>2</integer>
17+
</array>
18+
</dict>
19+
</plist>

tests/interdependent-binding-projects/dotnet/iOS/interdependent-binding-projects.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27-
<None Include="$(RootTestsDirectory)\interdependent-binding-projects\Info.plist">
28-
<LogicalName>Info.plist</LogicalName>
29-
</None>
27+
<None Include="Info.plist" />
3028
<Compile Include="$(RootTestsDirectory)\interdependent-binding-projects\Main.cs" />
3129
</ItemGroup>
3230
</Project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDisplayName</key>
6+
<string>InterdependentBindingProject</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.xamarin.dotnet.interdependentbindingprojects</string>
9+
<key>CFBundleName</key>
10+
<string>CFBundleIdentifier</string>
11+
<key>LSMinimumSystemVersion</key>
12+
<string>10.9</string>
13+
</dict>
14+
</plist>

tests/interdependent-binding-projects/dotnet/macOS/interdependent-binding-projects.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<None Include="$(RootTestsDirectory)\interdependent-binding-projects\Info.plist">
24-
<LogicalName>Info.plist</LogicalName>
25-
</None>
23+
<None Include="Info.plist" />
2624
<Compile Include="$(RootTestsDirectory)\interdependent-binding-projects\Main.cs" />
2725
</ItemGroup>
2826
</Project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]>
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDisplayName</key>
6+
<string>InterdependentBindingProject</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.xamarin.dotnet.interdependentbindingprojects</string>
9+
<key>CFBundleName</key>
10+
<string>InterdependentBindingProject</string>
11+
<key>MinimumOSVersion</key>
12+
<string>9.0</string>
13+
<key>UIDeviceFamily</key>
14+
<array>
15+
<integer>3</integer>
16+
</array>
17+
</dict>
18+
</plist>

tests/interdependent-binding-projects/dotnet/tvOS/interdependent-binding-projects.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27-
<None Include="$(RootTestsDirectory)\interdependent-binding-projects\Info.plist">
28-
<LogicalName>Info.plist</LogicalName>
29-
</None>
27+
<None Include="Info.plist" />
3028
<Compile Include="$(RootTestsDirectory)\interdependent-binding-projects\Main.cs" />
3129
</ItemGroup>
3230
</Project>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]>
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDisplayName</key>
6+
<string>InterdependentBindingProject</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.xamarin.dotnet.interdependentbindingprojects_watch.watchkitapp.watchkitextension</string>
9+
<key>CFBundleName</key>
10+
<string>InterdependentBindingProject</string>
11+
<key>MinimumOSVersion</key>
12+
<string>2.0</string>
13+
<key>UIDeviceFamily</key>
14+
<array>
15+
<integer>4</integer>
16+
</array>
17+
<key>RemoteInterfacePrincipleClass</key>
18+
<string>InterfaceController</string>
19+
<key>NSExtension</key>
20+
<dict>
21+
<key>NSExtensionAttributes</key>
22+
<dict>
23+
<key>WKAppBundleIdentifier</key>
24+
<string>com.xamarin.dotnet.interdependentbindingprojects_watch.watchkitapp</string>
25+
</dict>
26+
<key>NSExtensionPointIdentifier</key>
27+
<string>com.apple.watchkit</string>
28+
</dict>
29+
<key>NSAppTransportSecurity</key>
30+
<dict>
31+
<key>NSAllowsArbitraryLoads</key>
32+
<true />
33+
</dict>
34+
</dict>
35+
</plist>

tests/interdependent-binding-projects/dotnet/watchOS/interdependent-binding-projects.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<None Include="$(RootTestsDirectory)\interdependent-binding-projects\Info.plist">
24-
<LogicalName>Info.plist</LogicalName>
25-
</None>
23+
<None Include="Info.plist" />
2624
<Compile Include="$(RootTestsDirectory)\interdependent-binding-projects\Main.cs" />
2725
</ItemGroup>
2826
</Project>

0 commit comments

Comments
 (0)