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: DEVELOPMENT.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,13 @@ Most of the logics are implemented inside the package `Core` and `Tool`.
29
29
30
30
1. Update the xcconfig files, bridgeLaunchAgent.plist, and Tool/Configs/Configurations.swift.
31
31
2. Build or archive the Copilot for Xcode target.
32
-
3. If Xcode complains that the pro package doesn't exist, please remove the package from the project.
33
32
34
-
## Testing Source Editor Extension
33
+
## Testing Source Editor Extension and Service
35
34
36
35
Just run both the `ExtensionService`, `CommunicationBridge` and the `EditorExtension` Target. Read [Testing Your Source Editor Extension](https://developer.apple.com/documentation/xcodekit/testing_your_source_editor_extension) for more details.
37
36
37
+
If you are not testing the source editor extension, it's recommended to archive and install a debug version of the Copilot for Xcode and test with the bundled source editor extension.
38
+
38
39
## SwiftUI Previews
39
40
40
41
Looks like SwiftUI Previews are not very happy with Objective-C packages when running with app targets. To use previews, please switch schemes to the package product targets.
0 commit comments