-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfo.plist
More file actions
490 lines (489 loc) · 19.3 KB
/
Info.plist
File metadata and controls
490 lines (489 loc) · 19.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<?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>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>BenchCode</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>BenchCode</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<!--
App-Store encryption disclosure. We bundle Python's _ssl and
_hashlib (OpenSSL) for standard TLS/HTTPS / SHA / AES — purely
for normal HTTPS and the user's own data. This qualifies for
the U.S. EAR §740.17(b)(1) mass-market consumer-app exemption,
so we don't need to submit annual encryption-classification
reports or upload encryption documentation.
ITSAppUsesNonExemptEncryption = false → "the app uses
encryption, but only encryption that's already exempt." Apple
skips the encryption-questionnaire prompt for every future
upload. (Don't read the false as 'no encryption' — Apple's key
name is misleading. The semantics is: 'no NON-exempt encryption
in this app'.)
-->
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>CodeBench saves rendered videos (manim, matplotlib) and images to your Photos library when you tap the save button.</string>
<key>NSCameraUsageDescription</key>
<string>CodeBench may access the camera if you choose to capture a photo or video to use as input for an OpenCV/PyAV/Pillow Python script. The camera is never accessed without your action.</string>
<key>NSMicrophoneUsageDescription</key>
<string>CodeBench may access the microphone if you choose to record audio to use as input for an audio-processing Python script. The microphone is never accessed without your action.</string>
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<!--
Document type registration. Lets the user choose CodeBench from the
Files app's "Open With…" sheet, the Share Sheet, and Finder's
right-click menu (on Mac Catalyst / Designed-for-iPad). One CFBundle-
DocumentTypes entry per logical group; LSItemContentTypes lists the
UTIs we accept. We use Apple's public.* UTIs where available and
custom UTIs (declared in UTImportedTypeDeclarations below) for
languages Apple doesn't recognize natively (TeX, Fortran, etc.).
-->
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Source Code</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<!-- Generic source-code umbrella: matches anything UTI-tagged
as source code that we don't list explicitly below. -->
<string>public.source-code</string>
<!-- Python -->
<string>public.python-script</string>
<!-- C / C++ / Objective-C -->
<string>public.c-source</string>
<string>public.c-plus-plus-source</string>
<string>public.c-header</string>
<string>public.c-plus-plus-header</string>
<string>public.objective-c-source</string>
<string>public.objective-c-plus-plus-source</string>
<!-- Swift -->
<string>public.swift-source</string>
<!-- Web -->
<string>public.html</string>
<string>public.css</string>
<string>com.netscape.javascript-source</string>
<!-- Shell -->
<string>public.shell-script</string>
<!-- Custom (declared below) -->
<string>ai.codebench.tex</string>
<string>ai.codebench.fortran</string>
<string>ai.codebench.typescript</string>
<string>ai.codebench.web</string>
<string>ai.codebench.lua</string>
<string>ai.codebench.rust</string>
<string>ai.codebench.go</string>
<string>ai.codebench.kotlin</string>
<string>ai.codebench.dart</string>
<string>ai.codebench.r-source</string>
<string>ai.codebench.julia</string>
<string>ai.codebench.toml</string>
<string>ai.codebench.config</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Text Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.plain-text</string>
<string>public.text</string>
<string>public.utf8-plain-text</string>
<string>public.log</string>
<string>net.daringfireball.markdown</string>
<string>public.json</string>
<string>public.xml</string>
<string>public.yaml</string>
<string>ai.codebench.markdown-extra</string>
</array>
</dict>
</array>
<!--
Custom UTIs for file types Apple doesn't ship a public UTI for.
Marked as "Imported" (not Exported) so we don't claim ownership —
if Apple ever adds a public UTI for these, theirs takes precedence.
-->
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.tex</string>
<key>UTTypeDescription</key>
<string>TeX/LaTeX Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>tex</string>
<string>ltx</string>
<string>sty</string>
<string>cls</string>
<string>bib</string>
<string>def</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.fortran</string>
<key>UTTypeDescription</key>
<string>Fortran Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>f</string>
<string>for</string>
<string>f90</string>
<string>f95</string>
<string>f03</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.typescript</string>
<key>UTTypeDescription</key>
<string>TypeScript Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>ts</string>
<string>tsx</string>
<string>mjs</string>
<string>cjs</string>
</array>
</dict>
</dict>
<!-- Modern web extras: Vue, Svelte, Less, Sass, JSX, JSON5 -->
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.web</string>
<key>UTTypeDescription</key>
<string>Web Source (Vue/Svelte/Sass/JSX)</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>vue</string>
<string>svelte</string>
<string>jsx</string>
<string>scss</string>
<string>sass</string>
<string>less</string>
<string>styl</string>
<string>postcss</string>
<string>json5</string>
<string>jsonc</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.lua</string>
<key>UTTypeDescription</key>
<string>Lua Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>lua</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.rust</string>
<key>UTTypeDescription</key>
<string>Rust Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>rs</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.go</string>
<key>UTTypeDescription</key>
<string>Go Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>go</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.kotlin</string>
<key>UTTypeDescription</key>
<string>Kotlin Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>kt</string>
<string>kts</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.dart</string>
<key>UTTypeDescription</key>
<string>Dart Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>dart</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.r-source</string>
<key>UTTypeDescription</key>
<string>R Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>r</string>
<string>R</string>
<string>Rmd</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.julia</string>
<key>UTTypeDescription</key>
<string>Julia Source</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>jl</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.toml</string>
<key>UTTypeDescription</key>
<string>TOML Config</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.source-code</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>toml</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.config</string>
<key>UTTypeDescription</key>
<string>Config File</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>ini</string>
<string>conf</string>
<string>cfg</string>
<string>env</string>
<string>properties</string>
<string>gitignore</string>
<string>gitattributes</string>
<string>editorconfig</string>
<string>dockerfile</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.codebench.markdown-extra</string>
<key>UTTypeDescription</key>
<string>Markdown Variants</string>
<key>UTTypeConformsTo</key>
<array>
<string>net.daringfireball.markdown</string>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>markdown</string>
<string>mdx</string>
<string>mdown</string>
<string>mkd</string>
<string>rst</string>
<string>org</string>
</array>
</dict>
</dict>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>metal</string>
</array>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<!-- "audio": required for BackgroundExecutionGuard's silent-
audio trick to actually grant indefinite background time.
Without this entitlement, the AVAudioSession activates
and the engine plays the silent buffer — but iOS still
suspends the app within ~3 min (it's the entitlement that
flags the process as audio-active, not the running
engine alone). With this entry the same code keeps the
process alive while audio is playing, which is forever
for our zero-amplitude looped buffer.
App Store note: Apple's review guidelines (2.5.4) allow
"audio" mode only for apps that genuinely play audio.
For pure compute-keep-alive use, Apple may reject — be
prepared to defend the use case (matplotlib renders,
on-device LLM inference, manim Scene.render) and/or
remove this entry before App Store submission. TestFlight
+ dev installs are unaffected. -->
<string>audio</string>
<!-- "processing": required for BGTaskScheduler-based long-
running renders (manim, scipy) that get scheduled to
continue after iOS reclaims the foreground. -->
<string>processing</string>
</array>
<!-- Required when UIBackgroundModes contains "processing": Apple
validator rejects the archive otherwise. CodeBench schedules
long-running renders (manim, scipy) via BGTaskScheduler so they
can survive screen-lock / app-backgrounding. -->
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>ai.codebench.background-render</string>
<string>ai.codebench.background-ai</string>
</array>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<true/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>