ofxARKit error on ventura 13.2

Hi,

code accessing ofxARKit that -was compiling- ok now gives errors - I think the changes relates to upgrading to OSX Ventura 13.2 and XCODE 14.2 -

using the latest nightly build for iOS V_(20230208) I now get

' 'autorelease' is unavailable: not available in automatic reference counting mode '
'ARC forbids explicit message send of 'autorelease''

on myappdelegate.mm and other files -

iOS empty example and other code compiles fine -

it appears related to ios - 'release' is unavailable: not available in automatic reference counting mode - Stack Overflow

when I disable "automatic reference counting " I get

"Please enable ARC (Automatic Reference Counting) at the project level"

being spat from iphone+ofstatic library

am using the latest build of ofxARKit from SortofSleepy

any clues or advice gratefully received


Changes are related to some changes related to ARC. Not related to macOS / XCode upgrade
Some addon developers already upgraded to be ARC compatible, like ofxSyphon.
You can contact the addon developer or use a previous OF version like latest release to make it work as it is.

Thanks @dimitre can you clarify a bit?
the code was compiling and now it is not - all that i can see that is different is a recent update on my dev machine to ventura and xcode…
is there a version of oF that changes related to ARC?

0.11.2 doesn’t use ARC yet. There was a change on the source on this PR which now begins using and enforcing ARC https://github.com/openframeworks/openFrameworks/pull/6889
you can use this addon with 0.11.2 release or if you checkout the source in a commit made before Mar 11, 2022.
As OF doesn’t have recent releases it is only noticed on github and nightly builds