flutter 啟動問題
fatal: 不是 git 倉庫(或者任何父目錄):.git? ? ?(這里會有一個這個 git 的報錯? ? ?我試著執(zhí)行了? git init? 還是會有 百度了一堆,沒找到答案)
Launching lib/main.dart on iPhone 11 in debug mode...? ??
(這里會非常的慢 3-5 分鐘左右,看視頻教程啟動挺快的;百度了一下,修改了項目工程目錄的 android 目錄? 文件build.gradle? ?
maven?{?url?'https://maven.aliyun.com/repository/google'?} maven?{?url?'https://maven.aliyun.com/repository/jcenter'?} maven?{?url?'http://maven.aliyun.com/nexus/content/groups/public'?}
對應的 flutter 的? ? 也修改了 。沒看見效果
)
Xcode build done.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 9.2s? (到這一步 已過去 3-5 分鐘 ,下面就報錯了? 百度這個命令?xattr -rc 還是一樣 ?)
Failed to build iOS app
Error output from Xcode build:
?
? ? ** BUILD FAILED **
Xcode's output:
?
? ? /Users/cwj/Documents/code/myCode/flutter/startup_namer/build/ios/Debug-iphonesimulator/Runner.app: resource fork, Finder information, or similar detritus not allowed
? ? Command CodeSign failed with a nonzero exit code
? ? note: Using new build system
? ? note: Building targets in parallel
? ? note: Planning build
? ? note: Constructing build description
? ? warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 11.
2020-10-28
我關閉編輯器? 關閉模擬器? 重新啟動? 就可以了?? ?不知道為啥