iPhone과 Apple Watch (watchOS 3에서는 CloudKit 사용)간에 iCloud를 작동 시키려고합니다. 나는 아이폰 OS 대상의 하나와 동일하게 시계 확장에 클라우드 컨테이너를 지정하지만 응용 프로그램을 실행할 때, 나는 내가 만든 쿼리에서이 오류를 얻을 : 컨테이너 ID에서iCloud는 watchOS 3에서 다른 컨테이너를 사용합니다.
Failure retrieving: Optional(<CKError 0x17d45cf0: "Unknown Item" (11/2003); server message = "did not find record type recordTypeId="Recommendation""; uuid = 37D53C78-FF19-4CE3-80BD-C1990F0135A2; container ID = "iCloud.mathsrobot.MathsRobot-LearnMaths.watchkitapp.watchkitextension">)
을, iCloud.mathsrobot.MathsRobot-LearnMaths
이어야하는 iOS 앱 컨테이너를 사용하고 있지 않다는 것을 알 수 있습니다. iOS 앱용 iCloud 컨테이너를 사용하려면 어떻게해야하나요?
아이폰 OS 대상 기능의 스크린 샷Main iOS target capabilities with iCloud
시계 대상 기능의 스크린 샷Watch Extension target capabilities with iCloud