[英]jonkykong/SideMenu is not working in Xcode 11.3 and iOS 13
Describe the bug描述错误
Clone and run project in xcode 11.3 with Catalina MacOS and example project will not compile.使用 Catalina MacOS 在 xcode 11.3 中克隆并运行项目,示例项目将无法编译。
To Reproduce再现
Steps to reproduce the behavior:重现行为的步骤:
Open it in Xcode 11.3在 Xcode 11.3 中打开它
Compile Example Project编译示例项目
Expected behavior预期行为
Example project must compile without error.示例项目必须正确编译。
As hinted at in the comments, the project has dependencies which cannot be found.正如评论中所暗示的,该项目具有无法找到的依赖项。
According to the path that it is complaining about, its missing one or more Pods根据它抱怨的路径,它缺少一个或多个Pod
So normally you would go into the project folder in your terminal and enter pod install
which will install the missing libraries.所以通常你会进入终端中的项目文件夹并输入
pod install
这将安装缺少的库。
Once you have done this open the workspace (not the project) and then it should work.完成此操作后,打开工作区(而不是项目),然后它应该可以工作了。
Problem is related to different than expected file structure and naming conventions of the Pod问题与 Pod 的文件结构和命名约定不同
Copy a Info.plist
from SideMenu
folder to Pods->Target Support Files->SideMenu
folder and rename it there to SideMenu-Info.plist
将
Info.plist
从SideMenu
文件夹复制到Pods->Target Support Files->SideMenu
文件夹并将其重命名为SideMenu-Info.plist
Copy the SideMenu.h
from SideMenu folder to Pods->Target Support Files->SideMenu
folder and rename it there to SideMenu-umbrella.h
将
SideMenu.h
从 SideMenu 文件夹复制到Pods->Target Support Files->SideMenu
文件夹并将其重命名为SideMenu-umbrella.h
Copy the SideMenu.h
from SideMenu
to Pods->Target Support Files->Pods-Example
and rename it there to Pods-Example-umbrella.h
将
SideMenu.h
从SideMenu
复制到Pods->Target Support Files->Pods-Example
并将其重命名为Pods-Example-umbrella.h
Rebuild the project重建项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.