yonat / MultiSelectSegmentedControl

UISegmentedControl remake that supports selecting multiple segments, vertical stacking, combining text and images.
MIT License
300 stars 60 forks source link

No such module 'MultiSelectSegmentedControl' #48

Closed willm132 closed 3 years ago

willm132 commented 3 years ago

I am getting error No such module 'MultiSelectSegmentedControl' when attempting to build for Mac Catalyst.

I am using Cocoapods.

yonat commented 3 years ago

Works for me:

Screen Shot 2021-08-21 at 6 10 37 PM

Please create a minimal project that reproduces this problem, create a github project with its code, and link to it here. (See https://ootips.org/yonat/repex/)

willm132 commented 3 years ago

I updated via cocoapods and still getting this issue. All of my other pods are working fine.

willm132 commented 3 years ago

Could not find module 'MultiSelectSegmentedControl' for target 'arm64-apple-ios-macabi'; found: x86_64-apple-ios-macabi, x86_64

yonat commented 3 years ago

To help, I need to be able to reproduce this problem. Please create a minimal project that reproduces this problem - See https://ootips.org/yonat/repex/ for instructions.

willm132 commented 3 years ago

It works when I create a minimal project but not in my current project.

yonat commented 3 years ago

This means that the problem is not in the library, but in the project.

One way to debug this is to add files to the minimal projects one by one, until the problem appears.

Another way is to remove files from your project until the problem disappears.

willm132 commented 3 years ago

I have 30+ files with thousands of lines of code. Is there anyway to use Xcode to debug the issue?

yonat commented 3 years ago

Thousands of lines of code is a small project. The method I suggested would probably take no more than a couple of hours. Good luck!

willm132 commented 3 years ago

I will just remove this and use something else. Thanks for the help!