<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>4.2 创建模块映射 on 编程那些事儿</title><link>https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/</link><description>Recent content in 4.2 创建模块映射 on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 13 Sep 2026 18:20:56 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/index.xml" rel="self" type="application/rss+xml"/><item><title>4.2.1 模块映射语法参考</title><link>https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/4.2.1-ModuleMapReference/</link><pubDate>Fri, 11 Sep 2026 21:45:00 +0800</pubDate><guid>https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/4.2.1-ModuleMapReference/</guid><description>&lt;blockquote&gt;
&lt;p&gt;原文链接: &lt;a href="https://docs.swift.org/latest/documentation/packagemanagerdocs/modulemapreference/"&gt;https://docs.swift.org/latest/documentation/packagemanagerdocs/modulemapreference/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="421-模块映射语法参考"&gt;4.2.1 模块映射语法参考&lt;/h1&gt;
&lt;p&gt;定义 C 和 C++ 模块接口所用的模块映射指令、属性和语法参考。&lt;/p&gt;
&lt;h2 id="Overview"&gt;概述&lt;/h2&gt;
&lt;p&gt;模块映射使用一种领域特定语言来描述 C、Objective-C 和 C++ 头文件如何组织成模块。本参考文档记录了模块映射声明的语法和语义。&lt;/p&gt;</description></item><item><title>4.2.2 调试模块映射</title><link>https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/4.2.2-DebuggingModuleMaps/</link><pubDate>Fri, 11 Sep 2026 21:45:00 +0800</pubDate><guid>https://before80.github.io/prgms/Swift/SwiftPM/targets/4.2-ModuleMaps/4.2.2-DebuggingModuleMaps/</guid><description>&lt;blockquote&gt;
&lt;p&gt;原文链接: &lt;a href="https://docs.swift.org/latest/documentation/packagemanagerdocs/debuggingmodulemaps/"&gt;https://docs.swift.org/latest/documentation/packagemanagerdocs/debuggingmodulemaps/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="422-调试模块映射"&gt;4.2.2 调试模块映射&lt;/h1&gt;
&lt;p&gt;在 Swift 无法导入你的 C 或 C++ 库时诊断并解决问题。&lt;/p&gt;
&lt;h2 id="Overview"&gt;概述&lt;/h2&gt;
&lt;p&gt;当你为 C 库创建模块映射时，编译错误或导入失败都说明配置有问题。本文介绍如何测试模块映射并修复常见问题。&lt;/p&gt;</description></item></channel></rss>