Skip to content

Commit 693df21

Browse files
committed
update framework dependency
1 parent 38fb7e4 commit 693df21

File tree

6 files changed

+33
-9
lines changed

6 files changed

+33
-9
lines changed

example/ios/Flutter/flutter_export_environment.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
export "FLUTTER_ROOT=/Users/jarvanzhang/Development/flutter"
44
export "FLUTTER_APPLICATION_PATH=/Users/jarvanzhang/StudioProjects/tobias/example"
55
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
6-
export "FLUTTER_TARGET=/Users/jarvanzhang/StudioProjects/tobias/example/lib/main.dart"
6+
export "FLUTTER_TARGET=lib/main.dart"
77
export "FLUTTER_BUILD_DIR=build"
88
export "FLUTTER_BUILD_NAME=0.1.0"
99
export "FLUTTER_BUILD_NUMBER=1"
10-
export "DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9WRVJTSU9OPTMuMzUuNw==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHBzOi8vZ2l0aHViLmNvbS9mbHV0dGVyL2ZsdXR0ZXIuZ2l0,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049YWRjOTAxMDYyNQ==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049MDM1MzE2NTY1YQ==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My45LjI="
10+
export "DART_DEFINES=RkxVVFRFUl9WRVJTSU9OPTMuMzguOA==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHBzOi8vZ2l0aHViLmNvbS9mbHV0dGVyL2ZsdXR0ZXIuZ2l0,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049YmQ3YTRhNmI1NQ==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049ZGIzNzNlYjg1YQ==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My4xMC43"
1111
export "DART_OBFUSCATION=false"
12-
export "TRACK_WIDGET_CREATION=true"
13-
export "TREE_SHAKE_ICONS=false"
12+
export "TRACK_WIDGET_CREATION=false"
13+
export "TREE_SHAKE_ICONS=true"
1414
export "PACKAGE_CONFIG=/Users/jarvanzhang/StudioProjects/tobias/example/.dart_tool/package_config.json"

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ EXTERNAL SOURCES:
1818

1919
SPEC CHECKSUMS:
2020
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
21-
tobias: f9c405df3ded93ad34539200fe3e7779cfb19081
21+
tobias: 7bc370eaccba2e7c7c345902a4a47dc5916cf8bb
2222

2323
PODFILE CHECKSUM: a5dd15803c05a42a9ae1068254e24631f03bf853
2424

example/ios/Runner/AppDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#import <Flutter/Flutter.h>
22
#import <UIKit/UIKit.h>
33

4-
@interface AppDelegate : FlutterAppDelegate
4+
@interface AppDelegate : FlutterAppDelegate <FlutterImplicitEngineDelegate>
55

66
@end

example/ios/Runner/AppDelegate.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ @implementation AppDelegate
55

66
- (BOOL)application:(UIApplication *)application
77
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
8-
[GeneratedPluginRegistrant registerWithRegistry:self];
98
// Override point for customization after application launch.
109
return [super application:application didFinishLaunchingWithOptions:launchOptions];
1110
}
1211

12+
- (void)didInitializeImplicitFlutterEngine:(NSObject<FlutterImplicitEngineBridge>*)engineBridge {
13+
[GeneratedPluginRegistrant registerWithRegistry:engineBridge.pluginRegistry];
14+
}
15+
1316
@end

example/ios/Runner/Info.plist

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,27 @@
5858
<key>NSAllowsArbitraryLoadsInWebContent</key>
5959
<true/>
6060
</dict>
61+
<key>UIApplicationSceneManifest</key>
62+
<dict>
63+
<key>UIApplicationSupportsMultipleScenes</key>
64+
<false/>
65+
<key>UISceneConfigurations</key>
66+
<dict>
67+
<key>UIWindowSceneSessionRoleApplication</key>
68+
<array>
69+
<dict>
70+
<key>UISceneClassName</key>
71+
<string>UIWindowScene</string>
72+
<key>UISceneConfigurationName</key>
73+
<string>flutter</string>
74+
<key>UISceneDelegateClassName</key>
75+
<string>FlutterSceneDelegate</string>
76+
<key>UISceneStoryboardFile</key>
77+
<string>Main</string>
78+
</dict>
79+
</array>
80+
</dict>
81+
</dict>
6182
<key>UIApplicationSupportsIndirectInputEvents</key>
6283
<true/>
6384
<key>UILaunchStoryboardName</key>

ios/tobias.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ A Flutter plugin For Alipay.
7272
s.default_subspec = tobias_subspec
7373

7474
s.subspec 'normal' do |sp|
75-
sp.frameworks = 'SystemConfiguration', 'CoreTelephony', 'QuartzCore', 'CoreText', 'CoreGraphics', 'UIKit', 'Foundation', 'CFNetwork', 'CoreMotion', 'WebKit'
75+
sp.frameworks = 'SystemConfiguration', 'CoreTelephony', 'QuartzCore', 'CoreText', 'CoreGraphics', 'UIKit', 'Foundation', 'Network', 'CoreMotion', 'WebKit'
7676
sp.libraries = 'z', 'c++'
7777
sp.resource = 'AlipaySDK/Standard/AlipaySDK.bundle'
7878
sp.vendored_frameworks = 'AlipaySDK/Standard/AlipaySDK.xcframework'
7979
end
8080

8181
s.subspec 'no_utdid' do |sp|
82-
sp.frameworks = 'SystemConfiguration', 'CoreTelephony', 'QuartzCore', 'CoreText', 'CoreGraphics', 'UIKit', 'Foundation', 'CFNetwork', 'CoreMotion', 'WebKit'
82+
sp.frameworks = 'SystemConfiguration', 'CoreTelephony', 'QuartzCore', 'CoreText', 'CoreGraphics', 'UIKit', 'Foundation', 'Network', 'CoreMotion', 'WebKit'
8383
sp.libraries = 'z', 'c++'
8484
sp.resource = 'AlipaySDK/NoUtdid/AlipaySDK.bundle'
8585
sp.vendored_frameworks = 'AlipaySDK/NoUtdid/AlipaySDK.xcframework'

0 commit comments

Comments
 (0)