Skip to content

Commit 2d4c064

Browse files
committed
Update CFBundlePackageType to FMWK in plist generation
Changed the CFBundlePackageType from 'APPL' to 'FMWK' in the create_plist function to correctly identify the bundle as a framework. Also made a minor whitespace adjustment in create_xcframework_from_dylibs.
1 parent 9169d62 commit 2d4c064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serious_python_darwin/darwin/xcframework_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ create_plist() {
2323
<key>CFBundleInfoDictionaryVersion</key>
2424
<string>6.0</string>
2525
<key>CFBundlePackageType</key>
26-
<string>APPL</string>
26+
<string>FMWK</string>
2727
<key>CFBundleShortVersionString</key>
2828
<string>1.0</string>
2929
<key>CFBundleSupportedPlatforms</key>
@@ -59,7 +59,7 @@ create_xcframework_from_dylibs() {
5959
framework_identifier=${framework_identifier#-}
6060
done
6161
framework_identifier=${framework_identifier:-framework}
62-
62+
6363
# creating "iphoneos" framework
6464
fd=iphoneos/$framework.framework
6565
mkdir -p $fd

0 commit comments

Comments
 (0)