我正在按照本教程学习如何创建一个在iCloud中保存用户生成数据的应用程序.但是,我遇到了这个问题,我对我需要做的事情感到很困惑.请帮忙
第一个错误说
Automatic signing is unable to resolve an issue with the "iCloudStore" target's entitlements file.
Remove the entitlements or switch to manual signing and resolve the issue by downloading a provisioning profile from the developer website.
Run Code Online (Sandbox Code Playgroud)
第二个说
Provisioning profile "iOS Team Provisioning Profile: com.Kaen.TravisCloudStore" doesn't include the com.apple.developer.icloud-container-identifiers entitlement.
Run Code Online (Sandbox Code Playgroud) 我正在尝试将用户输入从 textField 转换为数组。我遵循了此处提供的代码/sf/answers/1925097891/
let someString : String = someTextField.text!
let someArray = Array(someString).map { String($0).toInt()! }
Run Code Online (Sandbox Code Playgroud)
但是后来我收到了这个错误:
Argument type "String" does not conform to expected type "Sequence"
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?