Erik created THRIFT-5604:
----------------------------
Summary: Attempting to use V0.16.0 Thrift in Swift , XCode 13.1 ..
shows deprecation warnings
Key: THRIFT-5604
URL: https://issues.apache.org/jira/browse/THRIFT-5604
Project: Thrift
Issue Type: Bug
Reporter: Erik
I am unable to integrate thrift into a Swift Application within XCode
I won't post too much detail since I posted a SO already with most of the
things I've tried..
Trying to add the git repo in XCode didn't work
[https://stackoverflow.com/questions/72895796/having-trouble-with-adding-a-swift-package-to-macos-12-x/72898864?noredirect=1#comment128766432_72898864]
And once I manually cloned the repo and set a git tag.. that still isn't being
found in XCode on the `import Thrift` line.. so I must be doing something wrong?
[https://stackoverflow.com/questions/72908786/trying-to-figure-out-swift-clients-for-thrift]
If I hit CMD+B to build.. I just kept seeing Thrift module not found.. even
though I seem to have successfully added the package
finally I started to give up integrating the library properly and just chuck it
into a folder in my project and go from there.. but once I did that all sorts
of deprecation warnings made me wonder how far a rabbit hole am I going..
```
/Users/emcp/App/Thrift/TSSLSocketTransport.swift:200:14: 'SecTrustEvaluate' was
deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)'
```
I am on Mac 12.x hoping to code a small menubar app which in swift talks to a
Python Thrift Server.. but beginning to wonder if anyone has done this..
there's near zero walkthroughs of this type of thing out there.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)