Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
URLForUbiquityContainerIdentifier:总是返回nil
URLForUbiquityContainerIdentifier:
nil
NSURL *ubiquityURL = [fileManager URLForUbiquityContainerIdentifier:nil]; if (ubiquityURL == nil)
ubiquityURL在调试中是正常的,但ubiquityURL总是nil在分发到应用商店后。
ubiquityURL
听起来您的发布配置具有错误的权利。.entitlements plist 中的 com.apple.developer.ubiquity-container-identifiers 值是多少?