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

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

Open
1 task done
sarunw opened this issue Mar 13, 2020 · 2 comments
Open
1 task done

Comments

@sarunw
Copy link

sarunw commented Mar 13, 2020

Prerequisites

  • 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

@taflanidi
Copy link
Collaborator

Hey @sarunw!
Thanks for your report.

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

@sarunw
Copy link
Author

sarunw commented Mar 16, 2020

Via swift package manage within Xcode.

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

No branches or pull requests

2 participants