clover / remote-pay-ios-go Goto Github PK
View Code? Open in Web Editor NEWClover Go IOS SDK
License: Other
Clover Go IOS SDK
License: Other
Hey Clover team, we would like to get our project which includes Clover Go to Xcode 12.5.1 but the clovergoclient binary is locked to an older swift compile version.
I noticed there's a branch for Xcode 13 (https://github.com/clover/remote-pay-ios-go/tree/CloverGo_Swift5.0), will this work in 12.5.1 and is there an ETA for it?
We're in a bit of a bind because Apple changed Enterprise App signing such that you must sign apps with Big Sur. We use CircleCI for our continuous integration pipeline but the Xcode 12 images lower than 12.5 are still on Catalina. Getting to 12.5.1 will really help us.
Hello, we would like to test our app with iOS 14 however CloverGO SDK gives the following error,
Module compiled with Swift 5.1 cannot be imported by the Swift 5.3 compiler: ios/Pods/CloverGoSDK/clovergoclient.framework/Modules/clovergoclient.swiftmodule/arm64-apple-ios.swiftmodule
We can no longer add device support files to older Xcode versions to make it work.
From Xcode 12 release notes ,
Xcode 12 now encrypts the connection between Xcode and paired devices, protecting against an attacker in a privileged network position executing arbitrary code on connected iOS, iPadOS, watchOS, or tvOS devices during a remote debug session. (60386733)
These security benefits are available when Xcode 12 connects to devices running iOS 14, iPadOS 14, watchOS 7, tvOS 14, or later versions. These OS versions also refuse debugger connections from older Xcode releases. Xcode 12 continues to support debugging for older OS versions, but without the new encryption.
What's the estimated timeline for publishing a version which supports Swift 5.3 compiler?
Hi there!
It looks like the latest version of GoConnector pod i.e. '3.3.13' does not compile on Xcode 13 or higher. In order to fix it, Clover team needs to rebuild GoConnector pod against 5.5.2 or higher swift compiler versions. The Xcode 13 upgrade is important for us because it signs apps with a new signature format without which apps won't launch on iOS 15 or iPadOS 15
https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format
Lately we've noticed that Xcode compatibility related issues reported on both Clover community forum and GitHub are left unanswered, so we are wondering if Clover team is planning to upgrade the SDK or not?
List of unanswered issues -
Please let us know, Thanks!
--
Attachments -
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
Getting the error: Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1.3 compiler.
Currently, pre-compiled frameworks can only be embedded if the compiler versions match! The swift compiler version that is used to compile the project must be the same version that was used to compile the framework.
Is there any way to get the library updated to support Swift 5.1.3?
I am currently receiving the following error when trying to build on Xcode 10.2.1 with Swift 5
Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0.1 compiler: ${PROJECT_DIR}/Build/Products/Debug-iphoneos/GoConnector/GoConnector.framework/Modules/GoConnector.swiftmodule/arm.swiftmodule
Are there any plans to support the Swift 5 compiler in the future? Thanks!
As this library is updated.. please include include the supported version of Xcode. Current this only supports Xcode 10.3 and were on 11... From previous issues, look like this is an ongoing issue of not supporting the latest Xcode version.
Developers are trying to implement and wasting time and or giving up because of complier issues.
Install pods from https://github.com/clover/remote-pay-ios-go/tree/CloverGo_Swift4.2, In my project.
pod 'Starscream', :git => 'https://github.com/daltoniam/Starscream.git', :tag => '3.0.5'
pod 'GoConnector', '3.3.4.2'
I have following error on compiling the code in my project.
/ProjectDirectory/ProjectName-ios/Pods/GoConnector/CloverConnector/Classes/cloverconnector/clovergo/CloverGoConnector.swift:10:8: Module compiled with Swift 4.2 cannot be imported by the Swift 5.0.1 compiler: /ProjectDirectory/ProjectName-ios/Pods/CloverGoSDK/clovergoclient.framework/Modules/clovergoclient.swiftmodule/x86_64.swiftmodule
Brief Description: Code example not working
Environment:
Issues per branches:
There are three active branches on this repository. I tried all of them and here is the result,
1. master
I believe the master
branch contains outdated dependencies like ObjectMapper. Here is screenshot after building the project.
2. CloverGo_Swift4.2
This branch contains incompatible peer dependencies/modules. Here is the screenshot after building the project. I tried both swift 4.2 & 5 compiler options from the build settings but none of them worked.
3. CloverGo_Swift5.0
This branch builds source code however throws error while linking frameworks. It threw following error,
Library not found for -lstdc++.6.0.9
From my research, I found out that lstdc++ is deprecated in iOS 12. So the only way to fix this issue was to delete (not sure if I'm suppose to replace it instead of just deleting it) the framework reference from Other Linker Flags
as follows,
After this, I was able to get the example up and running. However I faced connectivity issues.
Note: I made sure the API key, secret and a correct access token was passed to the application.
Here's what I did,
After debugging I found that sdk threw error:
2019-07-18 09:40:45.660777-0400 CloverConnector_Example[433:42754] [CoreBluetooth] XPC connection invalid
Reader S.No: Optional("17017RP10000242"), Update Required: nil
2019-07-18 09:40:47.926260-0400 CloverConnector_Example[433:42852] [CoreBluetooth] XPC connection invalid
"Error Occured while connecting to Reader"
As you can see, the sdk correctly discovers the device (since it shows the serial number) and connects to it (since it shows connected in iPad's settings > bluetooth) but then something happens that doesn't maintain the connection.
Upon setting a breakpoint in onDeviceError
method, I found that the exact error message was reader_data_not_avaliable
(lldb) po deviceErrorEvent.message
"reader_data_not_avaliable"
(lldb) po deviceErrorEvent.code
▿ Optional<Int>
- some : 500
(lldb) po deviceErrorEvent.errorType
GoConnector.CloverDeviceErrorType.EXCEPTION
Upon looking at the error in detail,
Unable to retrive EMV configuration parameters. Please check your network connectivity
Not sure where to go from here, but I did go through the clover go troubleshooting guide, https://www.clover.com/us/en/help/troubleshoot-clover-go/. Unfortunately it doesn't help!
By the way, I tried adding -lc++
to Other Linker Flags
since I deleted lstdc++
(explained above) but that didn't work either.
Let me know if I can provide more details to help you debug this issue. I'm stuck and getting Clover Go integration done is really important for me and my company. Please make this a priority. I am happy schedule a pairing session via video call just so we can expedite this process. Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.