annotate deploy/osx/Info.plist @ 2265:d33dff02b39b sandbox-notarize

Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author Chris Cannam
date Thu, 25 Apr 2019 16:46:02 +0100
parents 23be8dccb855
children
rev   line source
Chris@409 1 <?xml version="1.0" encoding="UTF-8"?>
Chris@409 2 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
Chris@409 3 <plist version="0.9">
Chris@409 4 <dict>
Chris@409 5 <key>CFBundlePackageType</key>
Chris@409 6 <string>APPL</string>
Chris@409 7 <key>CFBundleName</key>
Chris@412 8 <string>Sonic Visualiser</string>
Chris@409 9 <key>CFBundleExecutable</key>
Chris@409 10 <string>Sonic Visualiser</string>
Chris@409 11 <key>CFBundleIconFile</key>
Chris@409 12 <string>sv-macicon.icns</string>
Chris@409 13 <key>CFBundleIdentifier</key>
Chris@409 14 <string>org.sonicvisualiser.SonicVisualiser</string>
Chris@409 15 <key>CFBundleShortVersionString</key>
Chris@409 16 <string>SV_VERSION</string>
Chris@583 17
Chris@2170 18 <!-- Provide an explanatory string for microphone usage so
Chris@2170 19 that access is requested. NB this is localised in
Chris@2170 20 the *.lproj/InfoPlist.strings files -->
Chris@2170 21 <key>NSMicrophoneUsageDescription</key>
Chris@2170 22 <string>Sonic Visualiser needs to use the microphone for recording.</string>
Chris@2170 23
Chris@583 24 <!-- enable HiDPI -->
Chris@583 25 <key>NSPrincipalClass</key>
Chris@583 26 <string>NSApplication</string>
Chris@583 27 <key>NSHighResolutionCapable</key>
Chris@583 28 <string>True</string>
Chris@583 29
Chris@587 30 <key>CFBundleDocumentTypes</key>
Chris@587 31
Chris@410 32 <array>
Chris@410 33 <!-- we are an 'editor' of SV files -->
Chris@410 34 <dict>
Chris@410 35 <key>CFBundleTypeExtensions</key>
Chris@410 36 <array>
Chris@410 37 <string>sv</string>
Chris@410 38 </array>
Chris@410 39 <!-- TODO
Chris@410 40 <key>CFBundleTypeIconFile</key>
Chris@410 41 <string>SVProject.icns</string> -->
Chris@410 42 <key>CFBundleTypeMIMETypes</key>
Chris@410 43 <array>
Chris@410 44 <string>application/x-sonic-visualiser-session</string>
Chris@410 45 </array>
Chris@410 46 <key>CFBundleTypeName</key>
Chris@410 47 <string>Sonic Visualiser Session</string>
Chris@410 48 <key>CFBundleTypeOSTypes</key>
Chris@410 49 <array>
Chris@410 50 <string>****</string>
Chris@410 51 </array>
Chris@410 52 <key>CFBundleTypeRole</key>
Chris@410 53 <string>Editor</string>
Chris@410 54 <key>LSHandlerRank</key>
Chris@410 55 <string>Owner</string>
Chris@410 56 <key>LSIsAppleDefaultForType</key>
Chris@410 57 <true/>
Chris@410 58 </dict>
Chris@410 59
Chris@410 60 <!-- we are a 'viewer' of general audio files -->
Chris@410 61 <dict>
Chris@410 62 <key>CFBundleTypeExtensions</key>
Chris@410 63 <array>
Chris@410 64 <string>mp3</string>
Chris@410 65 </array>
Chris@410 66 <key>CFBundleTypeMIMETypes</key>
Chris@410 67 <array>
Chris@410 68 <string>audio/mpeg</string>
Chris@410 69 </array>
Chris@410 70 <key>CFBundleTypeName</key>
Chris@410 71 <string>MP3 Audio</string>
Chris@410 72 <key>CFBundleTypeRole</key>
Chris@410 73 <string>Viewer</string>
Chris@410 74 <key>LSIsAppleDefaultForType</key>
Chris@410 75 <false/>
Chris@410 76 <key>LSHandlerRank</key>
Chris@410 77 <string>Alternate</string>
Chris@410 78 </dict>
Chris@410 79 <dict>
Chris@410 80 <key>CFBundleTypeExtensions</key>
Chris@410 81 <array>
Chris@410 82 <string>ogg</string>
Chris@410 83 <string>oga</string>
Chris@410 84 </array>
Chris@410 85 <key>CFBundleTypeMIMETypes</key>
Chris@410 86 <array>
Chris@410 87 <string>audio/ogg</string>
Chris@410 88 </array>
Chris@410 89 <key>CFBundleTypeName</key>
Chris@410 90 <string>Ogg Vorbis Audio</string>
Chris@410 91 <key>CFBundleTypeRole</key>
Chris@410 92 <string>Viewer</string>
Chris@410 93 <key>LSIsAppleDefaultForType</key>
Chris@410 94 <false/>
Chris@410 95 <key>LSHandlerRank</key>
Chris@410 96 <string>Alternate</string>
Chris@410 97 </dict>
Chris@410 98 <dict>
Chris@410 99 <key>CFBundleTypeExtensions</key>
Chris@410 100 <array>
Chris@410 101 <string>wav</string>
Chris@410 102 </array>
Chris@410 103 <key>CFBundleTypeMIMETypes</key>
Chris@410 104 <array>
Chris@410 105 <string>audio/x-wav</string>
Chris@410 106 </array>
Chris@410 107 <key>CFBundleTypeName</key>
Chris@410 108 <string>Wave Audio</string>
Chris@410 109 <key>CFBundleTypeRole</key>
Chris@410 110 <string>Viewer</string>
Chris@410 111 <key>LSIsAppleDefaultForType</key>
Chris@410 112 <false/>
Chris@410 113 <key>LSHandlerRank</key>
Chris@410 114 <string>Alternate</string>
Chris@410 115 </dict>
Chris@410 116 <dict>
Chris@410 117 <key>CFBundleTypeExtensions</key>
Chris@410 118 <array>
Chris@410 119 <string>aif</string>
Chris@410 120 <string>aiff</string>
Chris@410 121 </array>
Chris@410 122 <key>CFBundleTypeMIMETypes</key>
Chris@410 123 <array>
Chris@410 124 <string>audio/x-aiff</string>
Chris@410 125 </array>
Chris@410 126 <key>CFBundleTypeName</key>
Chris@410 127 <string>AIFF Audio</string>
Chris@410 128 <key>CFBundleTypeRole</key>
Chris@410 129 <string>Viewer</string>
Chris@410 130 <key>LSIsAppleDefaultForType</key>
Chris@410 131 <false/>
Chris@410 132 <key>LSHandlerRank</key>
Chris@410 133 <string>Alternate</string>
Chris@410 134 </dict>
Chris@410 135 <dict>
Chris@410 136 <key>CFBundleTypeExtensions</key>
Chris@410 137 <array>
Chris@410 138 <string>flac</string>
Chris@410 139 </array>
Chris@410 140 <key>CFBundleTypeMIMETypes</key>
Chris@410 141 <array>
Chris@410 142 <string>audio/flac</string>
Chris@410 143 </array>
Chris@410 144 <key>CFBundleTypeName</key>
Chris@410 145 <string>FLAC Audio</string>
Chris@410 146 <key>CFBundleTypeRole</key>
Chris@410 147 <string>Viewer</string>
Chris@410 148 <key>LSIsAppleDefaultForType</key>
Chris@410 149 <false/>
Chris@410 150 <key>LSHandlerRank</key>
Chris@410 151 <string>Alternate</string>
Chris@410 152 </dict>
Chris@410 153 </array>
Chris@410 154 </dict>
Chris@409 155 </plist>