Skip to content

Commit 344aaf6

Browse files
committed
Update patch to include visionOS plist changes.
1 parent f8fd686 commit 344aaf6

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

patch/Python/Python.patch

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ index c3e261ecd9e..26ef7a95de4 100644
21262126
+ <string>%VERSION%</string>
21272127
+ <key>CFBundleSupportedPlatforms</key>
21282128
+ <array>
2129-
+ <string>xrOS</string>
2129+
+ <string>XROS</string>
21302130
+ </array>
21312131
+ <key>MinimumOSVersion</key>
21322132
+ <string>@XROS_DEPLOYMENT_TARGET@</string>
@@ -2174,31 +2174,35 @@ index c3e261ecd9e..26ef7a95de4 100644
21742174
+xcrun --sdk xrsimulator clang -target arm64-apple-xros${XROS_DEPLOYMENT_TARGET}-simulator -E "$@"
21752175
--- /dev/null
21762176
+++ b/visionOS/Resources/dylib-Info-template.plist
2177-
@@ -0,0 +1,26 @@
2177+
@@ -0,0 +1,30 @@
21782178
+<?xml version="1.0" encoding="UTF-8"?>
21792179
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
21802180
+<plist version="1.0">
21812181
+<dict>
21822182
+ <key>CFBundleDevelopmentRegion</key>
21832183
+ <string>en</string>
2184+
+ <key>CFBundleInfoDictionaryVersion</key>
2185+
+ <string>6.0</string>
21842186
+ <key>CFBundleExecutable</key>
21852187
+ <string></string>
21862188
+ <key>CFBundleIdentifier</key>
21872189
+ <string></string>
2188-
+ <key>CFBundleInfoDictionaryVersion</key>
2189-
+ <string>6.0</string>
21902190
+ <key>CFBundlePackageType</key>
2191-
+ <string>APPL</string>
2191+
+ <string>FMWK</string>
21922192
+ <key>CFBundleShortVersionString</key>
21932193
+ <string>1.0</string>
21942194
+ <key>CFBundleSupportedPlatforms</key>
21952195
+ <array>
2196-
+ <string>xrOS</string>
2196+
+ <string>XROS</string>
21972197
+ </array>
2198-
+ <key>MinimumOSVersion</key>
2199-
+ <string>2.0</string>
22002198
+ <key>CFBundleVersion</key>
22012199
+ <string>1</string>
2200+
+ <key>MinimumOSVersion</key>
2201+
+ <string>2.0</string>
2202+
+ <key>UIDeviceFamily</key>
2203+
+ <array>
2204+
+ <integer>7</integer>
2205+
+ </array>
22022206
+</dict>
22032207
+</plist>
22042208
--- /dev/null
@@ -3443,31 +3447,35 @@ index c3e261ecd9e..26ef7a95de4 100644
34433447
+When the test suite runs, this folder will be on the PYTHONPATH.
34443448
--- /dev/null
34453449
+++ b/visionOS/testbed/visionOSTestbed/dylib-Info-template.plist
3446-
@@ -0,0 +1,26 @@
3450+
@@ -0,0 +1,30 @@
34473451
+<?xml version="1.0" encoding="UTF-8"?>
34483452
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
34493453
+<plist version="1.0">
34503454
+<dict>
34513455
+ <key>CFBundleDevelopmentRegion</key>
34523456
+ <string>en</string>
3457+
+ <key>CFBundleInfoDictionaryVersion</key>
3458+
+ <string>6.0</string>
34533459
+ <key>CFBundleExecutable</key>
34543460
+ <string></string>
34553461
+ <key>CFBundleIdentifier</key>
34563462
+ <string></string>
3457-
+ <key>CFBundleInfoDictionaryVersion</key>
3458-
+ <string>6.0</string>
34593463
+ <key>CFBundlePackageType</key>
3460-
+ <string>APPL</string>
3464+
+ <string>FMWK</string>
34613465
+ <key>CFBundleShortVersionString</key>
34623466
+ <string>1.0</string>
34633467
+ <key>CFBundleSupportedPlatforms</key>
34643468
+ <array>
3465-
+ <string>VisionOS</string>
3469+
+ <string>XROS</string>
34663470
+ </array>
3467-
+ <key>MinimumOSVersion</key>
3468-
+ <string>12.0</string>
34693471
+ <key>CFBundleVersion</key>
34703472
+ <string>1</string>
3473+
+ <key>MinimumOSVersion</key>
3474+
+ <string>2.0</string>
3475+
+ <key>UIDeviceFamily</key>
3476+
+ <array>
3477+
+ <integer>7</integer>
3478+
+ </array>
34713479
+</dict>
34723480
+</plist>
34733481
--- /dev/null

0 commit comments

Comments
 (0)