Skip to content

Commit

Permalink
notarisation
Browse files Browse the repository at this point in the history
  • Loading branch information
miyako committed Jan 10, 2020
1 parent 38ad390 commit d0a83b9
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 15 deletions.
2 changes: 1 addition & 1 deletion zip/English.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* Localized versions of Info.plist keys */CFBundleName = "Zip";CFBundleShortVersionString = "3.7";CFBundleGetInfoString = "Zip version 3.7, Copyright 2019 miyako.";
/* Localized versions of Info.plist keys */CFBundleName = "Zip";CFBundleShortVersionString = "3.8";CFBundleGetInfoString = "Zip version 3.8, Copyright 2020 miyako.";
Expand Down
2 changes: 1 addition & 1 deletion zip/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>3.7</string>
<string>3.8</string>
<key>CFBundleSignature</key>
<string>4D06</string>
<key>CSResourcesFileMapped</key>
Expand Down
Binary file added zip/Zip.dmg
Binary file not shown.
11 changes: 7 additions & 4 deletions zip/Zip.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "USER_NAME=keisuke.miyako@4d.com\nUUID=`uuidgen | tr -d - | tr -d '\\n' | tr '[:upper:]' '[:lower:]'`\nDEVELOPER_ID=`security find-identity -p codesigning -v | egrep 'Developer ID Application[^\"]+' -o`\nPRODUCT_PATH=\"$CODESIGNING_FOLDER_PATH\"\nxattr -cr \"$PRODUCT_PATH\"\ncodesign --remove-signature \"$PRODUCT_PATH\"\ncodesign --verbose --deep --timestamp --force --sign \"$DEVELOPER_ID\" \"$PRODUCT_PATH\"\nDMG_PATH=\"$PROJECT_DIR/$PRODUCT_NAME.dmg\"\nZIP_PATH=\"$PROJECT_DIR/$PRODUCT_NAME.zip\"\nrm \"$DMG_PATH\"\nhdiutil create -format UDBZ -plist -srcfolder \"$PRODUCT_PATH\" \"$DMG_PATH\"\necho \"xcrun stapler staple \\\"$PRODUCT_PATH\\\"\"\necho \"hdiutil create -format UDBZ -plist -srcfolder \\\"$PRODUCT_PATH\\\" \\\"$DMG_PATH\\\" \"\necho \"ditto -c -k --keepParent \\\"$PRODUCT_PATH\\\" \\\"$ZIP_PATH\\\" \"\nxcrun altool --notarize-app --file \"$DMG_PATH\" --username \"$USER_NAME\" --password \"@keychain:altool\" --primary-bundle-id $PRODUCT_BUNDLE_IDENTIFIER.$UUID\nrm -f \"$ZIP_PATH\"\nrm -f \"$DMG_PATH\"\n\n";
shellScript = "USER_NAME=keisuke.miyako@4d.com\nUUID=`uuidgen | tr -d - | tr -d '\\n' | tr '[:upper:]' '[:lower:]'`\nDEVELOPER_ID=`security find-identity -p codesigning -v | egrep 'Developer ID Application[^\"]+' -o`\nPRODUCT_PATH=\"$CODESIGNING_FOLDER_PATH\"\nxattr -cr \"$PRODUCT_PATH\"\ncodesign --remove-signature \"$PRODUCT_PATH\"\ncodesign --verbose --deep --timestamp --force --sign \"$DEVELOPER_ID\" \"$PRODUCT_PATH\"\nDMG_PATH=\"$PROJECT_DIR/$PRODUCT_NAME.dmg\"\nZIP_PATH=\"$PROJECT_DIR/$PRODUCT_NAME.zip\"\nrm \"$DMG_PATH\"\nhdiutil create -format UDBZ -plist -srcfolder \"$PRODUCT_PATH\" \"$DMG_PATH\"\necho \"xcrun stapler staple \\\"$PRODUCT_PATH\\\"\"\necho \"hdiutil create -format UDBZ -plist -srcfolder \\\"$PRODUCT_PATH\\\" \\\"$DMG_PATH\\\" \"\necho \"ditto -c -k --keepParent \\\"$PRODUCT_PATH\\\" \\\"$ZIP_PATH\\\" \"\necho \"spctl -a -vv -t install \\\"$PRODUCT_PATH\\\" \"\nxcrun altool --notarize-app --file \"$DMG_PATH\" --username \"$USER_NAME\" --password \"@keychain:altool\" --primary-bundle-id $PRODUCT_BUNDLE_IDENTIFIER.$UUID\nrm -f \"$ZIP_PATH\"\nrm -f \"$DMG_PATH\"\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -363,6 +363,7 @@
"$(PROJECT_DIR)/a",
);
LIBRARY_STYLE = Bundle;
MARKETING_VERSION = 3.8;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
OTHER_REZFLAGS = "";
Expand Down Expand Up @@ -414,6 +415,7 @@
"$(PROJECT_DIR)/a",
);
LIBRARY_STYLE = Bundle;
MARKETING_VERSION = 3.8;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
OTHER_REZFLAGS = "";
Expand Down Expand Up @@ -463,6 +465,7 @@
"$(PROJECT_DIR)/a",
);
LIBRARY_STYLE = Bundle;
MARKETING_VERSION = 3.8;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
OTHER_REZFLAGS = "";
Expand Down Expand Up @@ -518,7 +521,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = "$(SRCROOT)/build";
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
Expand Down Expand Up @@ -563,7 +566,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.9;
OBJROOT = "$(SRCROOT)/build";
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
Expand Down Expand Up @@ -607,7 +610,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
};
Expand Down
Original file line number Diff line number Diff line change
@@ -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>
Binary file not shown.
Binary file added zip/Zip.zip
Binary file not shown.
Binary file modified zip/test/Plugins/Zip.bundle/Contents/CodeResources
Binary file not shown.
16 changes: 9 additions & 7 deletions zip/test/Plugins/Zip.bundle/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>18F132</string>
<string>19B88</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
Expand All @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>3.7</string>
<string>3.8</string>
<key>CFBundleSignature</key>
<string>4D06</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -27,16 +27,18 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10E1001</string>
<string>11B500</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18E219</string>
<string>19B89</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<string>macosx10.15</string>
<key>DTXcode</key>
<string>1020</string>
<string>1120</string>
<key>DTXcodeBuild</key>
<string>10E1001</string>
<string>11B500</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
</dict>
</plist>
Binary file modified zip/test/Plugins/Zip.bundle/Contents/MacOS/Zip
Binary file not shown.
Binary file not shown.
24 changes: 22 additions & 2 deletions zip/test/Plugins/Zip.bundle/Contents/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<dict>
<key>hash</key>
<data>
yadKdVE1hwkr0fnicv6YHcYGZ0A=
deRXX/MFKIcMeiLEyYT3PV/u+cg=
</data>
<key>optional</key>
<true/>
Expand All @@ -22,36 +22,56 @@
<dict>
<key>QuickLook/Thumbnail.png</key>
<dict>
<key>hash</key>
<data>
hC+U8EqvyIRM1lLakHLfvl4V9Tc=
</data>
<key>hash2</key>
<data>
nGfrvibB5KlzvZgF4Bra+l0HpRloxismgTLePnOwCdk=
</data>
</dict>
<key>Resources/English.lproj/InfoPlist.strings</key>
<dict>
<key>hash</key>
<data>
deRXX/MFKIcMeiLEyYT3PV/u+cg=
</data>
<key>hash2</key>
<data>
kfl/Mz1x891yEHaTIZzUZn8CnJ2vxPNKSM4K7yR5ReU=
9xE95XXkTuR7VzKvVeQIqQgoKytIdmTblwjzSSMF5uw=
</data>
<key>optional</key>
<true/>
</dict>
<key>Resources/constants.xlf</key>
<dict>
<key>hash</key>
<data>
G5gy0iNNwzsg6uWWuO/lxW/Zl10=
</data>
<key>hash2</key>
<data>
Y00lKpVlu7f4mRQnewX310WOJZL9usLCts6uJeznhkg=
</data>
</dict>
<key>Windows/Zip.4DX</key>
<dict>
<key>hash</key>
<data>
+YuwzBv8CMBqwz3dZnn9KZeUqSE=
</data>
<key>hash2</key>
<data>
O/OFpr9us9+sckKhqATgsI/Ipu+fFIrhgzm/a5LJQ1I=
</data>
</dict>
<key>Windows64/Zip.4DX</key>
<dict>
<key>hash</key>
<data>
B7d2OPXHdWlndd3JlDBCZQBA/VU=
</data>
<key>hash2</key>
<data>
ApizZrp9Bm4RBv1NftBz+VL8DAYNz2+TsQSnyJ4FDjQ=
Expand Down

0 comments on commit d0a83b9

Please sign in to comment.