Skip to content
Permalink
Browse files

Fix for macOS Catalina requiring permission or die

  • Loading branch information...
samwize committed Oct 12, 2019
1 parent a39b0bd commit 569d19af64448124aae156b1786ec08d3739343e
@@ -9,6 +9,7 @@
/* Begin PBXBuildFile section */
007BE2EC1C011FD100232768 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 007BE2EB1C011FD100232768 /* main.m */; };
007BE2F11C0168F400232768 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007BE2F01C0168F400232768 /* AVFoundation.framework */; };
3E3733842352410100CD0636 /* Info.plist in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3E37337823523AD800CD0636 /* Info.plist */; };
8DD76F790486A8DE00D96B5E /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09AB6884FE841BABC02AAC07 /* CoreFoundation.framework */; };
D44480A7105BFF5600756CA8 /* ImageSnap.m in Sources */ = {isa = PBXBuildFile; fileRef = D44480A6105BFF5600756CA8 /* ImageSnap.m */; };
D48D572910598E4000885DA8 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D48D572810598E4000885DA8 /* Cocoa.framework */; };
@@ -18,12 +19,13 @@
/* Begin PBXCopyFilesBuildPhase section */
8DD76F7B0486A8DE00D96B5E /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 8;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
buildActionMask = 12;
dstPath = "";
dstSubfolderSpec = 16;
files = (
3E3733842352410100CD0636 /* Info.plist in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

@@ -32,6 +34,7 @@
007BE2EF1C015B1C00232768 /* StyleSettings.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = StyleSettings.plist; sourceTree = "<group>"; };
007BE2F01C0168F400232768 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
09AB6884FE841BABC02AAC07 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
3E37337823523AD800CD0636 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D44480A5105BFF5600756CA8 /* ImageSnap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageSnap.h; sourceTree = "<group>"; };
D44480A6105BFF5600756CA8 /* ImageSnap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageSnap.m; sourceTree = "<group>"; };
D48D572810598E4000885DA8 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
@@ -58,6 +61,7 @@
08FB7794FE84155DC02AAC07 /* ImageSnap */ = {
isa = PBXGroup;
children = (
3E37337823523AD800CD0636 /* Info.plist */,
007BE2EF1C015B1C00232768 /* StyleSettings.plist */,
08FB7795FE84155DC02AAC07 /* Source */,
C6859E96029091FE04C91782 /* Documentation */,
@@ -131,6 +135,7 @@
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1110;
LastUpgradeCheck = 0700;
};
buildConfigurationList = 1DEB924B08733DCA0010E9CD /* Build configuration list for PBXProject "ImageSnap" */;
@@ -191,8 +196,10 @@
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
INSTALL_PATH = /usr/local/bin;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "";
PRODUCT_NAME = imagesnap;
RUN_CLANG_STATIC_ANALYZER = YES;
SDKROOT = macosx;
@@ -206,8 +213,10 @@
CLANG_ENABLE_OBJC_ARC = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
INSTALL_PATH = /usr/local/bin;
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "";
PRODUCT_NAME = imagesnap;
SDKROOT = macosx;
};
@@ -221,6 +230,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
@@ -234,6 +244,7 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
MACOSX_DEPLOYMENT_TARGET = 10.10;
SDKROOT = macosx;
VALID_ARCHS = "i386 x86_64";
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>NSCameraUsageDescription</key>
<string>take your photo</string>
</dict>
</plist>

1 comment on commit 569d19a

@skysheng74

This comment has been minimized.

Copy link

skysheng74 commented on 569d19a Nov 21, 2019

@samwize Could you please help to build a package for the "Fix for macOS Catalina requiring permission or die". Thanks!

Please sign in to comment.
You can’t perform that action at this time.