gpt4 book ai didi

ios - 为 iOS 在 AIR 上启用 iCloud

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:31:51 24 4
gpt4 key购买 nike

我正在 Adob​​e AIR(flash) 上开发 iOS 应用程序,我想使用 iCloud KeyValue 功能(使用 ANE)。

如何在AIR上开启iCloud功能?

我假设 app.xml 是这样做的,但不确定。

最佳答案

我解决了这个问题。

<Entitlements>
<![CDATA[
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>$(TeamIdentifierPrefix).com.hoge.hugaApp</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix).com.hoge.hugaApp</string>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix).com.hoge.hugaApp</string>
</array>
]]>

我从 XCode 项目的 hugaApp.entitlement 中这样写,它是自动生成的文件。然后我将 $(TeamIdentifierPrefix) 和 $(AppIdentifierPrefix) 替换为实际值。

谢谢你回答我!

关于ios - 为 iOS 在 AIR 上启用 iCloud,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12367931/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com