Skip to content

Commit c287ce8

Browse files
authored
Update CONTRIBUTING.md
1 parent 0b66939 commit c287ce8

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,27 @@ flutter test test/widgets/codegen_previewer_test.dart
129129

130130
Instead of copy pasting from pub.dev, it is recommended that you use `flutter pub add package_name` to add a new package to `pubspec.yaml`. You can read more [here](https://docs.flutter.dev/packages-and-plugins/using-packages#adding-a-package-dependency-to-an-app-using-flutter-pub-add).
131131

132-
## Troubleshooting Common Issues
132+
## Platform-specific Additional Instructions
133133

134-
### Network Connection Issues on macOS
134+
### macOS
135135

136-
If you encounter a network connection error similar to the following while running your Flutter app on macOS:
136+
Add below keys to `macos/Runner/DebugProfile.entitlements` and `macos/Runner/Release.entitlements`.
137137

138138
```
139-
ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1)
139+
<key>com.apple.security.network.server</key>
140+
<true/>
141+
<key>com.apple.security.network.client</key>
142+
<true/>
143+
<key>com.apple.security.files.downloads.read-write</key>
144+
<true/>
145+
<key>com.apple.security.files.user-selected.read-write</key>
146+
<true/>
140147
```
141-
Add below key to `macos/Runner/DebugProfile.entitlements` and `macos/Runner/Release.entitlements`.
148+
149+
If not added, you can encounter a network connection error similar to the following while running your Flutter app on macOS:
142150

143151
```
144-
<key>com.apple.security.network.client</key>
145-
<true/>
152+
ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1)
146153
```
147154

148155
You can read more [here](https://docs.flutter.dev/platform-integration/macos/building#setting-up-entitlements)

0 commit comments

Comments
 (0)