DONE 构建 framework:scripts/pod-lint.sh xcframework 生成的 XCFramework 包含真机(ios-arm64)与模拟器(ios-arm64_x86_64-simulator)两个切片,构建没有警告。CI 的 Carthage job 在每个 PR 上执行同一命令。 |
DONE Build the framework: the XCFramework that scripts/pod-lint.sh xcframework builds has both the device (ios-arm64) and the simulator (ios-arm64_x86_64-simulator) slices, with no build warning. CI's Carthage job runs the same command on every pull request. |
DONE 二进制安装:该 zip 通过 file:// 二进制规格用 carthage update --use-xcframeworks --platform iOS 安装后,Example-Swift-Carthage 构建成功且没有警告。 |
DONE Binary install: installed through a file:// binary spec with carthage update --use-xcframeworks --platform iOS, the zip builds Example-Swift-Carthage with no warnings. |
DONE 演示工程的 delegate:Carthage 框架包含扁平样式,其 delegate 类型为 CYLTabBarControllerDelegate & CYLFlatDesignUITabBarControllerDelegate,因此 RootTabBarController 同时遵守两者才能设置 delegate = self。 |
DONE The demo's delegate: the Carthage framework includes FlatDesign, whose delegate is CYLTabBarControllerDelegate & CYLFlatDesignUITabBarControllerDelegate, so RootTabBarController adopts both to set delegate = self. |
DONE 运行与截图(2026-11-10,iOS 26.1,iPhone 17 Pro Max 模拟器):用 scripts/pod-lint.sh xcframework 从当前源码打出的 XCFramework 放入 Carthage/Build/ 后,Example-Swift-Carthage 编译并运行:TabBar、PlusButton(Menu)、切换到 Health 页面以及 PlusButton 的角标均正常,截图见下方。 |
DONE Run and screenshots (2026-11-10, iOS 26.1, iPhone 17 Pro Max simulator): with the XCFramework built from the current source by scripts/pod-lint.sh xcframework in Carthage/Build/, Example-Swift-Carthage builds and runs: the tab bar, the plus button (Menu), switching to the Health page and the plus button's badge all work; screenshots below. |
| 本条按用户要求使用英文(见右列)。 |
DONE, two frameworks (2026-11-17, macOS 27.3, Xcode 27.2, iPhone 17 Pro simulator, iOS 27.0): the component became its own framework (CYLAnimatedItem target and shared scheme in CYLTabBarController.xcodeproj), so the app links and embeds Carthage/Build/CYLAnimatedItem.xcframework too. scripts/pod-lint.sh xcframework built both schemes and zipped both XCFrameworks; with them in Carthage/Build, the demo builds without warnings and runs (both frameworks in the app's Frameworks folder). Screenshot: assets/carthage-example-two-frameworks-ios27.png (iOS, iPhone 17 Pro simulator, iOS 27.0, Xcode 27.2, the commit that adds the framework, 2026-11-17 22:45 NZDT). |
 |
Carthage demo with CYLTabBarController.xcframework and CYLAnimatedItem.xcframework, iOS 27.0 simulator. |
TODO 第一个二进制版本:下一次发布(scripts/pod-lint.sh bump <版本号> → PR → 合并 → tag)后,确认 Release 带有 CYLTabBarController.xcframework.zip,并在一个空 App 中用 binary "https://raw.githubusercontent.com/ChenYilong/CYLTabBarController/master/CYLTabBarController.json" 执行 carthage update --use-xcframeworks --platform iOS。2026-11-12 检查:最新的 Release 1.99.67(2026-10-27)没有附件,二进制版本仍待下一次发布。 |
TODO First binary release: after the next release (scripts/pod-lint.sh bump <version> → pull request → merge → tag), check that the release has CYLTabBarController.xcframework.zip, and run carthage update --use-xcframeworks --platform iOS in an empty app with binary "https://raw.githubusercontent.com/ChenYilong/CYLTabBarController/master/CYLTabBarController.json". Checked on 2026-11-12: the latest release, 1.99.67 (2026-10-27), has no assets, so the binary still waits for the next release. |