xcode - Xcode:命令 CodeSign 失败,退出代码为非零
问题描述
我曾是。尝试学习flutter并为此购买了macbook,这是我第一次使用macbook,所以请详细说明我该怎么做。下面是飞镖代码:
import 'package:flutter/material.dart';
void main(){
runApp(MyApp());
}
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(home: Text('hello'), );
}
}
我已经下载了所有必要的软件,但仍然出现以下错误:
** BUILD FAILED **
Xcode's output:
↳
/Users/pratteekshaurya/Desktop/flutterApp/may19/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
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
Exited (sigterm)
请帮我解决这个问题
解决方案
推荐阅读
- ios - 在 tableview 单元格内滚动
- javascript - 如何通过从文件中读取坐标自动画线?
- json - 加载 Chrome 扩展程序失败
- reactjs - 组件未在 setState React 上重新渲染
- php - 多用户登录表单 PHP
- c++ - 模板推导和重载
- r - 带有 tidyverse 的 R 数据表:根据包含特定字符串的单元格下方的条件,查找、重定位和重命名未知的 nr 行
- angular - Angular 4 webapp中的节点红色HTTP GET请求
- javascript - Sinon Stub 每次返回不同的值
- javascript - setTimeout 中的时间和页面加载事件的行为