Skip to content

Commit 3a75b1e

Browse files
authored
Add net9.0-android and net9.0-ios as supported targets (#60)
1 parent ae77954 commit 3a75b1e

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

PowerSync/PowerSync.Common/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PowerSync.Common Changelog
22

3+
## 0.1.2-dev.1
4+
5+
- Fix `net9.0-android` and `net9.0-ios` not being in TargetFrameworks.
6+
37
## 0.1.1
48

59
- Support Windows ARM.

PowerSync/PowerSync.Common/PowerSync.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios;net8.0-android</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios;net8.0-android;net9.0-ios;net9.0-android</TargetFrameworks>
55
<LangVersion>12</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

PowerSync/PowerSync.Maui/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PowerSync.Maui Changelog
22

3+
## 0.1.2-dev.1
4+
5+
- Fix `net9.0-android` and `net9.0-ios` not being in TargetFrameworks.
6+
37
## 0.1.1
48

59
- Upstream PowerSync.Common version bump (See Powersync.Common changelog 0.1.1 for more information)

PowerSync/PowerSync.Maui/PowerSync.Maui.csproj

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios;net8.0-android</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios;net8.0-android;net9.0-ios;net9.0-android</TargetFrameworks>
55
<LangVersion>12</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
@@ -20,12 +20,11 @@
2020
<NoWarn>NU5100</NoWarn>
2121
<PackageReadmeFile>README.md</PackageReadmeFile>
2222
<IsBindingProject>true</IsBindingProject>
23-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2423
<IncludeBuildOutput>true</IncludeBuildOutput>
2524
</PropertyGroup>
2625

2726
<ItemGroup>
28-
<ProjectReference Include="..\PowerSync.Common\PowerSync.Common.csproj" />
27+
<ProjectReference Include="..\PowerSync.Common\PowerSync.Common.csproj" SetTargetFramework="TargetFramework=$(TargetFramework)" />
2928
</ItemGroup>
3029

3130
<ItemGroup>
@@ -45,4 +44,15 @@
4544
<SmartLink>False</SmartLink>
4645
</NativeReference>
4746
</ItemGroup>
47+
48+
<!-- Prevent e_sqlite3.a from being frozen into the binding manifest. It is provided by
49+
SQLitePCLRaw.lib.e_sqlite3.ios with separate device/simulator variants, selected at
50+
consuming-project build time via buildTransitive targets. Capturing it here would bake
51+
in the device-only variant and break simulator builds in consuming projects. -->
52+
<Target Name="_RemoveE_Sqlite3FromBindingManifest" BeforeTargets="_SanitizeNativeReferences" Condition="'$(IsBindingProject)' == 'true'">
53+
<ItemGroup>
54+
<NativeReference Remove="@(NativeReference)" Condition="'%(Filename)' == 'e_sqlite3'" />
55+
</ItemGroup>
56+
</Target>
57+
4858
</Project>

0 commit comments

Comments
 (0)