Skip to content

Commit 60d2376

Browse files
authored
Update 2024 tbd and bump CI macOS version (#85)
* Move tbd into a seperate folder * Update RELEASE_2024 tbd file * Bump macos CI version * Fix compatibilityTest on macOS 15
1 parent 93e713f commit 60d2376

File tree

19 files changed

+5298
-1849
lines changed

19 files changed

+5298
-1849
lines changed

.github/workflows/compatibility_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- os: macos-14
16+
- os: macos-15
1717
xcode-version: "16.0" # Swift 6.0
1818
runs-on: ${{ matrix.os }}
1919
env:

.github/workflows/ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [macos-14]
15+
os: [macos-15]
1616
xcode-version: ["16.0"] # Swift 6.0
1717
ios-version: ["18.0"]
1818
include:

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [macos-14]
15+
os: [macos-15]
1616
xcode-version: [16.0] # Swift 6.0
1717
runs-on: ${{ matrix.os }}
1818
env:

AG/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/AttributeGraph.tbd

Lines changed: 69 additions & 566 deletions
Large diffs are not rendered by default.

AG/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/AttributeGraph.tbd

Lines changed: 781 additions & 809 deletions
Large diffs are not rendered by default.

AG/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/AttributeGraph.tbd

Lines changed: 788 additions & 438 deletions
Large diffs are not rendered by default.

AG/README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,22 @@ After making change to Sources, run `update.sh` to update the xcframework.
66

77
### tbd
88

9+
#### Version OS_RELEASE 2021
10+
911
- iOS's tbd is from https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS15.5.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph.tbd
1012
- Or if you have an iOS 15.5 device, you can make it by `tbd -p --ignore-weak-def-syms -r -v4 "~/Library/Developer/Xcode/iOS DeviceSupport/iPhone16,1 17.2.1 (21C66)/Symbols/System/Library/PrivateFrameworks/AttributeGraph.framework" -o ./`
1113
- iOS Simulator's tbd is build by `tbd -p --ignore-weak-def-syms -r -v4 "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AttributeGraph.framework" -o ./`
12-
- macOS's tbd is from macOS 12.3 SDK(bundled with Xcode 13.4.1)
14+
- macOS's tbd is from macOS 12.3 SDK(bundled with Xcode 13.4.1)
15+
16+
#### Version OS_RELEASE 2024
17+
18+
- iOS's tbd is from
19+
- `https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS18.0.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph.tbd`
20+
- iOS Simulator:
21+
- `/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AttributeGraph.framework`
22+
- `xcrun tapi stubify ./AttributeGraph.framework`
23+
24+
- macOS's tbd is from macOS 15.0 SDK (bundled with Xcode 16.0)
25+
- `/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX-15.0.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework`
26+
- `xcrun tapi stubify ./AttributeGraph.framework`
27+

AG/reset.sh

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
#!/bin/zsh
1+
#!/bin/bash
22

33
# A `realpath` alternative using the default C implementation.
44
filepath() {
55
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
66
}
77

88
AG_ROOT="$(dirname $(filepath $0))"
9-
xcframework_path="${AG_ROOT}/AttributeGraph.xcframework"
10-
framework_name=AttributeGraph.framework
119

1210
reset_framework() {
13-
local frmework_name=$1
14-
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Headers
15-
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Modules
16-
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Info.plist
11+
local framework_name=$1
12+
local arch_name=$2
13+
14+
local path="${AG_ROOT}/${framework_name}.xcframework/${arch_name}/${framework_name}.framework"
15+
16+
echo $path
17+
18+
rm -rf ${path}/${framework_name}.tbd
19+
rm -rf ${path}/Headers
20+
rm -rf ${path}/Modules
21+
rm -rf ${path}/Info.plist
1722
}
1823

19-
reset_framework ios-arm64-x86_64-simulator
20-
reset_framework ios-arm64-arm64e
21-
reset_framework macos-arm64e-arm64-x86_64
24+
framework_name=AttributeGraph
25+
26+
reset_framework $framework_name ios-arm64-x86_64-simulator
27+
reset_framework $framework_name ios-arm64-arm64e
28+
reset_framework $framework_name macos-arm64e-arm64-x86_64

AG/tbds/RELEASE_2021/ios-arm64-arm64e/AttributeGraph.tbd

Lines changed: 612 additions & 0 deletions
Large diffs are not rendered by default.

AG/tbds/RELEASE_2021/ios-arm64-x86_64-simulator/AttributeGraph.tbd

Lines changed: 809 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)