Update src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Atharva Deosthale
2025-10-28 14:33:01 +05:30
committed by GitHub
co-authored by coderabbitai[bot]
parent 8787d8b4bd
commit 1adc92fde0
@@ -39,29 +39,29 @@
const projectId = page.params.project;
const alreadyExistsInstructions = `
Install the Appwrite iOS SDK using the following package URL:
const alreadyExistsInstructions = `
Install the Appwrite iOS SDK using the following package URL:
\`\`\`
https://github.com/appwrite/sdk-for-apple
\`\`\`
\`\`\`
https://github.com/appwrite/sdk-for-apple
\`\`\`
From a suitable lib directory, export the Appwrite client as a global variable:
From a suitable lib directory, export the Appwrite client as a global variable:
\`\`\`
let client = Client()
.setEndpoint("https://fra.cloud.appwrite.io/v1")
.setProject("ai-test-atharva")
\`\`\`
let client = Client()
.setEndpoint("https://fra.cloud.appwrite.io/v1")
.setProject("${projectId}")
let account = Account(client)
\`\`\`
let account = Account(client)
\`\`\`
On the homepage of the app, create a button that says "Send a ping" and when clicked, it should call the following function:
On the homepage of the app, create a button that says "Send a ping" and when clicked, it should call the following function:
\`\`\`
appwrite.ping()
\`\`\`
`;
\`\`\`
appwrite.ping()
\`\`\`
`;
const gitCloneCode =
'\ngit clone https://github.com/appwrite/starter-for-ios\ncd starter-for-ios\n';