Skip to content

Commit 8fe63fc

Browse files
committed
Add supp for mac catalyst
1 parent 0dbdbcd commit 8fe63fc

16 files changed

+247
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Lib/test/data/*
7474
/visionOSTestbed.*
7575
iOS/Frameworks/
7676
iOS/Resources/Info.plist
77+
MacCatalyst/Resources/Info.plist
7778
iOS/testbed/build
7879
iOS/testbed/Python.xcframework/ios-*/bin
7980
iOS/testbed/Python.xcframework/ios-*/include
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3+
<plist version="0.9">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>Python</string>
9+
<key>CFBundleGetInfoString</key>
10+
<string>Python Runtime and Library</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>@PYTHONFRAMEWORKIDENTIFIER@</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>Python</string>
17+
<key>CFBundlePackageType</key>
18+
<string>FMWK</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>%VERSION%</string>
21+
<key>CFBundleLongVersionString</key>
22+
<string>%VERSION%, (c) 2001-2024 Python Software Foundation.</string>
23+
<key>CFBundleSignature</key>
24+
<string>????</string>
25+
<key>CFBundleVersion</key>
26+
<string>%VERSION%</string>
27+
<key>CFBundleSupportedPlatforms</key>
28+
<array>
29+
<string>MacOSX</string>
30+
</array>
31+
<key>LSMinimumSystemVersion</key>
32+
<string>10.0</string>
33+
<key>UIDeviceFamily</key>
34+
<array>
35+
<integer>2</integer>
36+
</array>
37+
</dict>
38+
</plist>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} ar "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang -target arm64-apple-ios-macabi "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang++ -target arm64-apple-ios-macabi "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang -target arm64-apple-ios-macabi -E "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} ar "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang -target x86_64-apple-ios-macabi "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang++ -target x86_64-apple-ios-macabi "$@"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
xcrun --sdk macosx${MACOSX_SDK_VERSION} clang -target x86_64-apple-ios-macabi -E "$@"

0 commit comments

Comments
 (0)