release' is unavailable: not available in automatic reference counting mode..
解决办法:
You need to turn off Automatic Reference Counting. You do this by clicking on your project in the navigator (the top item in the finder-like thing on the left), then click on your target, select "Build Settings" and turn off the option "Objective-C Automatic Reference Counting" (you can use the search field on the upper right to search it).
补充:由于参数非常多,可以在搜索框中输入关键词,如:refer,就比较方便的看到了。:)
参考图:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12231606/viewspace-1075723/ ,如需转载,请注明出处,否则将追究法律责任。