ashfurrow / Nimble-Snapshots

Nimble matchers for FBSnapshotTestCase.
https://medium.com/cocoaacademymag/unit-testing-uiview-with-nimble-snapshot-651a7c5a5e93
MIT License
317 stars 101 forks source link

9.2.0 podspec validation problem #235

Closed ashfurrow closed 2 years ago

ashfurrow commented 2 years ago

See discussion here: https://github.com/ashfurrow/Nimble-Snapshots/pull/234#issuecomment-941023350

Error is:

error: 'sharedApplication' is unavailable: not available on tvOS (App Extension) - Use view controller based solutions where appropriate instead.

Looks related to APPLICATION_EXTENSION_API_ONLY but I haven't dug into it deeply yet.

dogo commented 2 years ago

Hi @ashfurrow, I tested it here and everything went well. Maybe it's something related to your CocoaPods version? I'm using 1.10.2

Screen Shot 2021-10-12 at 23 07 28

I really appreciate your confidence in letting me make the publications as well, thank you very much.

ashfurrow commented 2 years ago

Cool! I'm glad that's working. I was running 1.11.2. But (for work reasons) I was still on Xcode 12.5.1, so maybe that was it?

In any case, thank you! And yeah, like I said, thank you for your contributions here.