瀏覽代碼

ios运行

liukai 7 月之前
父節點
當前提交
f0dec4da46
共有 2 個文件被更改,包括 19 次插入1 次删除
  1. 18 0
      app/ios/Runner.xcodeproj/project.pbxproj
  2. 1 1
      app/ios/Runner/AppDelegate.swift

+ 18 - 0
app/ios/Runner.xcodeproj/project.pbxproj

@@ -144,6 +144,7 @@
 				97C146EC1CF9000F007C117D /* Resources */,
 				3B06AD1E1E4923F5004D2608 /* Thin Binary */,
 				F4664E1960AB5AF20D861E87 /* [CP] Embed Pods Frameworks */,
+				F004C36936C89F93981F1B41 /* [CP] Copy Pods Resources */,
 			);
 			buildRules = (
 			);
@@ -259,6 +260,23 @@
 			shellPath = /bin/sh;
 			shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
 		};
+		F004C36936C89F93981F1B41 /* [CP] Copy Pods Resources */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputFileListPaths = (
+				"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
+			);
+			name = "[CP] Copy Pods Resources";
+			outputFileListPaths = (
+				"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
+			showEnvVarsInLog = 0;
+		};
 		F4664E1960AB5AF20D861E87 /* [CP] Embed Pods Frameworks */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 2147483647;

+ 1 - 1
app/ios/Runner/AppDelegate.swift

@@ -3,7 +3,7 @@ import AppTrackingTransparency
 import Flutter
 import AuthenticationServices
 
-@UIApplicationMain
+@main
 @objc class AppDelegate: FlutterAppDelegate {
     
     var channel:FlutterMethodChannel!