You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/chat/includes/chat-swift.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
title: include file
3
3
description: include file
4
4
services: azure-communication-services
5
-
author: probableprime
5
+
author: awang119
6
6
manager: mikben
7
7
ms.service: azure-communication-services
8
8
ms.subservice: azure-communication-services
9
9
ms.date: 06/30/2021
10
10
ms.topic: include
11
11
ms.custom: include file
12
-
ms.author: rifox
12
+
ms.author: awang119
13
13
---
14
14
15
15
## Prerequisites
@@ -31,7 +31,7 @@ ms.author: rifox
31
31
32
32
Open Xcode and select **Create a new Xcode project**. Then select **iOS** as the platform and **App** for the template.
33
33
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.
35
35
36
36
Select **Next**, and choose the directory where you want the project to be created.
37
37
@@ -394,9 +394,16 @@ For more information, see [Enable Push Notification in your chat app](../../../t
394
394
395
395
## Run the code
396
396
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.
398
402
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.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/ui-library/includes/get-started-chat/ios.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
author: Leah-Xia-Microsoft
3
-
ms.author: leahxia
2
+
author: awang119
3
+
ms.author: awang119
4
4
ms.date: 01/04/2023
5
5
ms.topic: include
6
6
ms.service: azure-communication-services
@@ -59,6 +59,8 @@ In Xcode, create a new project.
59
59
60
60
### Turn off User Script Sandboxing
61
61
62
+
Some of the scripts within the linked libraries write files during the build process. To enable file writing, disable the UserScriptSandboxinginXcode.
63
+
62
64
In the Xcode project, under **BuildSettings**, set the **UserScriptSandboxing** option to **No**. To find the setting, change the filter from **Basic** to **All**or use the search bar.
63
65
64
66
:::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