xcode 应用程序无法在VS代码中运行(iOS模拟器)

nuypyhwy  于 2022-11-18  发布在  iOS
关注(0)|答案(1)|浏览(587)

我一直试图运行我的应用程序在IOS模拟器在VS代码。当我输入Flutter运行,它的启动Xcode建设,但它未能在IOS建设。
错误如下-

  1. The default interactive shell is now zsh.
  2. To update your account to use zsh, please run `chsh -s /bin/zsh`.
  3. For more details, please visit https://support.apple.com/kb/HT208050.
  4. MacBook-Pro:footballcrazy appleuser$ flutter clean
  5. Cleaning Xcode workspace... 1,964ms
  6. Deleting build... 3ms
  7. Deleting .dart_tool... 0ms
  8. Deleting Generated.xcconfig... 0ms
  9. Deleting flutter_export_environment.sh... 0ms
  10. Deleting .flutter-plugins-dependencies... 0ms
  11. Deleting .flutter-plugins... 0ms
  12. MacBook-Pro:footballcrazy appleuser$ flutter pub get
  13. Running "flutter pub get" in footballcrazy... 1,995ms
  14. MacBook-Pro:footballcrazy appleuser$ flutter run
  15. Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
  16. Running pod install... 13.7s
  17. Running Xcode build...
  18. Xcode build done. 153.4s
  19. Failed to build iOS app
  20. Error output from Xcode build:
  21. ** BUILD FAILED **
  22. Xcode's output:
  23. Writing result bundle at path:
  24. /var/folders/7f/vrh09tld72ngmdfm94b1tpp80000gn/T/flutter_tools.AxRTm0/flutter_ios_build_temp_
  25. dirXC4DET/temporary_xcresult_bundle
  26. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
  27. omBrowser.m:148:42: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  28. [-Wdeprecated-declarations]
  29. [[UIApplication sharedApplication] openURL:_appStoreURL];
  30. ^~~~~~~
  31. openURL:options:completionHandler:
  32. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  33. Files/AppAuth/AppAuth-prefix.pch:2:
  34. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  35. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  36. : note: 'openURL:' has been explicitly marked deprecated here
  37. - (BOOL)openURL:(NSURL*)url
  38. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  39. NS_EXTENSION_UNAVAILABLE_IOS("");
  40. ^
  41. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
  42. omBrowser.m:156:61: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  43. [-Wdeprecated-declarations]
  44. BOOL openedInBrowser = [[UIApplication sharedApplication] openURL:requestURL];
  45. ^~~~~~~
  46. openURL:options:completionHandler:
  47. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  48. Files/AppAuth/AppAuth-prefix.pch:2:
  49. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  50. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  51. : note: 'openURL:' has been explicitly marked deprecated here
  52. - (BOOL)openURL:(NSURL*)url
  53. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  54. NS_EXTENSION_UNAVAILABLE_IOS("");
  55. ^
  56. 2 warnings generated.
  57. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:5
  58. 3:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  59. [-Wdeprecated-declarations]
  60. SFAuthenticationSession *_authenticationVC;
  61. ^~~~~~~~~~~~~~~~~~~~~~~
  62. ASWebAuthenticationSession
  63. In module 'SafariServices' imported from
  64. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  65. 5:
  66. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  67. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  68. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  69. here
  70. @interface SFAuthenticationSession : NSObject
  71. ^
  72. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  73. 43:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  74. [-Wdeprecated-declarations]
  75. SFAuthenticationSession *authenticationVC =
  76. ^~~~~~~~~~~~~~~~~~~~~~~
  77. ASWebAuthenticationSession
  78. In module 'SafariServices' imported from
  79. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  80. 5:
  81. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  82. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  83. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  84. here
  85. @interface SFAuthenticationSession : NSObject
  86. ^
  87. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  88. 44:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  89. [-Wdeprecated-declarations]
  90. [[SFAuthenticationSession alloc] initWithURL:requestURL
  91. ^~~~~
  92. ASWebAuthenticationSession
  93. In module 'SafariServices' imported from
  94. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  95. 5:
  96. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  97. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  98. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  99. here
  100. @interface SFAuthenticationSession : NSObject
  101. ^
  102. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  103. 80:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  104. [-Wdeprecated-declarations]
  105. openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
  106. ^~~~~~~
  107. openURL:options:completionHandler:
  108. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  109. Files/AppAuth/AppAuth-prefix.pch:2:
  110. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  111. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  112. : note: 'openURL:' has been explicitly marked deprecated here
  113. - (BOOL)openURL:(NSURL*)url
  114. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  115. NS_EXTENSION_UNAVAILABLE_IOS("");
  116. ^
  117. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  118. 03:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  119. [-Wdeprecated-declarations]
  120. SFAuthenticationSession *authenticationVC = _authenticationVC;
  121. ^~~~~~~~~~~~~~~~~~~~~~~
  122. ASWebAuthenticationSession
  123. In module 'SafariServices' imported from
  124. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  125. 5:
  126. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  127. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  128. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  129. here
  130. @interface SFAuthenticationSession : NSObject
  131. ^
  132. 5 warnings generated.
  133. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
  134. omBrowser.m:148:42: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  135. [-Wdeprecated-declarations]
  136. [[UIApplication sharedApplication] openURL:_appStoreURL];
  137. ^~~~~~~
  138. openURL:options:completionHandler:
  139. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  140. Files/AppAuth/AppAuth-prefix.pch:2:
  141. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  142. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  143. : note: 'openURL:' has been explicitly marked deprecated here
  144. - (BOOL)openURL:(NSURL*)url
  145. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  146. NS_EXTENSION_UNAVAILABLE_IOS("");
  147. ^
  148. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
  149. omBrowser.m:156:61: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  150. [-Wdeprecated-declarations]
  151. BOOL openedInBrowser = [[UIApplication sharedApplication] openURL:requestURL];
  152. ^~~~~~~
  153. openURL:options:completionHandler:
  154. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  155. Files/AppAuth/AppAuth-prefix.pch:2:
  156. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  157. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  158. : note: 'openURL:' has been explicitly marked deprecated here
  159. - (BOOL)openURL:(NSURL*)url
  160. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  161. NS_EXTENSION_UNAVAILABLE_IOS("");
  162. ^
  163. 2 warnings generated.
  164. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:5
  165. 3:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  166. [-Wdeprecated-declarations]
  167. SFAuthenticationSession *_authenticationVC;
  168. ^~~~~~~~~~~~~~~~~~~~~~~
  169. ASWebAuthenticationSession
  170. In module 'SafariServices' imported from
  171. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  172. 5:
  173. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  174. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  175. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  176. here
  177. @interface SFAuthenticationSession : NSObject
  178. ^
  179. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  180. 43:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  181. [-Wdeprecated-declarations]
  182. SFAuthenticationSession *authenticationVC =
  183. ^~~~~~~~~~~~~~~~~~~~~~~
  184. ASWebAuthenticationSession
  185. In module 'SafariServices' imported from
  186. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  187. 5:
  188. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  189. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  190. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  191. here
  192. @interface SFAuthenticationSession : NSObject
  193. ^
  194. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  195. 44:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  196. [-Wdeprecated-declarations]
  197. [[SFAuthenticationSession alloc] initWithURL:requestURL
  198. ^~~~~
  199. ASWebAuthenticationSession
  200. In module 'SafariServices' imported from
  201. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  202. 5:
  203. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  204. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  205. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  206. here
  207. @interface SFAuthenticationSession : NSObject
  208. ^
  209. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
  210. 80:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
  211. [-Wdeprecated-declarations]
  212. openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
  213. ^~~~~~~
  214. openURL:options:completionHandler:
  215. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  216. Files/AppAuth/AppAuth-prefix.pch:2:
  217. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  218. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
  219. : note: 'openURL:' has been explicitly marked deprecated here
  220. - (BOOL)openURL:(NSURL*)url
  221. API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
  222. NS_EXTENSION_UNAVAILABLE_IOS("");
  223. ^
  224. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  225. 03:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
  226. [-Wdeprecated-declarations]
  227. SFAuthenticationSession *authenticationVC = _authenticationVC;
  228. ^~~~~~~~~~~~~~~~~~~~~~~
  229. ASWebAuthenticationSession
  230. In module 'SafariServices' imported from
  231. /Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
  232. 5:
  233. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  234. PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
  235. tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
  236. here
  237. @interface SFAuthenticationSession : NSObject
  238. ^
  239. 5 warnings generated.
  240. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  241. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:101:72: warning: sending 'FLTFirebaseAuthPlugin
  242. *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
  243. [[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
  244. ^~~~
  245. In module 'firebase_core' imported from
  246. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  247. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:7:
  248. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2
  249. .1.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter
  250. 'firebasePlugin' here
  251. - (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
  252. ^
  253. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  254. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:1905:45: warning: 'keyWindow' is deprecated: first
  255. deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as
  256. it returns a key window across all connected scenes [-Wdeprecated-declarations]
  257. return [[UIApplication sharedApplication] keyWindow];
  258. ^
  259. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  260. Files/firebase_auth/firebase_auth-prefix.pch:2:
  261. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  262. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
  263. 1: note: property 'keyWindow' is declared deprecated here
  264. @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used
  265. for applications that support multiple scenes as it returns a key window across all connected
  266. scenes", ios(2.0, 13.0));
  267. ^
  268. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  269. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
  270. 1: note: 'keyWindow' has been explicitly marked deprecated here
  271. 2 warnings generated.
  272. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  273. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:101:72: warning: sending 'FLTFirebaseAuthPlugin
  274. *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
  275. [[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
  276. ^~~~
  277. In module 'firebase_core' imported from
  278. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  279. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:7:
  280. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2
  281. .1.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter
  282. 'firebasePlugin' here
  283. - (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
  284. ^
  285. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
  286. .1.0/ios/Classes/FLTFirebaseAuthPlugin.m:1905:45: warning: 'keyWindow' is deprecated: first
  287. deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as
  288. it returns a key window across all connected scenes [-Wdeprecated-declarations]
  289. return [[UIApplication sharedApplication] keyWindow];
  290. ^
  291. In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
  292. Files/firebase_auth/firebase_auth-prefix.pch:2:
  293. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  294. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
  295. 1: note: property 'keyWindow' is declared deprecated here
  296. @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used
  297. for applications that support multiple scenes as it returns a key window across all connected
  298. scenes", ios(2.0, 13.0));
  299. ^
  300. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
  301. PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
  302. 1: note: 'keyWindow' has been explicitly marked deprecated here
  303. 2 warnings generated.
  304. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore
  305. -4.0.3/ios/Classes/FLTFirebaseFirestorePlugin.m:457:29: warning: comparison of distinct
  306. pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
  307. if (query == nil || query == [NSNull null]) {
  308. ~~~~~ ^ ~~~~~~~~~~~~~
  309. 1 warning generated.
  310. /Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore
  311. -4.0.3/ios/Classes/FLTFirebaseFirestorePlugin.m:457:29: warning: comparison of distinct
  312. pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
  313. if (query == nil || query == [NSNull null]) {
  314. ~~~~~ ^ ~~~~~~~~~~~~~
  315. 1 warning generated.
  316. No file or variants found for asset: assets/covers.
  317. Failed to package /Users/appleuser/footballcrazy.
  318. Command PhaseScriptExecution failed with a nonzero exit code
  319. note: Building targets in dependency order
  320. warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
  321. build because it does not specify any outputs. To address this warning, either add output
  322. dependencies to the script phase, or configure it to run in every build by unchecking "Based
  323. on dependency analysis" in the script phase. (in target 'gRPC-Core' from project 'Pods')
  324. warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
  325. build because it does not specify any outputs. To address this warning, either add output
  326. dependencies to the script phase, or configure it to run in every build by unchecking "Based
  327. on dependency analysis" in the script phase. (in target 'gRPC-C++' from project 'Pods')
  328. warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
  329. build because it does not specify any outputs. To address this warning, either add output
  330. dependencies to the script phase, or configure it to run in every build by unchecking "Based
  331. on dependency analysis" in the script phase. (in target 'abseil' from project 'Pods')
  332. warning: Run script build phase 'Run Script' will be run during every build because it does
  333. not specify any outputs. To address this warning, either add output dependencies to the script
  334. phase, or configure it to run in every build by unchecking "Based on dependency analysis" in
  335. the script phase. (in target 'Runner' from project 'Runner')
  336. warning: Run script build phase 'Thin Binary' will be run during every build because it does
  337. not specify any outputs. To address this warning, either add output dependencies to the script
  338. phase, or configure it to run in every build by unchecking "Based on dependency analysis" in
  339. the script phase. (in target 'Runner' from project 'Runner')
  340. warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
  341. build because it does not specify any outputs. To address this warning, either add output
  342. dependencies to the script phase, or configure it to run in every build by unchecking "Based
  343. on dependency analysis" in the script phase. (in target 'Libuv-gRPC' from project 'Pods')
  344. warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
  345. build because it does not specify any outputs. To address this warning, either add output
  346. dependencies to the script phase, or configure it to run in every build by unchecking "Based
  347. on dependency analysis" in the script phase. (in target 'BoringSSL-GRPC' from project 'Pods')
  348. Result bundle written to path:
  349. /var/folders/7f/vrh09tld72ngmdfm94b1tpp80000gn/T/flutter_tools.AxRTm0/flutter_ios_build_temp_
  350. dirXC4DET/temporary_xcresult_bundle
  351. Could not build the application for the simulator.
  352. Error launching application on iPhone 14 Pro Max.

Pubspec.yaml-

  1. environment:
  2. sdk: ">=2.18.2 <3.3.6"
  3. dependencies:
  4. flutter:
  5. sdk: flutter
  6. cupertino_icons: ^1.0.5
  7. firebase_core: ^2.1.1
  8. cloud_firestore: ^4.0.3
  9. firebase_auth: ^4.1.0
  10. google_sign_in: ^5.4.2
  11. sign_in_with_apple: ^4.1.0
  12. crypto: ^3.0.2
  13. font_awesome_flutter: ^10.2.1
  14. google_fonts: ^3.0.1
  15. provider: ^6.0.4
  16. rxdart: ^0.27.5
  17. json_annotation: ^4.7.0
  18. dev_dependencies:
  19. flutter_test:
  20. sdk: flutter
  21. flutter_lints: ^2.0.1
  22. build_runner: ^2.3.2
  23. json_serializable: ^6.5.4

我将感谢反馈,并可以给予进一步的信息,如果需要的话。谢谢

tf7tbtn2

tf7tbtn21#

请务必在ios内的podfile中将deployment_target = '11.0'更改为deployment_target = '14.0'

相关问题