jonkykong/SideMenu

Not able to run "SideMenu Example" downloaded freshly from main branch

yccheok opened this issue · 1 comments

I have read the guidelines for contributing and I understand

  • My issue is happening in the latest version of SideMenu (older versions are no longer maintained).
  • My issue was not solved in the README.
  • My issue can not be answered on stackoverflow.com.
  • My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
  • My issue is reproducible in the demo project.

Describe the bug

I checked out the latest main branch as per today "7:01 am GMT Friday, 1 January 2021"

The source code is checked out to location /Users/yccheok/Desktop/github/SideMenu

I run "SideMenu Example" using Xcode 12.0.1

The below are the error I am getting

Screenshot 2021-01-01 at 2 57 35 PM

I do not understand why Xcode is looking at location /Users/yccheok/Library/Developer/Xcode/DerivedData/SideMenu-caaxwzkvjfvczidbocepvadsfuwq/Build/Products/Debug-iphonesimulator/SideMenu, even though all the source code is located at /Users/yccheok/Desktop/github/SideMenu

If I select Pods_Example.framework as shown in screenshot below

Pods_Example

Its full path is referring to /Users/yccheok/Library/Developer/Xcode/DerivedData/SideMenu-caaxwzkvjfvczidbocepvadsfuwq/Build/Products/Debug-iphoneos/Pods_Example.framework

Any idea how I can fix this?

To Reproduce

  1. Check out https://github.com/jonkykong/SideMenu.git
  2. Change run target from "SideMenu" to "SideMenu Example"
  3. Select Product/ Run
  4. Getting above described error

Expected behavior
Able to run "SideMenu Example" with 0 modification

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Try File -> Workspace settings -> Build System -> Legacy Build System