ios - 即使使用基本的入门应用程序 CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke,Flutter iOS 构建也会失败
问题描述
我很难构建一个更复杂的 Flutter 应用程序,所以我决定尝试一些简单的东西。但是,即使是基本的入门应用程序也无法构建。这里发生了什么?
$ flutter build ios
Building com.example.untitled for device (ios-release)...
Signing iOS app for device deployment using developer identity: "Apple Development: Real Guy (1234567)"
Running Xcode build...
Xcode build done. 38.5s
Failed to build iOS app
Error output from Xcode build:
↳
2021-08-17 22:20:11.758 xcodebuild[12345:12345678] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
** BUILD FAILED **
Xcode 的输出:
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
error: Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it. (in target 'Runner' from project 'Runner')
error: No profiles for 'com.example.untitled' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.untitled'. (in target 'Runner' from project 'Runner')