You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Erik (Jira)" <ji...@apache.org> on 2022/08/15 20:16:00 UTC

[jira] [Commented] (THRIFT-5604) Attempting to use V0.16.0 Thrift in Swift , XCode 13.1 .. shows deprecation warnings

    [ https://issues.apache.org/jira/browse/THRIFT-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579890#comment-17579890 ] 

Erik commented on THRIFT-5604:
------------------------------

closing this issue.. I can import manually for now but I think the instructions could use an update if anyone knows how to more properly add thrift to a swift project

> 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
>            Priority: Major
>
> 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)