From 43f2a9d1d2aef6b79c9c16aebf9d50b0699b0b06 Mon Sep 17 00:00:00 2001 From: Sarah Zakarias Date: Wed, 28 Feb 2018 13:27:11 +0100 Subject: [PATCH] Remove unavailable API in FlutterDartProject.h --- .../platform/darwin/ios/framework/Headers/Flutter.h | 3 +++ .../ios/framework/Headers/FlutterDartProject.h | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/shell/platform/darwin/ios/framework/Headers/Flutter.h b/shell/platform/darwin/ios/framework/Headers/Flutter.h index 5ce388d99c21a..939040c8e5dfd 100644 --- a/shell/platform/darwin/ios/framework/Headers/Flutter.h +++ b/shell/platform/darwin/ios/framework/Headers/Flutter.h @@ -8,6 +8,9 @@ /** BREAKING CHANGES: + February 28, 2018: Removed "initWithFLXArchive" and + "initWithFLXArchiveWithScriptSnapshot". + January 15, 2018: Marked "initWithFLXArchive" and "initWithFLXArchiveWithScriptSnapshot" as unavailable following the deprecation from December 11, 2017. Scheduled to be removed on February diff --git a/shell/platform/darwin/ios/framework/Headers/FlutterDartProject.h b/shell/platform/darwin/ios/framework/Headers/FlutterDartProject.h index 7752ab9810364..65c866276341e 100644 --- a/shell/platform/darwin/ios/framework/Headers/FlutterDartProject.h +++ b/shell/platform/darwin/ios/framework/Headers/FlutterDartProject.h @@ -14,18 +14,6 @@ FLUTTER_EXPORT - (instancetype)initWithPrecompiledDartBundle:(NSBundle*)bundle NS_DESIGNATED_INITIALIZER; -- (instancetype)initWithFLXArchive:(NSURL*)archiveURL - dartMain:(NSURL*)dartMainURL - packages:(NSURL*)dartPackages NS_DESIGNATED_INITIALIZER - FLUTTER_UNAVAILABLE( - "This initializer is no longer available. See the deprecation message from " - "December 11, 2017 in Flutter.h. Instead, use [initWithFlutterAssets]."); - -- (instancetype)initWithFLXArchiveWithScriptSnapshot:(NSURL*)archiveURL NS_DESIGNATED_INITIALIZER - FLUTTER_UNAVAILABLE( - "This initializer is no longer available. See the deprecation message from " - "December 11, 2017 in Flutter.h. Instead, use [initWithFlutterAssetsWithScriptSnapshot]."); - - (instancetype)initWithFlutterAssets:(NSURL*)flutterAssetsURL dartMain:(NSURL*)dartMainURL packages:(NSURL*)dartPackages NS_DESIGNATED_INITIALIZER;