clover / remote-pay-ios-go

Clover Go IOS SDK
Other
5 stars 14 forks source link

Trying to compile Example project - Module 'RUA' not found #1

Closed chimura closed 5 years ago

chimura commented 5 years ago

I've downloaded this repository code, and I'm trying to execute the example project, but it throws me the following error:

/Users/chimura/me/remote-pay-ios-go-3.3.2/Example/Pods/CloverGoSDK/CloverGoReaderSDK.framework/Headers/CloverGoReaderSDK-Swift.h:167:9: Module 'RUA' not found

Steps to reproduce: download the code, pod install, open xcworkspace, build

marcos-soares commented 5 years ago

@madhavsahuclover, It is this mistake that is happening to me too.

madhavsahuclover commented 5 years ago

@chimura @marcos-soares Which Xcode version are you guys using ?

marcos-soares commented 5 years ago

@madhavsahuclover 10.1

chimura commented 5 years ago

10.1, too

madhavsahuclover commented 5 years ago

Thanks guys for the patience, we are looking into this issue....will fix asap and update here

madhavsahuclover commented 5 years ago

Can you copy paste this module.modulemap file in your pod folder /Pods and if you get any error regarding libc6++ error.....remove this library from Other linker flags in build setting from your app target..In the meanwhile we will work on fixing this in our latest pod release...Thanks and let me know if there are any questions module.modulemap.zip

madhavsahuclover commented 5 years ago

Let me know if this worked for you guys @chimura @marcos-soares

chimura commented 5 years ago

Copied the file to: /Users/chimura/me/remote-pay-ios-go-3.3.2/Example/Pods/

By dragging and dropping the file to Xcode's groups hierarchy. I had "Copy items if needed", and tried selecting "Add to Targets: GoConnector", and also not selecting anything.

Tried to compile multiple times, cleared DeliveredData, still getting the exact same error.

Screen Shot 2019-03-30 at 11 48 55

marcos-soares commented 5 years ago

Me too, same mistake

madhavsahuclover commented 5 years ago

My apologies...you would have to paste the file module.modulemap in Pods/CloverGoSDK folder. Something like in screenshot provided and try again

Screen Shot 2019-04-01 at 1 20 10 PM
madhavsahuclover commented 5 years ago

In the meanwhile i will publish the new pod with this issue resolved. Thanks for the patience

chimura commented 5 years ago

I successfully added the module.modulemap, tried to build and now I'm getting linker error:

Tried to remove CloverGoSDK from the flags, still getting linker error.

madhavsahuclover commented 5 years ago

if you get any error regarding libc6++ error in linking issue.....remove this library from Other linker flags in build setting from your app target..In the meanwhile we will work on fixing this in our latest pod release...Thanks and let me know if there are any questions

And also remove the repo and again copy the repo and do pod install and copy paste module.modulemap in the destination folder

marcos-soares commented 5 years ago

@madhavsahuclover sorry for the inconvenience, but I've done this procedure several times and still yes the error of @chimura above.

I needed to deploy Clover Go in my project, when is the release ready with the fix?

madhavsahuclover commented 5 years ago

@chimura @marcos-soares can you guys check now and again clone and install new pod and run your project. Everything should go fine now

marcos-soares commented 5 years ago

It worked! Thanks @madhavsahuclover.