Skip to content

Commit 477d2fe

Browse files
Merge pull request #303991 from vhuseinova-msft/vhuseinova/acs-chat-ios-quickstarts-update
Updated ACS Chat SDK quickstart for iOS
2 parents 71ba75b + 7bfe845 commit 477d2fe

File tree

2 files changed

+16
-7
lines changed
  • articles/communication-services/quickstarts

2 files changed

+16
-7
lines changed

articles/communication-services/quickstarts/chat/includes/chat-swift.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: include file
33
description: include file
44
services: azure-communication-services
5-
author: probableprime
5+
author: awang119
66
manager: mikben
77
ms.service: azure-communication-services
88
ms.subservice: azure-communication-services
99
ms.date: 06/30/2021
1010
ms.topic: include
1111
ms.custom: include file
12-
ms.author: rifox
12+
ms.author: awang119
1313
---
1414

1515
## Prerequisites
@@ -31,7 +31,7 @@ ms.author: rifox
3131

3232
Open Xcode and select **Create a new Xcode project**. Then select **iOS** as the platform and **App** for the template.
3333

34-
For the project name, enter **ChatQuickstart**. Then select **Storyboard** as the interface, **UIKit App Delegate** as the life cycle, and **Swift** as the language.
34+
For the project name, enter **ChatQuickstart**. Then select **Storyboard** as the interface, and **Swift** as the language.
3535

3636
Select **Next**, and choose the directory where you want the project to be created.
3737

@@ -394,9 +394,16 @@ For more information, see [Enable Push Notification in your chat app](../../../t
394394

395395
## Run the code
396396

397-
In Xcode hit the Run button to build and run the project. In the console, you can view the output from the code and the logger output from the ChatClient.
397+
### Turn off User Script Sandboxing
398+
399+
Some of the scripts within the linked libraries write files during the build process. To enable file writing, disable the User Script Sandboxing in Xcode.
400+
401+
In the Xcode project, under **Build Settings**, set the **User Script Sandboxing** option to **No**. To find the setting, change the filter from **Basic** to **All** or use the search bar.
398402

399-
**Note:** Set `Build Settings > Build Options > Enable Bitcode` to `No`. Currently the AzureCommunicationChat SDK for iOS doesn't support enabling bitcode, the following [GitHub issue](https://github.com/Azure/azure-sdk-for-ios/issues/787) is tracking the issue.
403+
:::image type="content" source="../media/ios/disable-user-script-sandbox.png" alt-text="Screenshot that shows the Build Settings option to turn off User Script Sandboxing.":::
404+
405+
### Run the project
406+
In Xcode hit the Run button to build and run the project. In the console, you can view the output from the code and the logger output from the ChatClient.
400407

401408
## Sample code
402409

articles/communication-services/quickstarts/ui-library/includes/get-started-chat/ios.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
author: Leah-Xia-Microsoft
3-
ms.author: leahxia
2+
author: awang119
3+
ms.author: awang119
44
ms.date: 01/04/2023
55
ms.topic: include
66
ms.service: azure-communication-services
@@ -59,6 +59,8 @@ In Xcode, create a new project.
5959

6060
### Turn off User Script Sandboxing
6161

62+
Some of the scripts within the linked libraries write files during the build process. To enable file writing, disable the User Script Sandboxing in Xcode.
63+
6264
In the Xcode project, under **Build Settings**, set the **User Script Sandboxing** option to **No**. To find the setting, change the filter from **Basic** to **All** or use the search bar.
6365

6466
:::image type="content" source="../../media/xcode-sandbox-option.png" alt-text="Screenshot that shows the Build Settings option to turn off User Script Sandboxing.":::

0 commit comments

Comments
 (0)