KaneCheshire / Peasy

A pure Swift mock server for embedding and running directly within iOS/macOS UI tests. Easy peasy.
MIT License
38 stars 10 forks source link

Fix Xcode 14 runtime errors #35

Closed corteggo closed 1 year ago

corteggo commented 1 year ago

@KaneCheshire the latest Peasy version available does not work with Xcode 14.x and Swift 5.7.

The capacity argument indicates the number of instances of sockaddr_* and not the number of bytes within the pointer. Fix based on https://git.zx2c4.com/wireguard-apple/commit/?h=am/fix-addrinfo-crash

Please, could this be merged and a new version be released?

Thank you for writing Peasy and contributing to the iOS development community. Good job.

KaneCheshire commented 1 year ago

Thanks for this! I did mean to get this fix out before but I got side-tracked, thanks for doing this.

KaneCheshire commented 1 year ago

This should be in 1.2.1 :) thanks again

corteggo commented 1 year ago

Thank you very much @KaneCheshire for merging this so fast!

One more request, will you please deploy updated podspec to CocoaPods podspecs repo? 🙏

Thanks again for this wonderful library!