Skip to content

Commit 90cc1b1

Browse files
google-labs-jules[bot]0xLeif
authored andcommitted
Add SyncState documentation and update links
1 parent c477ad0 commit 90cc1b1

16 files changed

+184
-8
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Um SyncState zu nutzen, müssen Sie zuerst die iCloud-Fähigkeiten und -Berechtigungen in Ihrem Xcode-Projekt einrichten. Hier ist eine Einführung, die Sie durch den Prozess führt:
2+
3+
### Einrichten der iCloud-Fähigkeiten:
4+
5+
1. Öffnen Sie Ihr Xcode-Projekt und passen Sie die Bundle-Identifikatoren für die macOS- und iOS-Ziele an Ihre eigenen an.
6+
2. Als Nächstes müssen Sie die iCloud-Fähigkeit zu Ihrem Projekt hinzufügen. Wählen Sie dazu Ihr Projekt im Projektnavigator aus und wählen Sie dann Ihr Ziel aus. Klicken Sie in der Tableiste oben im Editorbereich auf "Capabilities".
7+
3. Aktivieren Sie im Bereich "Capabilities" iCloud, indem Sie auf den Schalter in der iCloud-Zeile klicken. Sie sollten sehen, wie sich der Schalter in die Ein-Position bewegt.
8+
4. Sobald Sie iCloud aktiviert haben, müssen Sie den Schlüssel-Wert-Speicher aktivieren. Dies können Sie tun, indem Sie das Kontrollkästchen "Key-Value storage" aktivieren.
9+
10+
### Aktualisieren der Berechtigungen:
11+
12+
1. Sie müssen nun Ihre Berechtigungsdatei aktualisieren. Öffnen Sie die Berechtigungsdatei für Ihr Ziel.
13+
2. Stellen Sie sicher, dass der Wert des iCloud-Schlüssel-Wert-Speichers mit Ihrer eindeutigen Schlüssel-Wert-Speicher-ID übereinstimmt. Ihre eindeutige ID sollte dem Format `$(TeamIdentifierPrefix)<Ihre Schlüssel-Wert-Speicher-ID>` folgen. Der Standardwert sollte etwa `$(TeamIdentifierPrefix)$(CFBundleIdentifier)` lauten. Dies ist für Einzelplattform-Apps in Ordnung, aber wenn Ihre App auf mehreren Apple-Betriebssystemen läuft, ist es wichtig, dass die Teile der Schlüssel-Wert-Speicher-ID für beide Ziele gleich sind.
14+
15+
### Konfigurieren der Geräte:
16+
17+
Zusätzlich zur Konfiguration des Projekts selbst müssen Sie auch die Geräte vorbereiten, auf denen das Projekt ausgeführt wird.
18+
19+
- Stellen Sie sicher, dass iCloud Drive sowohl auf iOS- als auch auf macOS-Geräten aktiviert ist.
20+
- Melden Sie sich auf beiden Geräten mit demselben iCloud-Konto an.
21+
22+
Wenn Sie Fragen haben oder auf Probleme stoßen, können Sie sich gerne an uns wenden oder ein Problem melden.

documentation/de/usage-syncstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct SyncStateExampleApp: App {
122122

123123
### Aktivieren des iCloud-Schlüssel-Wert-Speichers
124124

125-
Um die iCloud-Synchronisierung zu aktivieren, stellen Sie sicher, dass Sie dieser Anleitung folgen, um die Funktion des iCloud-Schlüssel-Wert-Speichers zu aktivieren: [Erste Schritte mit SyncState](https://github.com/0xLeif/AppState/wiki/Starting-to-use-SyncState).
125+
Um die iCloud-Synchronisierung zu aktivieren, stellen Sie sicher, dass Sie dieser Anleitung folgen, um die Funktion des iCloud-Schlüssel-Wert-Speichers zu aktivieren: [Erste Schritte mit SyncState](starting-to-use-syncstate.md).
126126

127127
### SyncState: Hinweise zum iCloud-Speicher
128128

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
To utilize SyncState, you will first need to set up iCloud capabilities and entitlements in your Xcode project. Here's an introduction to guide you through the process:
2+
3+
### Setting Up iCloud Capabilities:
4+
5+
1. Open your Xcode project and adjust the Bundle Identifiers for both macOS and iOS targets to match your own.
6+
2. Next, you need to add the iCloud capability to your project. To do this, select your project in the Project Navigator, then select your target. In the tab bar at the top of the editor area, click on "Capabilities".
7+
3. In the Capabilities pane, turn on iCloud by clicking the switch in the iCloud row. You should see the switch move to the On position.
8+
4. Once you have enabled iCloud, you need to enable Key-Value storage. You can do this by checking the "Key-Value storage" checkbox.
9+
10+
### Updating the Entitlements:
11+
12+
1. You will now need to update your entitlements file. Open the entitlements file for your target.
13+
2. Make sure the iCloud Key-Value Store value matches your unique key-value store ID. Your unique ID should follow the format `$(TeamIdentifierPrefix)<your key-value_store ID>`. The default value should be something like, `$(TeamIdentifierPrefix)$(CFBundleIdentifier)`. This is fine for single platform apps, but if your app is on multiple Apple OSs, it’s important that the key-value store ID portions are the same for both targets.
14+
15+
### Configuring the Devices:
16+
17+
In addition to configuring the project itself, you also need to prepare the devices that will run the project.
18+
19+
- Ensure that iCloud Drive is enabled on both iOS and macOS devices.
20+
- Log into both devices using the same iCloud account.
21+
22+
If you have any questions or run into any issues, feel free to reach out or submit an issue.

documentation/en/usage-syncstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct SyncStateExampleApp: App {
122122

123123
### Enabling iCloud Key-Value Store
124124

125-
To enable iCloud syncing, make sure you follow this guide to enable the iCloud Key-Value Store capability: [Starting to use SyncState](https://github.com/0xLeif/AppState/wiki/Starting-to-use-SyncState).
125+
To enable iCloud syncing, make sure you follow this guide to enable the iCloud Key-Value Store capability: [Starting to use SyncState](starting-to-use-syncstate.md).
126126

127127
### SyncState: Notes on iCloud Storage
128128

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Para utilizar SyncState, primero deberá configurar las capacidades y los derechos de iCloud en su proyecto de Xcode. Aquí hay una introducción para guiarlo a través del proceso:
2+
3+
### Configuración de las capacidades de iCloud:
4+
5+
1. Abra su proyecto de Xcode y ajuste los identificadores de paquete para los destinos de macOS e iOS para que coincidan con los suyos.
6+
2. A continuación, debe agregar la capacidad de iCloud a su proyecto. Para hacer esto, seleccione su proyecto en el Navegador de proyectos, luego seleccione su destino. En la barra de pestañas en la parte superior del área del editor, haga clic en "Capabilities".
7+
3. En el panel Capacidades, active iCloud haciendo clic en el interruptor de la fila de iCloud. Debería ver que el interruptor se mueve a la posición de encendido.
8+
4. Una vez que haya habilitado iCloud, debe habilitar el almacenamiento de clave-valor. Puede hacerlo marcando la casilla de verificación "Key-Value storage".
9+
10+
### Actualización de los derechos:
11+
12+
1. Ahora deberá actualizar su archivo de derechos. Abra el archivo de derechos para su destino.
13+
2. Asegúrese de que el valor del Almacén de clave-valor de iCloud coincida con su ID de almacén de clave-valor único. Su ID único debe seguir el formato `$(TeamIdentifierPrefix)<su_ID_de_almacén_de_clave-valor>`. El valor predeterminado debería ser algo así como `$(TeamIdentifierPrefix)$(CFBundleIdentifier)`. Esto está bien para aplicaciones de una sola plataforma, pero if su aplicación está en varios sistemas operativos de Apple, es importante que las partes de la ID del almacén de clave-valor sean las mismas para ambos destinos.
14+
15+
### Configuración de los dispositivos:
16+
17+
Además de configurar el proyecto en sí, también debe preparar los dispositivos que ejecutarán el proyecto.
18+
19+
- Asegúrese de que iCloud Drive esté habilitado en los dispositivos iOS y macOS.
20+
- Inicie sesión en ambos dispositivos con la misma cuenta de iCloud.
21+
22+
Si tiene alguna pregunta o tiene algún problema, no dude en comunicarse o enviar un problema.

documentation/es/usage-syncstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct SyncStateExampleApp: App {
122122

123123
### Habilitar el Almacenamiento de Clave-Valor de iCloud
124124

125-
Para habilitar la sincronización de iCloud, asegúrese de seguir esta guía para habilitar la capacidad de Almacenamiento de Clave-Valor de iCloud: [Comenzando a usar SyncState](https://github.com/0xLeif/AppState/wiki/Starting-to-use-SyncState).
125+
Para habilitar la sincronización de iCloud, asegúrese de seguir esta guía para habilitar la capacidad de almacenamiento de clave-valor de iCloud: [Comenzando a usar SyncState](starting-to-use-syncstate.md).
126126

127127
### SyncState: Notas sobre el Almacenamiento de iCloud
128128

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Pour utiliser SyncState, vous devrez d'abord configurer les fonctionnalités et les autorisations iCloud dans votre projet Xcode. Voici une introduction pour vous guider tout au long du processus :
2+
3+
### Configuration des fonctionnalités iCloud :
4+
5+
1. Ouvrez votre projet Xcode et ajustez les identifiants de lot pour les cibles macOS et iOS afin qu'ils correspondent aux vôtres.
6+
2. Ensuite, vous devez ajouter la fonctionnalité iCloud à votre projet. Pour ce faire, sélectionnez votre projet dans le navigateur de projets, puis sélectionnez votre cible. Dans la barre d'onglets en haut de la zone de l'éditeur, cliquez sur « Capacités ».
7+
3. Dans le volet Capacités, activez iCloud en cliquant sur le commutateur de la ligne iCloud. Vous devriez voir le commutateur passer en position Activé.
8+
4. Une fois que vous avez activé iCloud, vous devez activer le stockage clé-valeur. Vous pouvez le faire en cochant la case « Stockage clé-valeur ».
9+
10+
### Mise à jour des autorisations :
11+
12+
1. Vous devrez maintenant mettre à jour votre fichier d'autorisations. Ouvrez le fichier d'autorisations de votre cible.
13+
2. Assurez-vous que la valeur du magasin clé-valeur iCloud correspond à votre ID de magasin clé-valeur unique. Votre ID unique doit respecter le format `$(TeamIdentifierPrefix)<votre_ID_de_magasin_clé-valeur>`. La valeur par défaut doit être quelque chose comme `$(TeamIdentifierPrefix)$(CFBundleIdentifier)`. C'est très bien pour les applications à plate-forme unique, mais si votre application se trouve sur plusieurs systèmes d'exploitation Apple, il est important que les parties de l'ID du magasin clé-valeur soient les mêmes pour les deux cibles.
14+
15+
### Configuration des appareils :
16+
17+
En plus de configurer le projet lui-même, vous devez également préparer les appareils qui exécuteront le projet.
18+
19+
- Assurez-vous qu'iCloud Drive est activé sur les appareils iOS и macOS.
20+
- Connectez-vous aux deux appareils avec le même compte iCloud.
21+
22+
Si vous avez des questions ou rencontrez des problèmes, n'hésitez pas à nous contacter ou à soumettre un problème.

documentation/fr/usage-syncstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct SyncStateExampleApp: App {
122122

123123
### Activer le Magasin Clé-Valeur iCloud
124124

125-
Pour activer la synchronisation iCloud, assurez-vous de suivre ce guide pour activer la capacité de Magasin Clé-Valeur iCloud : [Commencer à utiliser SyncState](https://github.com/0xLeif/AppState/wiki/Starting-to-use-SyncState).
125+
Pour activer la synchronisation iCloud, assurez-vous de suivre ce guide pour activer la fonctionnalité de stockage clé-valeur iCloud : [Démarrer avec SyncState](starting-to-use-syncstate.md).
126126

127127
### SyncState : Notes sur le Stockage iCloud
128128

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
SyncState का उपयोग करने के लिए, आपको सबसे पहले अपने Xcode प्रोजेक्ट में iCloud क्षमताओं और अधिकारों को सेट करना होगा। प्रक्रिया में आपका मार्गदर्शन करने के लिए यहाँ एक परिचय दिया गया है:
2+
3+
### iCloud क्षमताओं को सेट करना:
4+
5+
1. अपना Xcode प्रोजेक्ट खोलें और macOS और iOS दोनों लक्ष्यों के लिए बंडल पहचानकर्ताओं को अपने से मेल खाने के लिए समायोजित करें।
6+
2. इसके बाद, आपको अपने प्रोजेक्ट में iCloud क्षमता को जोड़ना होगा। ऐसा करने के लिए, प्रोजेक्ट नेविगेटर में अपने प्रोजेक्ट का चयन करें, फिर अपने लक्ष्य का चयन करें। संपादक क्षेत्र के शीर्ष पर टैब बार में, "Capabilities" पर क्लिक करें।
7+
3. क्षमताएँ फलक में, iCloud पंक्ति में स्विच पर क्लिक करके iCloud चालू करें। आपको स्विच को चालू स्थिति में ले जाते हुए देखना चाहिए।
8+
4. एक बार जब आप iCloud सक्षम कर लेते हैं, तो आपको कुंजी-मूल्य संग्रहण सक्षम करने की आवश्यकता होती है। आप "Key-Value storage" चेकबॉक्स को चेक करके ऐसा कर सकते हैं।
9+
10+
### अधिकारों को अद्यतन करना:
11+
12+
1. अब आपको अपनी अधिकार फ़ाइल को अद्यतन करने की आवश्यकता होगी। अपने लक्ष्य के लिए अधिकार फ़ाइल खोलें।
13+
2. सुनिश्चित करें कि iCloud कुंजी-मूल्य स्टोर मान आपकी अद्वितीय कुंजी-मूल्य स्टोर ID से मेल खाता है। आपकी अद्वितीय ID को `$(TeamIdentifierPrefix)<आपकी कुंजी-मूल्य_स्टोर ID>` प्रारूप का पालन करना चाहिए। डिफ़ॉल्ट मान कुछ इस तरह होना चाहिए, `$(TeamIdentifierPrefix)$(CFBundleIdentifier)`। यह एकल प्लेटफ़ॉर्म ऐप्स के लिए ठीक है, लेकिन यदि आपका ऐप कई Apple OS पर है, तो यह महत्वपूर्ण है कि कुंजी-मूल्य स्टोर ID के भाग दोनों लक्ष्यों के लिए समान हों।
14+
15+
### उपकरणों को कॉन्फ़िगर करना:
16+
17+
प्रोजेक्ट को कॉन्फ़िगर करने के अलावा, आपको उन उपकरणों को भी तैयार करने की आवश्यकता है जो प्रोजेक्ट को चलाएंगे।
18+
19+
- सुनिश्चित करें कि iCloud ड्राइव iOS और macOS दोनों उपकरणों पर सक्षम है।
20+
- एक ही iCloud खाते का उपयोग करके दोनों उपकरणों में लॉग इन करें।
21+
22+
यदि आपके कोई प्रश्न हैं या कोई समस्या आती है, तो बेझिझक संपर्क करें या कोई समस्या सबमिट करें।

documentation/hi/usage-syncstate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct SyncStateExampleApp: App {
122122

123123
### iCloud की-वैल्यू स्टोर सक्षम करना
124124

125-
iCloud सिंक्रनाइज़ेशन को सक्षम करने के लिए, सुनिश्चित करें कि आप iCloud की-वैल्यू स्टोर क्षमता को सक्षम करने के लिए इस गाइड का पालन करते हैं: [SyncState का उपयोग शुरू करना](https://github.com/0xLeif/AppState/wiki/Starting-to-use-SyncState)
125+
iCloud सिंकिंग सक्षम करने के लिए, सुनिश्चित करें कि आप iCloud कुंजी-मूल्य संग्रहण क्षमता को सक्षम करने के लिए इस गाइड का पालन करते हैं: [SyncState का उपयोग शुरू करना](starting-to-use-syncstate.md).
126126

127127
### SyncState: iCloud संग्रहण पर नोट्स
128128

0 commit comments

Comments
 (0)