An error is generated when compiling it to run. I can get the code to deploy and run via removing the weak reference, however a memory warnning occurs due to the referencing counting most liekly.
/Users//Documents/my_first_project/build/iOS/Preview/src/UIResponder+FirstResponder.mm:4:8: Cannot create __weak reference in file using manual reference counting
“static __weak id currentFirstResponder;”
Please let me know if there is another way to resolve this or it is a bug that needs to worked on.
I am working on OS X 10.9.3 with the latest FuseTools and Mono Runtime.
We’ve reproduced this with the Xcode 7.3 beta, and have raised an internal issue to get it fixed as soon as possible. In the meantime you can downgrade to Xcode 7.2 where it should still compile.