Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting errors in SlideMenuControllerSwift files in latest Xcode 10. #419

Open
YashJadhav opened this issue Jan 31, 2019 · 5 comments
Open

Comments

@YashJadhav
Copy link

Hello,

I installed SlideMenuControllerSwift using Cocoapods, and facing errors in SlideMenuControllerSwift files. Facing same problem by doing manual installation as well.

I think the errors are due to latest swift 4.2, the code is not compatible to latest Xcode 10 & Swift 4.2.

Please Team SlideMenuControllerSwift take this issue into consideration and try to solve it as fast as you can since I want to use PageMenu in my current project which I am currently working on.

@PrashantKT
Copy link

To fix this issue

Goto build Phases -> Make sure you have correct target selected (see left side list) -> Remove info.pllist file from Copy bundle and resources folder -> Clean project and Compile

@AndyDunn
Copy link

Having the same problem here. What's the best solution to resolve this for use in the latest Xcode? The instructions from @PrashantKT don't seem to make sense to me. Which Target? And why remove the info.plist?

@PrashantKT
Copy link

@AndyDunn Just go to build phases and remove info.plist from there. and compile your code.

@YashJadhav
Copy link
Author

Hi @PrashantKT , I just created a demo project to checkout your solution and followed the steps you mentioned above. Project Target -> Build Phases -> Copy Bundle Resources -> Remove info.plist file from here. But there is no info.plist file in my Copy Bundle Resources section, only main.storyboard, launchscreen.storyboard and xcassets folder. I have used Cocoapods to install SlideMenuController library.

@Oowomn
Copy link

Oowomn commented Feb 19, 2019

try Pods->Targets -> SlideMenuControllerSwift -> Swift Language Version -> change 4.2 to 4.0. Im not sure is this a proper way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants