Skip to content

Commit 0965c5b

Browse files
Updated ACS Chat SDK quickstart for iOS
1 parent 9d8249d commit 0965c5b

File tree

2 files changed

+12
-3
lines changed
  • articles/communication-services/quickstarts

2 files changed

+12
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)