小编The*_*e.K的帖子

自动签名无法解决目标的授权文件的问题

我正在按照本教程学习如何创建一个在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)

icloud xcode8 ios10.2

14
推荐指数
2
解决办法
2万
查看次数

为什么我收到错误“参数类型‘字符串’不符合预期类型‘序列’

我正在尝试将用户输入从 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)

我究竟做错了什么?

iphone xcode8 swift2.3

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

xcode8 ×2

icloud ×1

ios10.2 ×1

iphone ×1

swift2.3 ×1