Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Is there possibility to use this Lark with CocoaPods, or generate Soap client standalone? #39

Open
michzio opened this issue Sep 10, 2019 · 3 comments

Comments

@michzio
Copy link

michzio commented Sep 10, 2019

I try to use it but I am using cocoa pods for dependency management.
I could also just generate Swift SoapClient if I could build this project but there is no info about building it without Swift Package Manager.

@Bouke
Copy link
Owner

Bouke commented Sep 11, 2019

This project is build using SwiftPM, and doesn't support other package managers. However you should be able to create framework manually if you don't use SwiftPM yourself. See also #34 and #36 for more information.

@michzio
Copy link
Author

michzio commented Sep 12, 2019

OK I try to use it with Swift Package Manager on Xcode 11. As I understand I can then build this project and use this Lark to generate SOAP Client classes based on WSDL and could move this to iOS application?
I have used something similar like wsdl2swift.com But it doesn't meet my requirements as this doesn't handle nested xml structures only primitive types and no encoding decoding of this structure. I consider whether this Lark library can handle nested xmls objects and sending in request arrays of such objects. I think I could add encoding decoding using Codable and XMLParsing library.
I definitely try to build and generate soap client using this library as manual typing and decoding every class is tedious work, maybe it help a little.

@Bouke
Copy link
Owner

Bouke commented Sep 12, 2019

With regards to iOS I’m sorry to disappoint you: https://github.com/Bouke/Lark/blob/master/README.md#is-ios-supported

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

No branches or pull requests

2 participants