From 0edfc730dafa1407efdeb8a6eed4c88c21aa1963 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 19 十一月 2021 16:40:45 +0800
Subject: [PATCH] siri

---
 HDL-ON_iOS/HDL-ON_iOS.csproj |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/HDL-ON_iOS/HDL-ON_iOS.csproj b/HDL-ON_iOS/HDL-ON_iOS.csproj
index a817328..a33f04f 100644
--- a/HDL-ON_iOS/HDL-ON_iOS.csproj
+++ b/HDL-ON_iOS/HDL-ON_iOS.csproj
@@ -28,6 +28,7 @@
         <CodesignKey>iPhone Developer</CodesignKey>
         <MtouchExtraArgs>-gcc_flags="-dead_strip -ObjC";-w</MtouchExtraArgs>
         <CodesignProvision>On+Dev-20210616-1</CodesignProvision>
+        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
         <DebugType>none</DebugType>
@@ -38,6 +39,7 @@
         <MtouchLink>SdkOnly</MtouchLink>
         <MtouchArch>x86_64</MtouchArch>
 <CodesignKey>iPhone Developer</CodesignKey>
+<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
         <DebugSymbols>true</DebugSymbols>
@@ -56,6 +58,7 @@
         <MtouchEnableSGenConc>false</MtouchEnableSGenConc>
 <CodesignProvision>OnPro211116-1</CodesignProvision>
 <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
+<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
         <DebugType>none</DebugType>
@@ -70,6 +73,7 @@
         <MtouchExtraArgs>-gcc_flags="-dead_strip -ObjC"</MtouchExtraArgs>
         <MtouchI18n>cjk</MtouchI18n>
         <CodesignProvision>OnPro-Hoc20211117-1</CodesignProvision>
+        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     </PropertyGroup>
     <ItemGroup>
         <Reference Include="System" />
@@ -103,6 +107,9 @@
         </Reference>
         <Reference Include="Shared.IOS.HDLLinphoneSDK">
           <HintPath>..\DLL\Linphone\iOS\Shared.IOS.HDLLinphoneSDK.dll</HintPath>
+        </Reference>
+        <Reference Include="Shared.IOS.HDLSceneSiri">
+          <HintPath>..\..\HDLXamarinSceneSiri\Shared.IOS.HDLSceneSiri\Shared.IOS.HDLSceneSiri\bin\Release\Shared.IOS.HDLSceneSiri.dll</HintPath>
         </Reference>
     </ItemGroup>
     <ItemGroup>
@@ -464,6 +471,9 @@
         <Folder Include="Resources\Phone\PersonalCenter\FacePassage\" />
         <Folder Include="Resources\Phone\FunctionIcon\Electrical\AirSwitch\" />
         <Folder Include="Other\Siri\" />
+        <Folder Include="Other\Siri\Data\" />
+        <Folder Include="Other\Siri\Support\" />
+        <Folder Include="Other\Siri\UI\" />
     </ItemGroup>
     <ItemGroup>
         <InterfaceDefinition Include="LaunchScreen.storyboard" />
@@ -499,6 +509,12 @@
         </Compile>
         <Compile Include="Other\Siri\VoiceShortcutDataManager.cs" />
         <Compile Include="Other\Siri\SiriScene.cs" />
+        <Compile Include="Other\Siri\HDLRunSceneIntentHandlder.cs" />
+        <Compile Include="Other\Siri\Data\SceneDateManager.cs" />
+        <Compile Include="Other\Siri\Data\DataManager.cs" />
+        <Compile Include="Other\Siri\Support\NSUserDefaultsHelper.cs" />
+        <Compile Include="Other\Siri\Support\NSUserActivityHelper.cs" />
+        <Compile Include="Other\Siri\UI\Cells.cs" />
     </ItemGroup>
     <ItemGroup>
       <BundleResource Include="Resources\Phone\LoginIcon\ShowPasswordIcon.png" />
@@ -1366,6 +1382,7 @@
       <BundleResource Include="Resources\Phone\FunctionIcon\AirFresh\btnCloseIcon.png" />
       <BundleResource Include="Resources\Phone\FunctionIcon\AirFresh\btnInfoIcon.png" />
       <BundleResource Include="Resources\Phone\FunctionIcon\AirFresh\HumiOnIcon.png" />
+      <BundleResource Include="Resources\Phone\PersonalCenter\SiriIcon.png" />
     </ItemGroup>
     <ItemGroup>
       <ITunesArtwork Include="iTunesArtwork" />
@@ -1410,10 +1427,6 @@
         <Project>{2DDF4C3C-6998-432E-9F43-6786D82F0630}</Project>
         <Name>Blufi</Name>
       </ProjectReference>
-      <ProjectReference Include="..\SiriBinding\SiriBinding.csproj">
-        <Project>{77FFAB61-395D-4AD3-863E-C4E32B5038E7}</Project>
-        <Name>SiriBinding</Name>
-      </ProjectReference>
       <ProjectReference Include="..\SiriIntents\SiriIntents.csproj">
         <IsAppExtension>true</IsAppExtension>
         <Project>{760980F5-1CD3-4F4F-9134-34D87BECD790}</Project>
@@ -1425,6 +1438,9 @@
         <Name>SiriIntentsUI</Name>
       </ProjectReference>
     </ItemGroup>
+    <ItemGroup>
+      <Content Include="Base.lproj\Intents.intentdefinition" />
+    </ItemGroup>
     <Import Project="..\HDL_ON\HDL_ON.projitems" Label="Shared" Condition="Exists('..\HDL_ON\HDL_ON.projitems')" />
     <Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
     <ProjectExtensions>

--
Gitblit v1.8.0