Skip to content

Commit a94e308

Browse files
committed
Merge branch 'release/0.18.0'
2 parents b5f91b6 + 22e3fa4 commit a94e308

83 files changed

Lines changed: 2446 additions & 293 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,12 @@ iOSInjectionProject/
123123

124124
# End of
125125
https://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager
126+
126127
Secrets.xcconfig
128+
Python/Python.xcframework
129+
Python/python-stdlib
130+
Python/site-packages/*
131+
!Python/site-packages/requirements.txt
132+
!Python/site-packages/install.sh
133+
134+
Python/VERSIONS

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
C87B03AC293B2CF300C77EAE /* XcodeKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C81458902939EFDC00135263 /* XcodeKit.framework */; };
3939
C87B03AD293B2CF300C77EAE /* XcodeKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C81458902939EFDC00135263 /* XcodeKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
4040
C882175C294187EF00A22FD3 /* Client in Frameworks */ = {isa = PBXBuildFile; productRef = C882175B294187EF00A22FD3 /* Client */; };
41+
C8A3AE592A2885A70046E809 /* InitializePython.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8A3AE582A2885A70046E809 /* InitializePython.swift */; };
4142
C8C8B60929AFA35F00034BEE /* CopilotForXcodeExtensionService.app in Embed XPCService */ = {isa = PBXBuildFile; fileRef = C861E60E2994F6070056CB02 /* CopilotForXcodeExtensionService.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
4243
C8DCF00029CE11D500FDDDD7 /* ChatWithSelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */; };
4344
/* End PBXBuildFile section */
@@ -143,6 +144,7 @@
143144
C8189B202938973000C9DCDA /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
144145
C8189B222938973000C9DCDA /* Copilot_for_Xcode.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Copilot_for_Xcode.entitlements; sourceTree = "<group>"; };
145146
C8189B282938979000C9DCDA /* Core */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Core; sourceTree = "<group>"; };
147+
C81D181E2A1B509B006C1B70 /* Tool */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Tool; sourceTree = "<group>"; };
146148
C81E867D296FE4420026E908 /* Version.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Version.xcconfig; sourceTree = "<group>"; };
147149
C8216B70298036EC00AD38C7 /* Helper */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Helper; sourceTree = BUILT_PRODUCTS_DIR; };
148150
C8216B72298036EC00AD38C7 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
@@ -164,6 +166,10 @@
164166
C87B03A8293B262600C77EAE /* NextSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NextSuggestionCommand.swift; sourceTree = "<group>"; };
165167
C87B03AA293B262E00C77EAE /* PreviousSuggestionCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviousSuggestionCommand.swift; sourceTree = "<group>"; };
166168
C887BC832965D96000931567 /* DEVELOPMENT.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = DEVELOPMENT.md; sourceTree = "<group>"; };
169+
C8A3AE512A2883430046E809 /* Python.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = Python.xcframework; sourceTree = "<group>"; };
170+
C8A3AE582A2885A70046E809 /* InitializePython.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InitializePython.swift; sourceTree = "<group>"; };
171+
C8A3AE5A2A288AF90046E809 /* site-packages */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "site-packages"; sourceTree = "<group>"; };
172+
C8A3B1762A288FA90046E809 /* python-stdlib */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "python-stdlib"; sourceTree = "<group>"; };
167173
C8CD828229B88006008D044D /* TestPlan.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = TestPlan.xctestplan; sourceTree = "<group>"; };
168174
C8DCEFFF29CE11D500FDDDD7 /* ChatWithSelection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatWithSelection.swift; sourceTree = "<group>"; };
169175
/* End PBXFileReference section */
@@ -248,11 +254,13 @@
248254
C81458AD293A009600135263 /* Config.xcconfig */,
249255
C81458AE293A009800135263 /* Config.debug.xcconfig */,
250256
C8CD828229B88006008D044D /* TestPlan.xctestplan */,
257+
C81D181E2A1B509B006C1B70 /* Tool */,
251258
C8189B282938979000C9DCDA /* Core */,
252259
C8189B182938972F00C9DCDA /* Copilot for Xcode */,
253260
C81458922939EFDC00135263 /* EditorExtension */,
254261
C8216B71298036EC00AD38C7 /* Helper */,
255262
C861E60F2994F6070056CB02 /* ExtensionService */,
263+
C81BBF5A2A2CA0B8000B4F61 /* Python */,
256264
C814588D2939EFDC00135263 /* Frameworks */,
257265
C8189B172938972F00C9DCDA /* Products */,
258266
);
@@ -289,6 +297,16 @@
289297
path = "Preview Content";
290298
sourceTree = "<group>";
291299
};
300+
C81BBF5A2A2CA0B8000B4F61 /* Python */ = {
301+
isa = PBXGroup;
302+
children = (
303+
C8A3AE512A2883430046E809 /* Python.xcframework */,
304+
C8A3B1762A288FA90046E809 /* python-stdlib */,
305+
C8A3AE5A2A288AF90046E809 /* site-packages */,
306+
);
307+
path = Python;
308+
sourceTree = "<group>";
309+
};
292310
C8216B71298036EC00AD38C7 /* Helper */ = {
293311
isa = PBXGroup;
294312
children = (
@@ -304,6 +322,7 @@
304322
C81291D92994FE7900196E12 /* Info.plist */,
305323
C861E61F2994F6390056CB02 /* ServiceDelegate.swift */,
306324
C861E6102994F6070056CB02 /* AppDelegate.swift */,
325+
C8A3AE582A2885A70046E809 /* InitializePython.swift */,
307326
C81291D52994FE6900196E12 /* Main.storyboard */,
308327
C861E6142994F6080056CB02 /* Assets.xcassets */,
309328
C861E6192994F6080056CB02 /* ExtensionService.entitlements */,
@@ -388,6 +407,8 @@
388407
C861E60A2994F6070056CB02 /* Sources */,
389408
C861E60B2994F6070056CB02 /* Frameworks */,
390409
C861E60C2994F6070056CB02 /* Resources */,
410+
C8A3AE572A28852D0046E809 /* Sign Python STD */,
411+
C8A3B1782A2894E10046E809 /* Sign Python Site Packages */,
391412
);
392413
buildRules = (
393414
);
@@ -477,6 +498,47 @@
477498
};
478499
/* End PBXResourcesBuildPhase section */
479500

501+
/* Begin PBXShellScriptBuildPhase section */
502+
C8A3AE572A28852D0046E809 /* Sign Python STD */ = {
503+
isa = PBXShellScriptBuildPhase;
504+
alwaysOutOfDate = 1;
505+
buildActionMask = 2147483647;
506+
files = (
507+
);
508+
inputFileListPaths = (
509+
);
510+
inputPaths = (
511+
);
512+
name = "Sign Python STD";
513+
outputFileListPaths = (
514+
);
515+
outputPaths = (
516+
);
517+
runOnlyForDeploymentPostprocessing = 0;
518+
shellPath = /bin/sh;
519+
shellScript = "#set -e\n#echo \"Signing as $EXPANDED_CODE_SIGN_IDENTITY_NAME ($EXPANDED_CODE_SIGN_IDENTITY)\"\n#find \"$CODESIGNING_FOLDER_PATH/Contents/Resources/python-stdlib/lib-dynload\" -name \"*.so\" -exec /usr/bin/codesign --force --sign \"$EXPANDED_CODE_SIGN_IDENTITY\" -o runtime --timestamp=none --preserve-metadata=identifier,entitlements,flags --generate-entitlement-der {} \\;\n";
520+
};
521+
C8A3B1782A2894E10046E809 /* Sign Python Site Packages */ = {
522+
isa = PBXShellScriptBuildPhase;
523+
alwaysOutOfDate = 1;
524+
buildActionMask = 2147483647;
525+
files = (
526+
);
527+
inputFileListPaths = (
528+
);
529+
inputPaths = (
530+
);
531+
name = "Sign Python Site Packages";
532+
outputFileListPaths = (
533+
);
534+
outputPaths = (
535+
);
536+
runOnlyForDeploymentPostprocessing = 0;
537+
shellPath = /bin/sh;
538+
shellScript = "#set -e\n#echo \"Signing as $EXPANDED_CODE_SIGN_IDENTITY_NAME ($EXPANDED_CODE_SIGN_IDENTITY)\"\n#find \"$CODESIGNING_FOLDER_PATH/Contents/Resources/site-packages\" -type f \\( -name \"*.so\" -o -name \"*.dylib\" \\) -exec /usr/bin/codesign --force --sign \"$EXPANDED_CODE_SIGN_IDENTITY\" -o runtime --timestamp=none --preserve-metadata=identifier,entitlements,flags --generate-entitlement-der {} \\;\n";
539+
};
540+
/* End PBXShellScriptBuildPhase section */
541+
480542
/* Begin PBXSourcesBuildPhase section */
481543
C81458882939EFDC00135263 /* Sources */ = {
482544
isa = PBXSourcesBuildPhase;
@@ -520,6 +582,7 @@
520582
isa = PBXSourcesBuildPhase;
521583
buildActionMask = 2147483647;
522584
files = (
585+
C8A3AE592A2885A70046E809 /* InitializePython.swift in Sources */,
523586
C861E6202994F63A0056CB02 /* ServiceDelegate.swift in Sources */,
524587
C861E6112994F6070056CB02 /* AppDelegate.swift in Sources */,
525588
);

Copilot for Xcode.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)