Skip to content

Commit 1acd818

Browse files
committed
Enable NSAllowsArbitraryLoads
1 parent 730669f commit 1acd818

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@
958958
ENABLE_PREVIEWS = YES;
959959
GENERATE_INFOPLIST_FILE = YES;
960960
INFOPLIST_FILE = "Copilot-for-Xcode-Info.plist";
961+
INFOPLIST_KEY_CFBundleDisplayName = "";
961962
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
962963
INFOPLIST_KEY_NSHumanReadableCopyright = "";
963964
LD_RUNPATH_SEARCH_PATHS = (
@@ -991,6 +992,7 @@
991992
ENABLE_PREVIEWS = YES;
992993
GENERATE_INFOPLIST_FILE = YES;
993994
INFOPLIST_FILE = "Copilot-for-Xcode-Info.plist";
995+
INFOPLIST_KEY_CFBundleDisplayName = "";
994996
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
995997
INFOPLIST_KEY_NSHumanReadableCopyright = "";
996998
LD_RUNPATH_SEARCH_PATHS = (

Copilot-for-Xcode-Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
<string>$(EXTENSION_BUNDLE_NAME)</string>
1313
<key>HOST_APP_NAME</key>
1414
<string>$(HOST_APP_NAME)</string>
15+
<key>NSAppTransportSecurity</key>
16+
<dict>
17+
<key>NSAllowsArbitraryLoads</key>
18+
<true/>
19+
</dict>
1520
<key>SUEnableJavaScript</key>
1621
<string>YES</string>
1722
<key>SUFeedURL</key>

ExtensionService/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
<string>$(EXTENSION_BUNDLE_NAME)</string>
1313
<key>HOST_APP_NAME</key>
1414
<string>$(HOST_APP_NAME)</string>
15+
<key>NSAppTransportSecurity</key>
16+
<dict>
17+
<key>NSAllowsArbitraryLoads</key>
18+
<true/>
19+
</dict>
1520
<key>TEAM_ID_PREFIX</key>
1621
<string>$(TeamIdentifierPrefix)</string>
1722
<key>XPCService</key>

0 commit comments

Comments
 (0)