Skip to content

Commit ee71778

Browse files
committed
Changes project file to be compatible with Xcode 8 and adds NSAppTransportSecurity / NSAllowsArbitraryLoads=YES key to make it work on macOS 10.11
1 parent 855980b commit ee71778

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

Resources/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<string>public.app-category.utilities</string>
4646
<key>LSMinimumSystemVersion</key>
4747
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
48+
<key>NSAppTransportSecurity</key>
49+
<dict>
50+
<key>NSAllowsArbitraryLoads</key>
51+
<true/>
52+
</dict>
4853
<key>NSHumanReadableCopyright</key>
4954
<string>Written 2024 by Thomas Tempelmann.</string>
5055
<key>NSMainNibFile</key>

SSDP Browser.xcodeproj/project.pbxproj

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 48;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -159,6 +159,7 @@
159159
TargetAttributes = {
160160
A4FEAA612B8E349F00FD51D6 = {
161161
CreatedOnToolsVersion = 10.1;
162+
ProvisioningStyle = Automatic;
162163
SystemCapabilities = {
163164
com.apple.HardenedRuntime = {
164165
enabled = 1;
@@ -168,7 +169,7 @@
168169
};
169170
};
170171
buildConfigurationList = A4051F812B7D40AD003F8770 /* Build configuration list for PBXProject "SSDP Browser" */;
171-
compatibilityVersion = "Xcode 9.3";
172+
compatibilityVersion = "Xcode 8.0";
172173
developmentRegion = en;
173174
hasScannedForEncodings = 0;
174175
knownRegions = (
@@ -352,8 +353,7 @@
352353
MTL_ENABLE_DEBUG_INFO = NO;
353354
MTL_FAST_MATH = YES;
354355
SDKROOT = macosx;
355-
SWIFT_COMPILATION_MODE = wholemodule;
356-
SWIFT_OPTIMIZATION_LEVEL = "-O";
356+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
357357
SWIFT_VERSION = 4.2;
358358
};
359359
name = Release;
@@ -368,14 +368,10 @@
368368
DEVELOPMENT_TEAM = 25856V4B4X;
369369
ENABLE_HARDENED_RUNTIME = YES;
370370
INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
371-
LD_RUNPATH_SEARCH_PATHS = (
372-
"$(inherited)",
373-
"@executable_path/../Frameworks",
374-
);
371+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
375372
MACOSX_DEPLOYMENT_TARGET = 10.11;
376373
PRODUCT_BUNDLE_IDENTIFIER = "org.tempel.ssdp-browser";
377374
PRODUCT_NAME = "$(TARGET_NAME)";
378-
SWIFT_OBJC_BRIDGING_HEADER = "SSDP Browser-Bridging-Header.h";
379375
};
380376
name = Debug;
381377
};
@@ -389,14 +385,10 @@
389385
DEVELOPMENT_TEAM = 25856V4B4X;
390386
ENABLE_HARDENED_RUNTIME = YES;
391387
INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
392-
LD_RUNPATH_SEARCH_PATHS = (
393-
"$(inherited)",
394-
"@executable_path/../Frameworks",
395-
);
388+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
396389
MACOSX_DEPLOYMENT_TARGET = 10.11;
397390
PRODUCT_BUNDLE_IDENTIFIER = "org.tempel.ssdp-browser";
398391
PRODUCT_NAME = "$(TARGET_NAME)";
399-
SWIFT_OBJC_BRIDGING_HEADER = "SSDP Browser-Bridging-Header.h";
400392
};
401393
name = Release;
402394
};

0 commit comments

Comments
 (0)