Use production CloudKit during development?

前端 未结 4 1689
自闭症患者
自闭症患者 2020-12-22 18:12

My iOS and Mac apps have been launched to the App Store and all of my users, including myself, are using the CloudKit production database. My question is, is there any way t

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-22 18:48

    Add the following entry to your entitlements file and perform a clean build.

    This allows you to run your application in Xcode with the CloudKit in the production mode.

    Entry to add: com.apple.developer.icloud-container-environment with value: Production. Note: Will not work with simulator

提交回复
热议问题