0

目标:学习如何向 Swift 包添加导入。
作案手法:使用 Apple 提供的示例作为基础。添加另一个导入(即 Alamofire)
结果: Alamofire 确实导入;但它的模块“找不到”。

包装:

在此处输入图像描述

来源:

在此处输入图像描述

问: 为什么会这样?
我错过了什么?

4

1 回答 1

0

Check the target DeckOfPlayingCards, select the General tab, check Framework, Libraries, and Embedded Contents, make sure Alamofire is on the list

于 2021-12-31T07:12:14.390 回答