Commit 2ff5ca03 authored by 朱国瑞's avatar 朱国瑞

更新SDK

parent 52fb691e
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>BreastFeedingDemo.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
......@@ -90,6 +90,15 @@ class ViewModel {
result(params) // 初始化
case "teachingEnd":
self.methodChannel.invokeMethod("dispose", arguments: nil)
// ["totalDuration": 3, "reasonText": Concern about my personal privacy, "status": incomplete, "incompleteReasonCode": 2]
let argument: [String: Any] = try! JSONSerialization.jsonObject(with: (call.arguments as! String).data(using: .utf8)!) as! [String: Any]
let status: String = argument["status"] as! String
if status == "complete" {
self.completeHandler?()
return
}
self.teachingEndHandler?()
default:
// Unrecognized method name
print("Unrecognized method name: \(call.method)")
......
......@@ -38,7 +38,7 @@
</data>
<key>flutter_assets/assets/images/.DS_Store</key>
<data>
/z3ZToVJkkN1OvGIpOFaa1luR1I=
OqCxw9UsIxQJ67cKBVmwyEmp5Ag=
</data>
<key>flutter_assets/assets/images/babylie.png</key>
<data>
......@@ -186,7 +186,7 @@
</data>
<key>flutter_assets/assets/images/glass-mask.png</key>
<data>
bGchwv9XJ3QUZ+KTqs3OCrQ20l4=
Wm918K9vZY79I4f8wl1/guFbZnc=
</data>
<key>flutter_assets/assets/images/icon_error.png</key>
<data>
......@@ -837,11 +837,11 @@
<dict>
<key>hash</key>
<data>
bGchwv9XJ3QUZ+KTqs3OCrQ20l4=
Wm918K9vZY79I4f8wl1/guFbZnc=
</data>
<key>hash2</key>
<data>
39idORYk6KXtLC+YgaaM5EvQJ/cMGYwSj1wCox7InvQ=
Jh+d8XSjN0YqsV3nVwecdIyNNpfyZ/BVP3xunB1uoOg=
</data>
</dict>
<key>flutter_assets/assets/images/icon_error.png</key>
......
......@@ -38,7 +38,7 @@
</data>
<key>flutter_assets/assets/images/.DS_Store</key>
<data>
/z3ZToVJkkN1OvGIpOFaa1luR1I=
OqCxw9UsIxQJ67cKBVmwyEmp5Ag=
</data>
<key>flutter_assets/assets/images/babylie.png</key>
<data>
......@@ -186,7 +186,7 @@
</data>
<key>flutter_assets/assets/images/glass-mask.png</key>
<data>
bGchwv9XJ3QUZ+KTqs3OCrQ20l4=
Wm918K9vZY79I4f8wl1/guFbZnc=
</data>
<key>flutter_assets/assets/images/icon_error.png</key>
<data>
......@@ -837,11 +837,11 @@
<dict>
<key>hash</key>
<data>
bGchwv9XJ3QUZ+KTqs3OCrQ20l4=
Wm918K9vZY79I4f8wl1/guFbZnc=
</data>
<key>hash2</key>
<data>
39idORYk6KXtLC+YgaaM5EvQJ/cMGYwSj1wCox7InvQ=
Jh+d8XSjN0YqsV3nVwecdIyNNpfyZ/BVP3xunB1uoOg=
</data>
</dict>
<key>flutter_assets/assets/images/icon_error.png</key>
......
......@@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>FlutterPluginRegistrant.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FlutterPluginRegistrant.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
......
......@@ -5,33 +5,33 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Toast.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Toast.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
......
......@@ -5,33 +5,33 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>package_info_plus.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>package_info_plus.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
......
......@@ -5,33 +5,33 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>yuvtransform.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>yuvtransform.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
......
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
#ifndef YUVTRANSFORM_SWIFT_H
#define YUVTRANSFORM_SWIFT_H
#pragma clang diagnostic push
......@@ -23,7 +23,6 @@
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
......@@ -32,10 +31,24 @@
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#include <cstring>
#include <stdlib.h>
#include <new>
#include <type_traits>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#endif
#if defined(__cplusplus)
#if __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
# ifndef __ptrauth_swift_value_witness_function_pointer
# define __ptrauth_swift_value_witness_function_pointer(x)
# endif
#endif
#endif
#if !defined(SWIFT_TYPEDEFS)
......@@ -74,41 +87,54 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if __has_attribute(objc_runtime_name)
#if !defined(SWIFT_RUNTIME_NAME)
# if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# else
# define SWIFT_RUNTIME_NAME(X)
# endif
#endif
#if __has_attribute(swift_name)
#if !defined(SWIFT_COMPILE_NAME)
# if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# else
# define SWIFT_COMPILE_NAME(X)
# endif
#endif
#if __has_attribute(objc_method_family)
#if !defined(SWIFT_METHOD_FAMILY)
# if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# else
# define SWIFT_METHOD_FAMILY(X)
# endif
#endif
#if __has_attribute(noescape)
#if !defined(SWIFT_NOESCAPE)
# if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# else
# define SWIFT_NOESCAPE
# endif
#endif
#if __has_attribute(ns_consumed)
#if !defined(SWIFT_RELEASES_ARGUMENT)
# if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# else
# define SWIFT_RELEASES_ARGUMENT
# endif
#endif
#if __has_attribute(warn_unused_result)
#if !defined(SWIFT_WARN_UNUSED_RESULT)
# if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# else
# define SWIFT_WARN_UNUSED_RESULT
# endif
#endif
#if __has_attribute(noreturn)
#if !defined(SWIFT_NORETURN)
# if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# else
# define SWIFT_NORETURN
# endif
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
......@@ -137,16 +163,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
......@@ -155,7 +178,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
# if __has_attribute(enum_extensibility)
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
# define SWIFT_ENUM_ATTR(_extensibility)
......@@ -187,10 +210,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
#if !defined(SWIFT_DEPRECATED_OBJC)
# if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
# endif
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
......@@ -207,26 +232,31 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if !defined(SWIFT_INDIRECT_RESULT)
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
#endif
#if !defined(SWIFT_CONTEXT)
# define SWIFT_CONTEXT __attribute__((swift_context))
#endif
#if !defined(SWIFT_ERROR_RESULT)
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#endif
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT
#endif
#if defined(_WIN32)
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#else
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_feature(objc_modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
......
......@@ -201,5 +201,20 @@
],
"json_format_version": 8
},
"ConstValues": []
"ConstValues": [
{
"filePath": "\/Users\/zhuguorui\/fvm\/versions\/2.10.5\/.pub-cache\/hosted\/pub.flutter-io.cn\/yuvtransform-0.0.2\/ios\/Classes\/SwiftYuvtransformPlugin.swift",
"kind": "StringLiteral",
"offset": 210,
"length": 14,
"value": "\"yuvtransform\""
},
{
"filePath": "\/Users\/zhuguorui\/fvm\/versions\/2.10.5\/.pub-cache\/hosted\/pub.flutter-io.cn\/yuvtransform-0.0.2\/ios\/Classes\/SwiftYuvtransformPlugin.swift",
"kind": "StringLiteral",
"offset": 474,
"length": 6,
"value": "\"iOS \""
}
]
}
\ No newline at end of file
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name yuvtransform
// swift-module-flags-ignorable: -enable-bare-slash-regex
import Flutter
......@@ -9,7 +9,7 @@ import _Concurrency
import _StringProcessing
@_exported import yuvtransform
@objc @_inheritsConvenienceInitializers public class SwiftYuvtransformPlugin : ObjectiveC.NSObject, Flutter.FlutterPlugin {
@objc public static func register(with registrar: Flutter.FlutterPluginRegistrar)
@objc public static func register(with registrar: any Flutter.FlutterPluginRegistrar)
@objc public func handle(_ call: Flutter.FlutterMethodCall, result: @escaping Flutter.FlutterResult)
@objc override dynamic public init()
@objc deinit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment