Flatter无法在VS代码上构建示例iOS应用程序
我正试图在VS代码上构建颤振示例项目,但收到以下消息。。。该示例在Android设备上构建并运行良好,我还尝试在iOS模拟器上使用Android Studio运行该示例,这也很好。它对VS代码不起作用。有人遇到过同样的问题吗 颤振:v0.2.2Flatter无法在VS代码上构建示例iOS应用程序,ios,visual-studio-code,ios-simulator,flutter,Ios,Visual Studio Code,Ios Simulator,Flutter,我正试图在VS代码上构建颤振示例项目,但收到以下消息。。。该示例在Android设备上构建并运行良好,我还尝试在iOS模拟器上使用Android Studio运行该示例,这也很好。它对VS代码不起作用。有人遇到过同样的问题吗 颤振:v0.2.2 Launching lib/main.dart on iPhone 8 in debug mode... Xcode build done Failed to build iOS app Error output from Xcode build: ↳
Launching lib/main.dart on iPhone 8 in debug mode...
Xcode build done
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/Sean/Documents/myapp/build/ios/Debug-iphonesimulator/Runner.app:resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1
Could not build the application for the simulator.
Error launching application on iPhone 8.
Exited (sigterm)
我怀疑您没有安装XCode,或者为开发人员ID启用了Runner项目。我怀疑您没有安装XCode,或者为开发人员ID启用了Runner项目。这是XCode构建系统中的一项新安全措施 您可以在此处详细了解:
要想快速修复,只需在重新构建应用程序之前清理它(flatter clean)。这是Xcode构建系统中的一项新安全措施 您可以在此处详细了解:
为了快速修复,只需在重新构建应用程序之前清理它(颤振清理)。我确实安装了XCode,而且我正在使用模拟器。应该不需要开发者ID,对吗?我确实安装了XCode,而且我正在使用模拟器。应该不需要开发人员ID,对吗?如果尝试使用
flatterrun
从命令行运行,会发生什么情况?如果您仍然有问题,可以在(或在Gitter中抓住我-DanTup-in Gitter)打开一个案例吗?如果您尝试使用flatter run
从命令行运行,会发生什么情况?如果你仍然有问题,你能在Gitter(或抓住我-DanTup-in Gitter)开个案子吗?