Thrift-Swift icon indicating copy to clipboard operation
Thrift-Swift copied to clipboard

question on getting started with clients

Open EMCP opened this issue 2 years ago • 1 comments

I am trying to call a python thrift server running locally on my MacOS computer.. within a Swift App

https://github.com/apocolipse/Thrift-Swift#client-example

I took the client example code as-is and pasted in that along side adding the library as a package to my XCode Project.. but as-is it seems unhappy image

Any advice is appreciated

I think I've dropped most of the errors but just want to find a way to confirm my client can work..

EMCP avatar Jul 07 '22 23:07 EMCP

seems XCodes not even finding Thrift.. is it not bundled as part of this repo or..?

https://github.com/apocolipse/Thrift-Swift.git

I first tried adding it from the files in apaches repo, then saw in the apache instructions to try

"Unfortunately due to some limitations in SPM, the Package manifest and Sources directory must be at the root of the project. To get around that for the time being, you can use this mirrored repo. Add the following to your Package.swift"

https://github.com/apocolipse/Thrift-Swift.git

image

Am I way off or..?

EMCP avatar Jul 10 '22 10:07 EMCP