Skip to content

Commit

Permalink
Apple: force cloud kit environment to prod (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova authored Oct 6, 2023
1 parent 685b98d commit 495576e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/resources/CoronaPListSupport.lua
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ function CoronaPListSupport.generateEntitlements( settings, platform, provisionP
t["com.apple.developer.icloud-container-identifiers"] = cloudKitContainers
t["com.apple.developer.icloud-container-environment"] = ppEnt["com.apple.developer.icloud-container-environment"]
-- Apple doesn't accept to app store with Development container env. even if it is in provisioning profile
if ppEnt["com.apple.developer.aps-environment"]=="production" or ppEnt["aps-environment"]=="production" then
if ppEnt["com.apple.developer.aps-environment"] or ppEnt["aps-environment"]=="production" then
t["com.apple.developer.icloud-container-environment"] = {"Production",}
end
iCloudEnabled = true
Expand Down

0 comments on commit 495576e

Please sign in to comment.