简体   繁体   English

jonkykong/SideMenu 在 Xcode 11.3 和 iOS 13 中不起作用

[英]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:重现行为的步骤:

  1. Clone/Download project克隆/下载项目
  2. Open it in Xcode 11.3在 Xcode 11.3 中打开它

  3. Compile Example Project编译示例项目

  4. See error查看错误

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 的文件结构和命名约定不同

  1. Copy a Info.plist from SideMenu folder to Pods->Target Support Files->SideMenu folder and rename it there to SideMenu-Info.plistInfo.plistSideMenu文件夹复制到Pods->Target Support Files->SideMenu文件夹并将其重命名为SideMenu-Info.plist

  2. Copy the SideMenu.h from SideMenu folder to Pods->Target Support Files->SideMenu folder and rename it there to SideMenu-umbrella.hSideMenu.h从 SideMenu 文件夹复制到Pods->Target Support Files->SideMenu文件夹并将其重命名为SideMenu-umbrella.h

  3. Copy the SideMenu.h from SideMenu to Pods->Target Support Files->Pods-Example and rename it there to Pods-Example-umbrella.hSideMenu.hSideMenu复制到Pods->Target Support Files->Pods-Example并将其重命名为Pods-Example-umbrella.h

  4. Rebuild the project重建项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JonkyKong的SideMenu'No Such Module'错误 - JonkyKong's SideMenu 'No Such Module' error Swift-Jonkykong SideMenu UISideMenuNavigationController未找到 - Swift - jonkykong SideMenu UISideMenuNavigationController not found 为什么显示 Google 插页式广告会改变我的 NavigationBar 的高度? Xcode 11.3,iOS 13 - Why does displaying a Google Interstitial Ad change the height of my NavigationBar? Xcode 11.3, iOS 13 SideMenu Jonkykong sideMenuDidAppear 和 sideMenuDidDisappear 委托未触发 - SideMenu Jonkykong sideMenuDidAppear and sideMenuDidDisappear delegate not firing Jonkykong开发的SideMenu-从右侧滑入 - SideMenu by jonkykong - slide in from right side Swift-jonkykong SideMenu-在菜单顶部推送视图 - Swift - jonkykong SideMenu - Push view on top of menu Xcode 11 / iOS 13 记录 UITest 不工作 - Xcode 11 / iOS 13 record UITest not working 添加了20多个tableviewcell,但之后无法滚动tableview以查看jonkykong / SideMenu iOS演示应用程序中的所有单元 - Added more than 20 tableviewcells but after that not able to scroll tableview to see all cells in jonkykong/SideMenu iOS demo application Xcode 11.3 没有最新的 iOS 版本 - Xcode 11.3 does not have latest iOS version iOS Firebase 推送通知不适用于 Xcode 11.5 和 iOS 13 模拟器 - iOS Firebase Push notification not working on simulator with Xcode 11.5 and iOS 13
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM