input-mask-ios icon indicating copy to clipboard operation
input-mask-ios copied to clipboard

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

Open sarunw opened this issue 6 years ago • 2 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:
    • read our Wiki;
    • read the entire Known issues section;
    • checked that my issue isn't already filled;
    • searched StackOverflow's input-mask tag for similar problems.

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

  • OS version: 10.15.3
  • Library version: 5.0.0
  • Language: Swift 5.1

Additional context

sarunw avatar Mar 13 '20 05:03 sarunw

Hey @sarunw! Thanks for your report.

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

taflanidi avatar Mar 16 '20 17:03 taflanidi

Via swift package manage within Xcode.

sarunw avatar Mar 16 '20 17:03 sarunw