mattgallagher / CwlPreconditionTesting

A Mach exception handler that allows Swift precondition failures to be caught and tested.
ISC License
175 stars 46 forks source link

Add visionOS support #33

Closed stonko1994 closed 11 months ago

stonko1994 commented 12 months ago

Description

This PR combines the following PRs:

+1

It also updates the podspec files to add visionOS support through CocoaPods.

stonko1994 commented 12 months ago

Before this update can be used in Nimble https://github.com/mattgallagher/CwlPreconditionTesting/pull/34 also needs to be merged to fix Carthage support.

mattgallagher commented 11 months ago

Sorry I've been a little slow to get to this. I'll try to look at these in the next day or two.

mattgallagher commented 11 months ago

Okay, there's a new 2.2.0 tag so it should work via Swift Package Manager. I can't push an update to Cocoapods at the moment as the latest version of pod refuses to lint it:

[!] Invalid CwlPreconditionTesting.podspec file: undefined method `visionos' for #.

It looks like the "support" in 1.13 didn't really work and some additional changes will be needed to fully handle the new platform.

stonko1994 commented 11 months ago

Can you update without linting or specify the platforms to include?

I added --platforms="ios,tvos,watchos,macos" in Nimble to the pod lint command.