|
822 | 822 |
|
823 | 823 | <!-- Replace libjli.dylib symlink with actual file.
|
824 | 824 | Deals with code signing issues on OS X 10.9.5+ -->
|
| 825 | + <!-- |
825 | 826 | <property name="jli.path" value="${contents.dir}/PlugIns/${jdk.prefix}-${jdk.esoteric}+${jdk.build}/Contents/MacOS/libjli.dylib" />
|
826 | 827 | <delete file="${jli.path}" />
|
827 | 828 | <exec executable="cp">
|
828 | 829 | <arg line="${jdk.path.macosx}/Contents/Home/lib/jli/libjli.dylib ${jli.path}"/>
|
829 | 830 | </exec>
|
| 831 | + --> |
830 | 832 |
|
831 | 833 | <copy todir="${contents.dir}/Java" preservelastmodified="true">
|
832 | 834 | <fileset dir=".." includes="core/library/**" /> <!-- why this? -->
|
|
947 | 949 |
|
948 | 950 | <exec executable="/usr/bin/codesign" dir="macosx/work" failonerror="true">
|
949 | 951 | <arg value="--force" />
|
| 952 | + |
950 | 953 | <arg value="--sign" />
|
951 | 954 | <arg value="Developer ID Application" />
|
| 955 | + |
| 956 | + <arg value="--entitlements" /> |
| 957 | + <arg value="../ffs.entitlements" /> |
| 958 | + |
952 | 959 | <arg value="Processing.app/Contents/PlugIns/jdk-${jdk.esoteric}+${jdk.build}" />
|
953 | 960 | </exec>
|
954 | 961 |
|
955 |
| - <!-- codesign can't work inside jars, so instead temporarily unpack the files |
| 962 | + <!-- codesign can't work inside jars? so instead temporarily unpack the files |
956 | 963 | that contain dylib entries, just before doing our big signing event -->
|
957 | 964 |
|
958 | 965 | <property name="unpack.jogl" value="macosx/work/Processing.app/Contents/Java/core/library/jogl-all-natives-macosx-universal" />
|
|
979 | 986 | <!-- remove all other signatures -->
|
980 | 987 | <arg value="--force" />
|
981 | 988 |
|
| 989 | + <arg value="--entitlements" /> |
| 990 | + <arg value="../ffs.entitlements" /> |
| 991 | + |
982 | 992 | <!-- recursively sign everything -->
|
983 | 993 | <arg value="--deep" />
|
984 | 994 |
|
|
1023 | 1033 | <!-- recursively sign everything -->
|
1024 | 1034 | <arg value="--deep" />
|
1025 | 1035 |
|
| 1036 | + <arg value="--entitlements" /> |
| 1037 | + <arg value="../ffs.entitlements" /> |
| 1038 | + |
1026 | 1039 | <!-- enable the "hardened runtime" -->
|
1027 | 1040 | <arg value="--options" />
|
1028 | 1041 | <arg value="runtime" />
|
|
1073 | 1086 | <echo>
|
1074 | 1087 | Check on notarization status with:
|
1075 | 1088 |
|
1076 |
| - xcrun altool -u $PROCESSING_APPLE_ID -p $PROCESSING_APP_PASSWORD \ |
1077 |
| - --notarization-info [the RequestUUID above] |
| 1089 | + xcrun altool -u $PROCESSING_APPLE_ID -p $PROCESSING_APP_PASSWORD --notarization-info [the RequestUUID above] |
1078 | 1090 | </echo>
|
1079 | 1091 | </target>
|
1080 | 1092 |
|
|
0 commit comments