2016-08-10 22 views
0

我最近創建了一個CloudKit應用程序,它將字符串發送到記錄類型並進行更新,並且它在開發階段完美運行。但是,一旦我上傳了TestFlight版本(並切換到生產版),它不再將數據更新到雲套件的生產部分(它仍然在開發中進行更改)這是一個常見問題嗎?我的代碼中是否有某些東西缺失?我想知道是否有一行代碼需要用於更新生產環境而不是開發環境。一旦從開發切換到生產,TestKlight中的CloudKit數據

任何迴應將不勝感激。

The code which was commented out was initially to add the record type to the container, then the code below is being used to update the data.

回答