ProxymanApp / atlantis

Capture HTTP/HTTPS, and Websocket from iOS app without proxy.
https://proxyman.io
Apache License 2.0
1.26k stars 93 forks source link

Unable to build on Xcode 14.0.0 beta #104

Closed JohnnyTseng closed 2 years ago

JohnnyTseng commented 2 years ago

Screen Shot 2022-06-09 at 11 19 39 Screen Shot 2022-06-09 at 11 19 45

Am finding a way to fix this issue, will share if there is any solution!

esteluk commented 2 years ago

You've closed the issue - did you identify a fix for this?

Nevermind, just need to be on 1.17.0 or newer.

leondeng commented 1 year ago

Weird, I'm still blocked by this issue with Xcode 14.1...

NghiaTranUIT commented 1 year ago

@leondeng can you clone the Repo and try to run it again?

I'm able to successfully run/integrate Atlantis on Xcode 14.1

Screenshot_2022-11-20_at_14_05_15

NghiaTranUIT commented 1 year ago

@leondeng with the latest Atlantis 1.20.0, we completely remove the NSURLConnection, so these errors (the first screenshot) is gone.

leondeng commented 1 year ago

Hi @NghiaTranUIT, the errors are from atlantis-proxyman 1.12.0 Do I still need Atlantis as dependency package after adding pod 'atlantis-proxyman' in the Podfile?

leondeng commented 1 year ago

still the same error after adding Atlantis 1.20.0 to Pods/atlantis-proxyman...

NghiaTranUIT commented 1 year ago

@leondeng can you share with me a screenshot or copy the Exact Error?

The issue was about "NSURLConnection", which is completely removed from Atlantis 1.20.0. Thus, it doesn't make sense that you still get this error.

leondeng commented 1 year ago

Found it! ios deployment target of the build target was 12.4, which restricted the version of atlantis-proxyman at 1.12.0 always changed it to 13.0, pod install fetched 1.20.0 for me! All good now, except that we are using pusher-js, not pusher swift, so still no possible to check out wss traffic via proxyman.

Thanks anyways, @NghiaTranUIT.

NghiaTranUIT commented 1 year ago

Thanks for letting me know 👍 Only WS traffic, which is called from URLSessionWebSocketTask is supported.