Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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>CFBundleExecutable</key>
<string>BacklightServices</string>
<key>CFBundleIdentifier</key>
<string>com.apple.BacklightServices</string>
<key>CFBundleName</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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>CFBundleExecutable</key>
<string>BacklightServices</string>
<key>CFBundleIdentifier</key>
<string>com.apple.BacklightServices</string>
<key>CFBundleName</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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>CFBundleExecutable</key>
<string>BacklightServices</string>
<key>CFBundleIdentifier</key>
<string>com.apple.BacklightServices</string>
<key>CFBundleName</key>
Expand Down
14 changes: 14 additions & 0 deletions BLS/2024/Sources/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>CFBundleExecutable</key>
<string>BacklightServices</string>
<key>CFBundleIdentifier</key>
<string>com.apple.BacklightServices</string>
<key>CFBundleName</key>
<string>BacklightServices</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
</dict>
</plist>
22 changes: 2 additions & 20 deletions BLS/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,7 @@ generate_framework() {
cp ${FRAMEWORK_ROOT}/tbds/${arch_name}/${framework_name}.tbd ${path}/
cp -rf ${FRAMEWORK_ROOT}/Sources/Headers ${path}/
cp -rf ${FRAMEWORK_ROOT}/Sources/Modules ${path}/
cp -rf ${FRAMEWORK_ROOT}/Sources/Info.plist ${path}/ 2>/dev/null || true

# Create minimal Info.plist for framework if not exists
if [ ! -f ${path}/Info.plist ]; then
cat > ${path}/Info.plist << EOF
<?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>CFBundleIdentifier</key>
<string>com.apple.BacklightServices</string>
<key>CFBundleName</key>
<string>BacklightServices</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
</dict>
</plist>
EOF
fi
cp -rf ${FRAMEWORK_ROOT}/Sources/Info.plist ${path}/
}

generate_xcframework() {
Expand All @@ -60,4 +42,4 @@ generate_framework $framework_name ios-arm64-x86_64-simulator
generate_framework $framework_name ios-arm64-arm64e
generate_framework $framework_name xros-arm64-x86_64-simulator

echo "BacklightServices.xcframework has been generated successfully!"
echo "BacklightServices.xcframework has been generated successfully!"
Loading