File tree Expand file tree Collapse file tree 7 files changed +7
-27
lines changed
Expand file tree Collapse file tree 7 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 11# `` MachOKit ``
22
33🔬 A Swift library for parsing MachO files to obtain various information.
4-
5- > [ !NOTE]
6- > Unix archive (.a) format is supported by `` MachOArchiveKit `` .
File renamed without changes.
Original file line number Diff line number Diff line change 33// MachOKit
44//
55// Created by p-x9 on 2026/03/17
6+ //
67//
7- //
8-
9- @_documentation ( visibility: internal)
10- @_exported
11- import MachOKit
128
13- @_documentation ( visibility: internal)
14- @_exported
15- import ObjectArchiveKit
9+ @_exported import MachOKit
10+ @_exported import ObjectArchiveKit
Original file line number Diff line number Diff line change 33// MachOKit
44//
55// Created by p-x9 on 2025/02/01
6- //
6+ //
77//
88
99#ifndef core_foundation_h
1010#define core_foundation_h
1111
12- #include <stdint.h>
13-
1412// ref: https://github.com/apple-oss-distributions/CF/blob/dc54c6bb1c1e5e0b9486c1d26dd5bef110b20bf3/CFRuntime.h#L222-L228
1513typedef struct __CFRuntimeBase64 {
1614 uint64_t _cfisa ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ preview_docc() {
66 mkdir -p docs
77
88 $( xcrun --find docc) preview \
9- " ./Sources/ ${TARGET} /Documentation .docc" \
9+ " ./${TARGET} .docc" \
1010 --additional-symbol-graph-dir symbol-graphs \
1111 --output-path " docs"
1212}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ generate_docc() {
77 mkdir -p docs
88
99 $( xcrun --find docc) convert \
10- " ./Sources/ ${TARGET} /Documentation .docc" \
10+ " ./${TARGET} .docc" \
1111 --output-path " docs" \
1212 --hosting-base-path " ${REPO_NAME} " \
1313 --additional-symbol-graph-dir ./symbol-graphs
Original file line number Diff line number Diff line change @@ -28,18 +28,10 @@ generate_symbol_graphs() {
2828
2929 xcodebuild clean build -scheme " ${scheme} " \
3030 -destination " generic/platform=${destination} " \
31- OTHER_SWIFT_FLAGS=" -emit-extension-block-symbols -emit-symbol-graph -emit-symbol-graph-dir $( pwd) /.build/symbol-graphs" \
32- DOCC_EXTRACT_EXTENSION_SYMBOLS=YES
31+ OTHER_SWIFT_FLAGS=" -emit-extension-block-symbols -emit-symbol-graph -emit-symbol-graph-dir $( pwd) /.build/symbol-graphs"
3332
3433 mv " ./.build/symbol-graphs/${scheme} .symbols.json" " ${SYMBOL_DIR} /${scheme} _${destination} .symbols.json"
3534
36- # Extension
37- for file in ./.build/symbol-graphs/${scheme} @* .symbols.json; do
38- if [ -f " $file " ]; then
39- mv " $file " " ${SYMBOL_DIR} /$( basename " ${file% .symbols.json} " ) .symbols.json"
40- fi
41- done
42-
4335 if [ -d " ./Sources/$scheme /include" ]; then
4436 local HEADERS=$( ls " ./Sources/$scheme /include" )
4537 while IFS= read -r header; do
@@ -56,10 +48,8 @@ generate_symbol_graphs() {
5648clean_build
5749clean_xcbuild ios MachOKitC
5850clean_xcbuild ios MachOKit
59- clean_xcbuild ios MachOArchiveKit
6051
6152clean_symbol
6253
6354generate_symbol_graphs ios MachOKitC
6455generate_symbol_graphs ios MachOKit
65- generate_symbol_graphs ios MachOArchiveKit
You can’t perform that action at this time.
0 commit comments