Quick / Nimble

A Matcher Framework for Swift and Objective-C
https://quick.github.io/Nimble/documentation/nimble/
Apache License 2.0
4.8k stars 601 forks source link

Fixes the build on Xcode 14.3b2 #1033

Closed dymv closed 1 year ago

dymv commented 1 year ago

What behavior was changed?

None.

What code was refactored / updated to support this change?

Updates made to ObjC func implementations. More info: https://developer.apple.com/forums/thread/725753

What issues are related to this PR? Or why was this change introduced?

Building Nimble in Xcode 14.3b2 (14E5207e) is failing due to

.../nimble/Sources/NimbleObjectiveC/DSL.m:71:41: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
NIMBLE_EXPORT NMBPredicate *NMB_beTruthy() {
                                        ^
                                         void

dymv commented 1 year ago

Thank you @younata 🙇

einar-notland commented 1 year ago

@younata Any plans for a release with this included? I mean now that Xcode 14.3 is out of beta.

younata commented 1 year ago

@younata Any plans for a release with this included? I mean now that Xcode 14.3 is out of beta.

Thanks for the reminder! v11.2.2 is now released and includes this fix!