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
No Such Module 'Moltin' #21
Comments
Hi, At the moment, unfortunately, we only support Swift projects. This is due to a few Swift specific language features we use from the V2 branch onwards, such as generic enums and I'm looking into ways to support Objective-C but at the moment the use of these language features are holding us back. Replacing |
Hi Craig,
I am using a Swift project. Should I just be installing the pod and
importing it?
Thanks for the response.
…On Mon, Apr 23, 2018 at 8:38 AM, Craig Tweedy ***@***.***> wrote:
Closed #21 <#21>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AcXbT5shPqRuuUSaqj4MECZd48xRjWC_ks5trctNgaJpZM4Te-Eg>
.
|
Simply adding "pod 'Moltin'" to my Swift project installs the pod but when
importing Moltin there is still no such module found. This issue is
extremely frustrating and a solution would be appreciated.
…On Mon, Apr 23, 2018 at 3:44 PM, Aditya Bose ***@***.***> wrote:
Hi Craig,
I am using a Swift project. Should I just be installing the pod and
importing it?
Thanks for the response.
On Mon, Apr 23, 2018 at 8:38 AM, Craig Tweedy ***@***.***>
wrote:
> Closed #21 <#21>.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#21 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AcXbT5shPqRuuUSaqj4MECZd48xRjWC_ks5trctNgaJpZM4Te-Eg>
> .
>
|
Hi, I'm sorry this is obviously not ideal for you. I'm looking at this as a priority and I am currently testing a fix for this. Will get back to you ASAP with a confirmation. |
Hi @x697 , Just a quick update. I've pushed up version In the meantime, there is a way you can work with the latest Moltin SDK separately from CocoaPods:
I'll keep you updated as soon as I've fixed this code signing issue. |
Just tested the updated version with my project, and it works! I used
cocoapods.
Thanks for your prompt response to the issue, and good luck with the code
signing problem.
…On Mon, Apr 23, 2018 at 6:45 PM, Craig Tweedy ***@***.***> wrote:
Hi @x697 <https://github.com/x697> ,
Just a quick update. I've pushed up version 3.0.5 of the Moltin pod. This
corrects the majority of the issue I believe you were having, however on
testing that I'm getting some issues with code signing. This is something
I'm currently still looking into, but I figured I'd update you on this
anyway.
In the meantime, there is a way you can work with the latest Moltin SDK
separately from CocoaPods:
- Download the 3.0.5 code directly from the master branch, or from this
tag <https://github.com/moltin/ios-sdk/releases/tag/3.0.5>
- Drag moltin.xcodeproj into your project.
- Go to your targets Build Phases
- Click the plus icon under "Link Binary With Libraries"
- Add moltin.framework - I'm guessing you're integrating to iOS, so
select moltin.framework from moltin iOS target.
I'll keep you updated as soon as I've fixed this code signing issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AcXbT6RyjFdTSGjYmZbq79KZAYrX53NPks5trlmRgaJpZM4Te-Eg>
.
|
Oh! That is odd! In that case, it seems like the code signing issue is just on my side then! I'm going to leave this issue open for a little while, and do some more testing on that side of the codebase, but in case it pops up for anyone else. Thanks for your patience with this, I appreciate how frustrating these integration problems can be. I've already made some notes on areas we can improve to avoid these issues in the future. |
I followed instruction and installed the pod file to my project. I open the workspace and clean and build it. I then try to import Moltin, but "no such module" is found. I created a bridging header containing the statement: "#import <Moltin/Moltin.h>". I have the compiling settings for objective c in build settings set to the bridging header I created. I've tried several solutions, but nothing works. Help with this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: