Skip to content

Commit

Permalink
fix/Do not embed and sign native libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
michaela-dev committed Apr 22, 2022
1 parent 78d3412 commit 942d614
Show file tree
Hide file tree
Showing 29 changed files with 404 additions and 949 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<RootNamespace>ExamplePushContentExtension</RootNamespace>
<AssemblyName>ExamplePushContentExtension</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<ReleaseVersion>1.0.1</ReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -38,15 +39,16 @@
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchUseLlvm>true</MtouchUseLlvm>
<CodesignKey>iPhone Distribution: Panaxeo, s.r.o. (UVDCL7YSZS)</CodesignKey>
<MtouchFloat32>true</MtouchFloat32>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchLink>SdkOnly</MtouchLink>
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Exponea Xamarin Content Ext1</CodesignProvision>
<CodesignExtraArgs>--deep</CodesignExtraArgs>
<MtouchUseLlvm>true</MtouchUseLlvm>
<CodesignProvision>Exponea Xamarin Content Distribution</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -71,7 +73,7 @@
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>Apple Development: Michaela Okruhlicová (Z88SMR689C)</CodesignKey>
<DeviceSpecificBuild>true</DeviceSpecificBuild>
<MtouchDebug>true</MtouchDebug>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
Expand All @@ -82,8 +84,8 @@
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Exponea Xamarin Content Ext1</CodesignProvision>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignProvision>Exponea Xamarin Example Content Development</CodesignProvision>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -127,7 +129,7 @@
<HintPath>..\packages\System.Memory.4.5.4\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="NativeLibrary">
<HintPath>..\packages\ExponeaSDK.iOS.Notifications.2.11.3\lib\xamarinios10\NativeLibrary.dll</HintPath>
<HintPath>..\packages\ExponeaSDK.iOS.Notifications.2.11.3.1\lib\xamarinios10\NativeLibrary.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions example/ExamplePushContentExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>1.0.1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
Expand All @@ -38,5 +36,7 @@
</dict>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleVersion</key>
<string>4</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/ExamplePushContentExtension/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExponeaSDK.iOS.Notifications" version="2.11.3" targetFramework="xamarinios10" />
<package id="ExponeaSDK.iOS.Notifications" version="2.11.3.1" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="xamarinios10" />
<package id="System.Buffers" version="4.5.1" targetFramework="xamarinios10" />
<package id="System.Memory" version="4.5.4" targetFramework="xamarinios10" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<RootNamespace>ExamplePushServiceExtension</RootNamespace>
<AssemblyName>ExamplePushServiceExtension</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<ReleaseVersion>1.0.1</ReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -38,15 +39,16 @@
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>iPhone Distribution: Panaxeo, s.r.o. (UVDCL7YSZS)</CodesignKey>
<MtouchUseLlvm>true</MtouchUseLlvm>
<MtouchFloat32>true</MtouchFloat32>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchLink>SdkOnly</MtouchLink>
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Exponea Xamarin Service ext</CodesignProvision>
<CodesignExtraArgs>--deep</CodesignExtraArgs>
<CodesignProvision>Exponea Examarin Service Distribution</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>pdbonly</DebugType>
Expand Down Expand Up @@ -82,8 +84,8 @@
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Exponea Xamarin Service ext</CodesignProvision>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignProvision>Exponea Xamarin Example Service Development</CodesignProvision>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -127,7 +129,7 @@
<HintPath>..\packages\System.Memory.4.5.4\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="NativeLibrary">
<HintPath>..\packages\ExponeaSDK.iOS.Notifications.2.11.3\lib\xamarinios10\NativeLibrary.dll</HintPath>
<HintPath>..\packages\ExponeaSDK.iOS.Notifications.2.11.3.1\lib\xamarinios10\NativeLibrary.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions example/ExamplePushServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>1.0.1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand All @@ -27,5 +25,7 @@
</dict>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleVersion</key>
<string>4</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/ExamplePushServiceExtension/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExponeaSDK.iOS.Notifications" version="2.11.3" targetFramework="xamarinios10" />
<package id="ExponeaSDK.iOS.Notifications" version="2.11.3.1" targetFramework="xamarinios10" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="xamarinios10" />
<package id="System.Buffers" version="4.5.1" targetFramework="xamarinios10" />
<package id="System.Memory" version="4.5.4" targetFramework="xamarinios10" />
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<ReleaseVersion>1.0.1</ReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion example/XamarinExample.Huawei/XamarinExample.Huawei.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<AndroidManifestMerger>manifestmerger.jar</AndroidManifestMerger>
<ReleaseVersion>1.0.1</ReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -65,7 +66,7 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Essentials" Version="1.7.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.2" />
<PackageReference Include="Xamarin.AndroidX.Core">
<Version>1.6.0.5</Version>
</PackageReference>
Expand Down
Loading

0 comments on commit 942d614

Please sign in to comment.