Skip to content

Update 2024 tbd and bump CI macOS version #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 4, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/compatibility_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: macos-14
- os: macos-15
xcode-version: "16.0" # Swift 6.0
runs-on: ${{ matrix.os }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [macos-15]
xcode-version: ["16.0"] # Swift 6.0
ios-version: ["18.0"]
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [macos-15]
xcode-version: [16.0] # Swift 6.0
runs-on: ${{ matrix.os }}
env:
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion AG/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ After making change to Sources, run `update.sh` to update the xcframework.

### tbd

#### Version OS_RELEASE 2021

- iOS's tbd is from https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS15.5.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph.tbd
- 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 ./`
- 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 ./`
- macOS's tbd is from macOS 12.3 SDK(bundled with Xcode 13.4.1)
- macOS's tbd is from macOS 12.3 SDK(bundled with Xcode 13.4.1)

#### Version OS_RELEASE 2024

- iOS's tbd is from
- `https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS18.0.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph.tbd`
- iOS Simulator:
- `/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AttributeGraph.framework`
- `xcrun tapi stubify ./AttributeGraph.framework`

- macOS's tbd is from macOS 15.0 SDK (bundled with Xcode 16.0)
- `/Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX-15.0.sdk/System/Library/PrivateFrameworks/AttributeGraph.framework`
- `xcrun tapi stubify ./AttributeGraph.framework`

27 changes: 17 additions & 10 deletions AG/reset.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
#!/bin/zsh
#!/bin/bash

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

AG_ROOT="$(dirname $(filepath $0))"
xcframework_path="${AG_ROOT}/AttributeGraph.xcframework"
framework_name=AttributeGraph.framework

reset_framework() {
local frmework_name=$1
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Headers
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Modules
rm -rf ${xcframework_path}/${frmework_name}/${framework_name}/Info.plist
local framework_name=$1
local arch_name=$2

local path="${AG_ROOT}/${framework_name}.xcframework/${arch_name}/${framework_name}.framework"

echo $path

rm -rf ${path}/${framework_name}.tbd
rm -rf ${path}/Headers
rm -rf ${path}/Modules
rm -rf ${path}/Info.plist
}

reset_framework ios-arm64-x86_64-simulator
reset_framework ios-arm64-arm64e
reset_framework macos-arm64e-arm64-x86_64
framework_name=AttributeGraph

reset_framework $framework_name ios-arm64-x86_64-simulator
reset_framework $framework_name ios-arm64-arm64e
reset_framework $framework_name macos-arm64e-arm64-x86_64
612 changes: 612 additions & 0 deletions AG/tbds/RELEASE_2021/ios-arm64-arm64e/AttributeGraph.tbd

Large diffs are not rendered by default.

809 changes: 809 additions & 0 deletions AG/tbds/RELEASE_2021/ios-arm64-x86_64-simulator/AttributeGraph.tbd

Large diffs are not rendered by default.

438 changes: 438 additions & 0 deletions AG/tbds/RELEASE_2021/macos-arm64e-arm64-x86_64/AttributeGraph.tbd

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions AG/tbds/RELEASE_2024/ios-arm64-arm64e/AttributeGraph.tbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
--- !tapi-tbd
tbd-version: 4
targets: [ armv7-ios, armv7s-ios, arm64-ios, arm64e-ios ]
flags: [ flat_namespace ]
install-name: /System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
current-version: 6.0.87
compatibility-version: 1
exports:
- targets: [ armv7-ios, armv7s-ios, arm64-ios, arm64e-ios ]
symbols: [ _AGAttributeNil, _AGAttributeNullType,
_AGAttributeNullVTable, _AGCompareValues,
_AGComparisonStateGetFieldRange,
_AGComparisonStateGetFieldType,
_AGCreateWeakAttribute, _AGDebugServerCopyURL,
_AGDebugServerRun, _AGDebugServerStart,
_AGDebugServerStop, _AGDescriptionFormat,
_AGDescriptionIncludeValues, _AGDescriptionMaxFrames,
_AGDescriptionTruncationLimit, _AGGraphAddInput,
_AGGraphAddNamedTraceEvent, _AGGraphAddTrace,
_AGGraphAddTraceEvent, _AGGraphAnyInputsChanged,
_AGGraphArchiveJSON, _AGGraphArchiveJSON2,
_AGGraphBeginDeferringSubgraphInvalidation,
_AGGraphBeginProfileEvent, _AGGraphCancelUpdate,
_AGGraphCancelUpdateIfNeeded, _AGGraphClearUpdate,
_AGGraphContextGetGraph, _AGGraphCopyTracePath,
_AGGraphCreate, _AGGraphCreateAttribute,
_AGGraphCreateIndirectAttribute,
_AGGraphCreateIndirectAttribute2,
_AGGraphCreateOffsetAttribute,
_AGGraphCreateOffsetAttribute2, _AGGraphCreateShared,
_AGGraphCurrentAttributeWasModified,
_AGGraphDescription,
_AGGraphEndDeferringSubgraphInvalidation,
_AGGraphEndProfileEvent, _AGGraphGetAttributeGraph,
_AGGraphGetAttributeInfo,
_AGGraphGetAttributeSubgraph, _AGGraphGetContext,
_AGGraphGetCounter, _AGGraphGetCurrentAttribute,
_AGGraphGetDeadline, _AGGraphGetFlags,
_AGGraphGetGraphContext,
_AGGraphGetIndirectAttribute,
_AGGraphGetIndirectDependency, _AGGraphGetInputValue,
_AGGraphGetOutputValue, _AGGraphGetTraceEventName,
_AGGraphGetTraceEventSubsystem, _AGGraphGetTypeID,
_AGGraphGetValue, _AGGraphGetValueState,
_AGGraphGetWeakValue, _AGGraphHasDeadlinePassed,
_AGGraphHasValue, _AGGraphInternAttributeType,
_AGGraphInvalidate, _AGGraphInvalidateAllValues,
_AGGraphInvalidateValue, _AGGraphIsProfilingEnabled,
_AGGraphIsTracingActive, _AGGraphMarkProfile,
_AGGraphMutateAttribute, _AGGraphPrefetchValue,
_AGGraphPrepareTrace, _AGGraphReadCachedAttribute,
_AGGraphReadCachedAttributeIfExists,
_AGGraphRegisterDependency,
_AGGraphRegisterNamedTraceEvent, _AGGraphRemoveTrace,
_AGGraphResetIndirectAttribute, _AGGraphResetProfile,
_AGGraphResetTrace, _AGGraphSearch, _AGGraphSetContext,
_AGGraphSetDeadline, _AGGraphSetFlags,
_AGGraphSetIndirectAttribute,
_AGGraphSetIndirectDependency,
_AGGraphSetInvalidationCallback,
_AGGraphSetNeedsUpdate, _AGGraphSetOutputValue,
_AGGraphSetTrace, _AGGraphSetUpdate,
_AGGraphSetUpdateCallback, _AGGraphSetValue,
_AGGraphStartProfiling, _AGGraphStartTracing,
_AGGraphStartTracing2, _AGGraphStopProfiling,
_AGGraphStopTracing, _AGGraphSyncTracing,
_AGGraphTraceEventEnabled, _AGGraphUpdateValue,
_AGGraphUpdateWasCancelled,
_AGGraphVMRegionBaseAddress, _AGGraphVerifyType,
_AGGraphWithMainThreadHandler, _AGGraphWithUpdate,
_AGGraphWithoutUpdate, _AGMakeUniqueID,
_AGNewTupleType,
_AGOverrideComparisonForTypeDescriptor,
_AGPrefetchCompareValues, _AGReleaseClosure,
_AGRetainClosure, _AGSubgraphAddChild,
_AGSubgraphAddChild2, _AGSubgraphAddObserver,
_AGSubgraphAddTreeValue, _AGSubgraphApply,
_AGSubgraphBeginTreeElement, _AGSubgraphCreate,
_AGSubgraphCreate2, _AGSubgraphEndTreeElement,
_AGSubgraphGetChild, _AGSubgraphGetChildCount,
_AGSubgraphGetCurrent,
_AGSubgraphGetCurrentGraphContext,
_AGSubgraphGetGraph, _AGSubgraphGetIndex,
_AGSubgraphGetParent, _AGSubgraphGetParentCount,
_AGSubgraphGetTreeRoot, _AGSubgraphGetTypeID,
_AGSubgraphIntersects, _AGSubgraphInvalidate,
_AGSubgraphIsAncestor, _AGSubgraphIsDirty,
_AGSubgraphIsValid, _AGSubgraphRemoveChild,
_AGSubgraphRemoveObserver, _AGSubgraphSetCurrent,
_AGSubgraphSetIndex, _AGSubgraphSetShouldRecordTree,
_AGSubgraphSetTreeOwner, _AGSubgraphShouldRecordTree,
_AGSubgraphUpdate, _AGTreeElementGetFlags,
_AGTreeElementGetNextChild,
_AGTreeElementGetNextNode,
_AGTreeElementGetNextValue, _AGTreeElementGetParent,
_AGTreeElementGetType, _AGTreeElementGetValue,
_AGTreeElementMakeChildIterator,
_AGTreeElementMakeNodeIterator,
_AGTreeElementMakeValueIterator,
_AGTreeValueGetFlags, _AGTreeValueGetKey,
_AGTreeValueGetType, _AGTreeValueGetValue,
_AGTupleCount, _AGTupleDestroy, _AGTupleDestroyElement,
_AGTupleElementOffset, _AGTupleElementOffsetChecked,
_AGTupleElementSize, _AGTupleElementType,
_AGTupleGetElement, _AGTupleSetElement, _AGTupleSize,
_AGTupleWithBuffer, _AGTypeApplyEnumData,
_AGTypeApplyFields, _AGTypeApplyFields2,
_AGTypeApplyMutableEnumData, _AGTypeDescription,
_AGTypeGetDescriptor, _AGTypeGetEnumTag,
_AGTypeGetKind, _AGTypeGetSignature,
_AGTypeInjectEnumTag, _AGTypeNominalDescriptor,
_AGTypeNominalDescriptorName, _AGTypeProjectEnumData,
_AGVersion, _AGWeakAttributeGetAttribute ]
objc-classes: [ AGAppObserver ]
...
Loading
Loading