René's URL Explorer Experiment


Title: 引用 xcframework 同时支持源码跳转与调试 | 闪耀旅途

Open Graph Title: 引用 xcframework 同时支持源码跳转与调试 | 闪耀旅途

X Title: 引用 xcframework 同时支持源码跳转与调试 | 闪耀旅途

Description: 最近一段时间一直在研究 xcframwork 相关问题: - xcframwork 编译 - 依赖 xcframework 的同时支持点击跳转源码 - 依赖 xcframework 的同时支持源码断点调试 到目前为止已经有些阶段性成果了, 因此在这里把我们使用第三方库编译为 xcframwork 引用的整体方案给大家分享一下 ![himg](https://a.hanleylee.com/HKMS/2024-06-06180509.jpg?x-oss-process=style/WaMa)

Open Graph Description: 最近一段时间一直在研究 xcframwork 相关问题: - xcframwork 编译 - 依赖 xcframework 的同时支持点击跳转源码 - 依赖 xcframework 的同时支持源码断点调试 到目前为止已经有些阶段性成果了, 因此在这里把我们使用第三方库编译为 xcframwork 引用的整体方案给大家分享一下 ![himg](https://a.hanleylee.com/HKMS/2024-06-06180509.jpg?x-oss-process=style/WaMa)

X Description: 最近一段时间一直在研究 xcframwork 相关问题: - xcframwork 编译 - 依赖 xcframework 的同时支持点击跳转源码 - 依赖 xcframework 的同时支持源码断点调试 到目前为止已经有些阶段性成果了, 因此在这里把我们使用第三方库编译为 xcframwork 引用的整体方案给大家分享一下 ![himg](https://a.hanleylee.com/HKMS/2024-06-06180509.jpg?x-oss-process=style/WaMa)

Mail addresses
hanley.lei@gmail.com

Opengraph URL: https://hanleylee.com/articles/retain-source-code-ability-when-use-xcframework-as-dependency

X: @Hanley_Lei

direct link

Domain: hanleylee.com

og:site_name闪耀旅途
twitter:urlhttps://hanleylee.com/articles/retain-source-code-ability-when-use-xcframework-as-dependency
twitter:cardsummary
twitter:creator@Hanley_Lei
referrerno-referrer
theme-color#C62F1C

Links:

https://hanleylee.com/
https://www.twitter.com/Hanley_Lei
https://github.com/hanleylee/
https://www.zhihu.com/column/HanleyLee
https://hanleylee.com/feed.rss
最近更新https://hanleylee.com/
全部文章https://hanleylee.com/articles
关于https://hanleylee.com/about
搜索https://hanleylee.com/search
⦿ioshttps://hanleylee.com/tags/ios
⦿xcframeworkhttps://hanleylee.com/tags/xcframework
⦿cocoapodshttps://hanleylee.com/tags/cocoapods
⦿lldbhttps://hanleylee.com/tags/lldb
方案汇总https://hanleylee.com/articles/retain-source-code-ability-when-use-xcframework-as-dependency#summary
上一篇文章https://hanleylee.com/articles/migrate-ios-framework-from-git-to-nexus/
这里https://hanleylee.com/articles/migrate-ios-framework-from-git-to-nexus/
Applehttps://developer.apple.com/documentation/xcode/creating-a-multi-platform-binary-framework-bundle
Alamofirehttps://github.com/Alamofire/Alamofire
例子https://github.com/ReactiveX/RxSwift/blob/e2b0aa8dbbafe1552d3cfbc9b8c8087615762f0c/scripts/make-xcframeworks.sh
TyrantDante/cocoapods-xcframeworkhttps://github.com/TyrantDante/cocoapods-xcframework
segment-integrations/swift-create-xcframeworkhttps://github.com/segment-integrations/swift-create-xcframework
proposalhttps://forums.swift.org/t/proposal-emitting-source-information-file-during-compilation/28794
swift-sourcehttps://github.com/apple/swift/blob/c2ca810126074406f03dc29a44f4ad4b12f04c79/lib/Serialization/SerializeDoc.cpp#L765-L767
https://forums.swift.org/t/absolute-paths-in-swiftsourceinfo/70941https://forums.swift.org/t/absolute-paths-in-swiftsourceinfo/70941
https://github.com/qyang-nj/source-info-importhttps://github.com/qyang-nj/source-info-import
prepare_commandhttps://guides.cocoapods.org/syntax/podspec.html#prepare_command
改良https://github.com/hanleylee/swift-create-xcframework/commit/0f3122108afb99874127241531534227067ddcf2
PRhttps://github.com/segment-integrations/swift-create-xcframework/pull/2
forkhttps://github.com/hanleylee/swift-create-xcframework
https://www.wwdcnotes.com/notes/wwdc22/110370/https://www.wwdcnotes.com/notes/wwdc22/110370/
这里https://action121.github.io/2022/08/22/iOS%E4%BA%8C%E8%BF%9B%E5%88%B6%E5%88%87%E6%8D%A2%E6%BA%90%E7%A0%81%E8%B0%83%E8%AF%95.html
Symbols on macOShttps://lldb.llvm.org/use/symbols.html
https://gist.github.com/GoatHunter/cf85b37eac2820ecb9a72792bc9011efhttps://gist.github.com/GoatHunter/cf85b37eac2820ecb9a72792bc9011ef
https://gist.github.com/benasher44/fcf92fc12ff8b539bee7cc50fb52ed32https://gist.github.com/benasher44/fcf92fc12ff8b539bee7cc50fb52ed32
hanleylee/swift-create-xcframeworkhttps://github.com/hanleylee/swift-create-xcframework
source-info-importhttps://github.com/qyang-nj/source-info-import
bughttps://github.com/apple/swift/issues/43510
许多人都遇到了这个问题https://forums.swift.org/t/frameworkname-is-not-a-member-type-of-frameworkname-errors-inside-swiftinterface/28962/9
这个提交https://github.com/ReactiveX/RxSwift/commit/c3c7c58011805138bae2676c5e0ad597536dfcbf#diff-8e042493fd9be4916c6c07fe836ac31b3cec232ee87afff9a748484661feaf39
commithttps://github.com/ReactiveX/RxSwift/commit/e2b0aa8dbbafe1552d3cfbc9b8c8087615762f0c#diff-8e042493fd9be4916c6c07fe836ac31b3cec232ee87afff9a748484661feaf39
只支持一种语言https://forums.swift.org/t/se-0403-package-manager-mixed-language-target-support/66202
RxCocoaRuntime.podspechttps://github.com/pmanuelli/RxSwiftSpecs/blob/main/Specs/RxCocoaRuntime/6.5.0-xcframework/RxCocoaRuntime.podspec
https://forums.developer.apple.com/forums/thread/655768https://forums.developer.apple.com/forums/thread/655768
Debug Swift debugging with LLDBhttps://www.wwdcnotes.com/notes/wwdc22/110370/
Attaching sources to iOS/macOS binaries compiled on another machinehttps://gist.github.com/GoatHunter/cf85b37eac2820ecb9a72792bc9011ef
美团 ZSource 背后那些事https://tech.meituan.com/2019/08/08/the-things-behind-the-ios-project-zsource-command.html
CC 4.0 协议https://creativecommons.org/licenses/by-nc-sa/4.0/
https://hanleylee.com/support/
Swift 结构化并发https://hanleylee.com/articles/swift-structure-concurrent
香港银行开户https://hanleylee.com/articles/hongkong-bank-account-open
豫ICP备20000113号http://beian.miit.gov.cn
Publishhttps://github.com/johnsundell/publish
https://twitter.com/Hanley_Lei
https://github.com/hanleylee/
https://www.zhihu.com/column/HanleyLee
https://hanleylee.com/feed.rss

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.