![](/img/trans.png)
[英]'MyClass' is unavailable: cannot find Swift declaration for this class - Simulator
[英]MyClass is unavailable: cannot find Swift declaration for this class
按照創建通用二進制代碼后下列步驟操作:
在lipo
之前,您正在為各個體系結構構建.framework
軟件包。
對於每個包裝:
abc.framework/Modules/abc
.swiftdoc
universal abc
abc.framework/Modules/abc
對所有體系結構重復這些步驟。
最后,通用框架包路徑abc.framework/Modules/abc.swiftmodule/
應該包含以下文件:
Swift編譯器需要每種架構的swiftmodule映射文件。
跟着這些步驟
希望這可以解決問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.