为了账号安全,请及时绑定邮箱和手机立即绑定

flutter 启动问题

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.


正在回答

1 回答

我关闭编辑器  关闭模拟器  重新启动  就可以了?   不知道为啥

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
【Flutter入门】3小时完成微信读书发现界面
  • 参与学习       4345    人
  • 解答问题       32    个

零基础快速上手Flutter,还原真实大厂案例,增强移动端面试竞争力。

进入课程

flutter 启动问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信