RedMadRobot / input-mask-ios

User input masking library repo.
MIT License
574 stars 95 forks source link

Could not build Objective-C module when add input-mask-iOS to framework #83

Open sarunw opened 4 years ago

sarunw commented 4 years ago

Prerequisites

Describe the bug

Got "Could not build Objective-C module" when add input-mask-iOS to framework.

Steps to reproduce the behaviour:

  1. Create iOS framework
  2. Add input-mask-iOS to that framework
  3. Build and got the error

Expected behaviour Build successfully.

Actual behaviour Got "Could not build Objective-C module" and Module "InputMask" not found in ModuleName-Swift.h

Screenshots image

Platform information

Additional context

taflanidi commented 4 years ago

Hey @sarunw! Thanks for your report.

Could you, please, specify how exactly do you add our library code to your new framework?

sarunw commented 4 years ago

Via swift package manage within Xcode.