compile + hardened security

This commit is contained in:
Madthijs
2021-05-11 15:43:09 +02:00
parent 6fd1edd2c8
commit 09485b7cf4
5 changed files with 29 additions and 19 deletions

View File

@@ -589,7 +589,7 @@
/* End PBXCopyFilesBuildPhase section */ /* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
5C54D0962629B42100AB55E0 /* AerofoilMac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AerofoilMac.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5C54D0962629B42100AB55E0 /* Aerofoil.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Aerofoil.app; sourceTree = BUILT_PRODUCTS_DIR; };
5C54D09F2629B42400AB55E0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 5C54D09F2629B42400AB55E0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5C54D0A22629B42400AB55E0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 5C54D0A22629B42400AB55E0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5C54D0A42629B42400AB55E0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 5C54D0A42629B42400AB55E0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -1046,7 +1046,7 @@
5C54D0972629B42100AB55E0 /* Products */ = { 5C54D0972629B42100AB55E0 /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
5C54D0962629B42100AB55E0 /* AerofoilMac.app */, 5C54D0962629B42100AB55E0 /* Aerofoil.app */,
5C54D0B32629B5C600AB55E0 /* libAerofoilShared.a */, 5C54D0B32629B5C600AB55E0 /* libAerofoilShared.a */,
); );
name = Products; name = Products;
@@ -1801,9 +1801,9 @@
/* End PBXHeadersBuildPhase section */ /* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
5C54D0952629B42100AB55E0 /* AerofoilMac */ = { 5C54D0952629B42100AB55E0 /* Aerofoil */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 5C54D0AA2629B42400AB55E0 /* Build configuration list for PBXNativeTarget "AerofoilMac" */; buildConfigurationList = 5C54D0AA2629B42400AB55E0 /* Build configuration list for PBXNativeTarget "Aerofoil" */;
buildPhases = ( buildPhases = (
5C54D0922629B42100AB55E0 /* Sources */, 5C54D0922629B42100AB55E0 /* Sources */,
5C54D0932629B42100AB55E0 /* Frameworks */, 5C54D0932629B42100AB55E0 /* Frameworks */,
@@ -1817,9 +1817,9 @@
dependencies = ( dependencies = (
5C54D684262D898F00AB55E0 /* PBXTargetDependency */, 5C54D684262D898F00AB55E0 /* PBXTargetDependency */,
); );
name = AerofoilMac; name = Aerofoil;
productName = AerofoilMac; productName = AerofoilMac;
productReference = 5C54D0962629B42100AB55E0 /* AerofoilMac.app */; productReference = 5C54D0962629B42100AB55E0 /* Aerofoil.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
5C54D0B22629B5C600AB55E0 /* AerofoilShared */ = { 5C54D0B22629B5C600AB55E0 /* AerofoilShared */ = {
@@ -1874,7 +1874,7 @@
); );
projectRoot = ""; projectRoot = "";
targets = ( targets = (
5C54D0952629B42100AB55E0 /* AerofoilMac */, 5C54D0952629B42100AB55E0 /* Aerofoil */,
5C54D0B22629B5C600AB55E0 /* AerofoilShared */, 5C54D0B22629B5C600AB55E0 /* AerofoilShared */,
); );
}; };
@@ -2330,6 +2330,8 @@
CODE_SIGN_ENTITLEMENTS = AerofoilMac/AerofoilMac.entitlements; CODE_SIGN_ENTITLEMENTS = AerofoilMac/AerofoilMac.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3V3B8U8926;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = c11; GCC_C_LANGUAGE_STANDARD = c11;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
__MACOS__, __MACOS__,
@@ -2345,6 +2347,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/../Frameworks", "@executable_path/../Frameworks",
); );
MARKETING_VERSION = 1.1.0;
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.madthijs.AerofoilMac; PRODUCT_BUNDLE_IDENTIFIER = com.madthijs.AerofoilMac;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2360,6 +2363,8 @@
CODE_SIGN_ENTITLEMENTS = AerofoilMac/AerofoilMac.entitlements; CODE_SIGN_ENTITLEMENTS = AerofoilMac/AerofoilMac.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 3V3B8U8926;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = c11; GCC_C_LANGUAGE_STANDARD = c11;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
__MACOS__, __MACOS__,
@@ -2376,6 +2381,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/../Frameworks", "@executable_path/../Frameworks",
); );
MARKETING_VERSION = 1.1.0;
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.madthijs.AerofoilMac; PRODUCT_BUNDLE_IDENTIFIER = com.madthijs.AerofoilMac;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2438,7 +2444,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
5C54D0AA2629B42400AB55E0 /* Build configuration list for PBXNativeTarget "AerofoilMac" */ = { 5C54D0AA2629B42400AB55E0 /* Build configuration list for PBXNativeTarget "Aerofoil" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
5C54D0AB2629B42400AB55E0 /* Debug */, 5C54D0AB2629B42400AB55E0 /* Debug */,

View File

@@ -15,8 +15,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "5C54D0952629B42100AB55E0" BlueprintIdentifier = "5C54D0952629B42100AB55E0"
BuildableName = "AerofoilMac.app" BuildableName = "Aerofoil.app"
BlueprintName = "AerofoilMac" BlueprintName = "Aerofoil"
ReferencedContainer = "container:AerofoilMac.xcodeproj"> ReferencedContainer = "container:AerofoilMac.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
@@ -45,8 +45,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "5C54D0952629B42100AB55E0" BlueprintIdentifier = "5C54D0952629B42100AB55E0"
BuildableName = "AerofoilMac.app" BuildableName = "Aerofoil.app"
BlueprintName = "AerofoilMac" BlueprintName = "Aerofoil"
ReferencedContainer = "container:AerofoilMac.xcodeproj"> ReferencedContainer = "container:AerofoilMac.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>
@@ -68,8 +68,8 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "5C54D0952629B42100AB55E0" BlueprintIdentifier = "5C54D0952629B42100AB55E0"
BuildableName = "AerofoilMac.app" BuildableName = "Aerofoil.app"
BlueprintName = "AerofoilMac" BlueprintName = "Aerofoil"
ReferencedContainer = "container:AerofoilMac.xcodeproj"> ReferencedContainer = "container:AerofoilMac.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>

View File

@@ -4,6 +4,8 @@
<dict> <dict>
<key>com.apple.security.app-sandbox</key> <key>com.apple.security.app-sandbox</key>
<true/> <true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key> <key>com.apple.security.files.user-selected.read-only</key>
<true/> <true/>
</dict> </dict>

View File

@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>1</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>

View File

@@ -264,6 +264,8 @@ Boolean InitializeEmptyHouseInEditor (void)
UpdateMenus(false); UpdateMenus(false);
ReflectCurrentRoom(true); ReflectCurrentRoom(true);
return (true);
} }
#endif #endif