微信支付(本地)
2019-02-26 本文已影响0人
青椒辣不辣
image.png
添加后报以下的错误
image.png
添加后报以下的错误
'libxml/tree.h' file not found
image.png
image.png${SDK_ROOT}/usr/include/libxml2
解决以后出现20个错误
'release' is unavailable: not available in automatic reference counting mode
ARC forbids explicit message send of 'release'
'autorelease' is unavailable: not available in automatic reference counting mode
ARC forbids explicit message send of 'autorelease'
'retain' is unavailable: not available in automatic reference counting mode
ARC forbids explicit message send of 'retain'
'release' is unavailable:
-fno-objc-arc
-fno-objc-arc1.在targets->build phases中修改compiler Flags属性,添加:-fobjc-arc,就可以让旧的工程支持arc;
2.在targets->build phases中修改compiler Flags属性,添加:-fno-objc-arc,就可以让支持arc的工程不使用arc