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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Env keys are searched with domain prefixes `DARWINPRIVATEFRAMEWORKS_` and `OPENS
| `CoreUI/` | CoreUI | 2024 only |
| `BLS/` | BacklightServices | 2024 only |
| `SFSymbols/` | SFSymbols | 2024 only |
| `Symbols/` | Symbols | 2024 public interface and Private SPI |
| `CoreSVG/` | CoreSVG | 2024 only |
| `Scripts/` | Build/install scripts | SDK installation, framework generation |
| `Plugins/` | UpdateXCFrameworks | SPM command plugin |
Expand Down
2 changes: 1 addition & 1 deletion Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ var products: [PackageDescription.Product] = [
.library(name: "CoreUI", targets: ["CoreUI"]),
.library(name: "BacklightServices", targets: ["BacklightServices"]),
.library(name: "SFSymbols", targets: ["SFSymbols"]),
// The Symbols SPI uses RenderBox's symbol animation types.
.library(name: "Symbols", targets: ["Symbols", "RenderBox"]),
.library(name: "CoreSVG", targets: ["CoreSVG"]),
.library(name: "FeatureFlags", targets: ["FeatureFlags"]),
]
Expand Down Expand Up @@ -185,6 +187,7 @@ let package = Package(
.binaryTarget(name: "CoreUI", path: "CoreUI/2024/CoreUI.xcframework"),
.binaryTarget(name: "BacklightServices", path: "BLS/2024/BacklightServices.xcframework"),
.binaryTarget(name: "SFSymbols", path: "SFSymbols/2024/SFSymbols.xcframework"),
.binaryTarget(name: "Symbols", path: "Symbols/2024/Symbols.xcframework"),
.binaryTarget(name: "CoreSVG", path: "CoreSVG/2024/CoreSVG.xcframework"),
.binaryTarget(name: "FeatureFlags", path: "FeatureFlags/2024/FeatureFlags.xcframework"),
.binaryTarget(name: "Gestures", path: "GF/2025/Gestures.xcframework"),
Expand Down
2 changes: 2 additions & 0 deletions Plugins/UpdateXCFrameworks/UpdateXCFrameworksCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ struct UpdateXCFrameworksCommand: CommandPlugin {
// SFSymbols
try run(context: context, command: "SFSymbols/reset.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"])
try run(context: context, command: "SFSymbols/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"])
// Symbols
try run(context: context, command: "Symbols/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"])
// CoreSVG
try run(context: context, command: "CoreSVG/reset.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"])
try run(context: context, command: "CoreSVG/update.sh", environment: ["DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE": "2024"])
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
|[![SFSymbolsExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/sfsymbols_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/sfsymbols_example.yml)|
|[![FeatureFlagsExample](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/featureflags_example.yml/badge.svg)](https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks/actions/workflows/featureflags_example.yml)|

This project contains private frameworks for Darwin platforms, including `AttributeGraph`, `RenderBox`, `CoreUI`, `BacklightServices`, `CoreSVG`, `Gestures`, `SFSymbols`, and `FeatureFlags`.
This project contains private frameworks and framework interfaces for Darwin platforms, including `AttributeGraph`, `RenderBox`, `CoreUI`, `BacklightServices`, `CoreSVG`, `Gestures`, `SFSymbols`, `Symbols`, and `FeatureFlags`.

The frameworks are provided as xcframeworks available for macOS, iOS Simulator, iOS[^1], visionOS Simulator, and visionOS platforms.

Expand All @@ -36,6 +36,7 @@ The frameworks are provided as xcframeworks available for macOS, iOS Simulator,
- `GF/`: Contains the `Gestures` framework.
- `RB/`: Contains the `RenderBox` framework.
- `SFSymbols/`: Contains the `SFSymbols` framework.
- `Symbols/`: Contains the public Symbols interface and its `Private` SPI.
- `Example/`: Contains example projects demonstrating usage of the private frameworks.
- `Scripts/`: Contains scripts that generate tbd files, install internal SDKs, and write the visionOS UIKit header overlay.
- `Plugins/UpdateXCFrameworks/`: Contains the `UpdateXCFrameworks` plugin for updating the frameworks.
Expand Down
4 changes: 2 additions & 2 deletions Scripts/update_frameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [ $# -eq 0 ]; then
echo " $0 AttributeGraph RenderBox CoreUI SFSymbols"
echo " $0 all"
echo ""
echo "Frameworks: AttributeGraph (or AG), RenderBox (or RB), CoreUI, SFSymbols, FeatureFlags"
echo "Frameworks: AttributeGraph (or AG), RenderBox (or RB), CoreUI, SFSymbols, Symbols, FeatureFlags"
echo ""
echo "To specify version, set DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE:"
echo " DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE=2021 $0 all"
Expand All @@ -83,7 +83,7 @@ fi

# Check if "all" was specified
if [ "$1" = "all" ]; then
frameworks=("AttributeGraph" "RenderBox" "CoreUI" "SFSymbols" "FeatureFlags")
frameworks=("AttributeGraph" "RenderBox" "CoreUI" "SFSymbols" "Symbols" "FeatureFlags")
else
frameworks=("$@")
fi
Expand Down
83 changes: 83 additions & 0 deletions Symbols/2024/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?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>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64e-arm64-x86_64</string>
<key>LibraryPath</key>
<string>Symbols.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64e</string>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64-arm64e</string>
<key>LibraryPath</key>
<string>Symbols.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64-x86_64-simulator</string>
<key>LibraryPath</key>
<string>Symbols.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>xros-arm64-x86_64-simulator</string>
<key>LibraryPath</key>
<string>Symbols.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>xros</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>xros-arm64-arm64e</string>
<key>LibraryPath</key>
<string>Symbols.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
</array>
<key>SupportedPlatform</key>
<string>xros</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Loading
Loading