fatal: 不是 git 仓库(或者任何父目录):.git (这里会有一个这个 git 的报错 我试着执行了 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.
我关闭编辑器 关闭模拟器 重新启动 就可以了? 不知道为啥