d957921fe3
NSPersistentCloudKitContainer solo sincronizaba de forma oportunista (sin push), por lo que un plato nuevo tardaba mucho o no aparecía en el otro dispositivo. Se activa el push de CloudKit: - aps-environment en MealMood.entitlements vía variable APS_ENVIRONMENT (development en Debug, production en Release) para no romper TestFlight. - AppDelegate con registerForRemoteNotifications() + manejo del push silencioso; el mirror de SwiftData importa al ser despertado. - (Capability Push Notifications habilitada en el App ID por API.) Pendiente: regenerar el provisioning profile AppStore con Push antes de la build 63, y validar el sync push en iPhone+iPad vía TestFlight. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A3HaWmmtTQ1vdTERtSYU6p
23 lines
726 B
XML
23 lines
726 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>aps-environment</key>
|
|
<string>$(APS_ENVIRONMENT)</string>
|
|
<key>com.apple.developer.icloud-container-identifiers</key>
|
|
<array>
|
|
<string>iCloud.com.alexandrev.mealmood</string>
|
|
</array>
|
|
<key>com.apple.developer.icloud-services</key>
|
|
<array>
|
|
<string>CloudKit</string>
|
|
</array>
|
|
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
|
|
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
|
|
<key>com.apple.security.application-groups</key>
|
|
<array>
|
|
<string>group.com.alexandrevazquez.mealmood</string>
|
|
</array>
|
|
</dict>
|
|
</plist>
|