Ingenico-ePayments / connect-sdk-client-ios

Ingenico Connect iOS Objective-C Client SDK
https://docs.connect.worldline-solutions.com/documentation/sdk/mobile/ios/
Other
17 stars 4 forks source link

AFNetworking compatibility issue #8

Closed antwllm closed 2 years ago

antwllm commented 6 years ago
[!] Unable to satisfy the following requirements:
- `AFNetworking (~> 3.0)` required by `Podfile`
- `AFNetworking (~> 2.5.3)` required by `IngenicoConnectSDK (3.0.1)`

My project is currently using AFNetworking 3.1.0 via CocoaPods.

rob-spoor commented 6 years ago

The SDK currently requires version 2.5.3. Can you try downgrading the version of AFNetworking you use? Upgrading the required version of the SDK means bumping the minimal iOS version from 6 to 7, and that's something we cannot do at this point of time.

rob-spoor commented 6 years ago

For an overview of the minimal required versions for AFNetworking, please check out the Requirements table at https://cocoapods.org/pods/AFNetworking/.

antwllm commented 6 years ago

Hi @rob-spoor,

Thank you for your feedback.

We will try that

antwllm commented 6 years ago

Hi @rob-spoor,

The downgrade will need a big amount of changes in the project. A solution will be to build the SDK as framework so in that case, AFNetworking will be embedded inside.

rob-spoor commented 6 years ago

We will see what's possible here, but that won't give a short-term solution. Perhaps you can include the SDK's IngenicoConnectSDK folder as a source folder of your project. That was the suggested way before the SDK was published on Cocoapods.

antwllm commented 6 years ago

We have tried but we had to modify the SDK to make it work.

Do you still have the instructions somewhere ? I will test it one more time with my team.

rob-spoor commented 6 years ago

You could try release 2.0.0, that includes the old README.md file.

rob-spoor commented 2 years ago

Since version 5.0.0, AFNetworking has been removed as dependency. Does that solve your issue?