美文网首页
微信支付(本地)

微信支付(本地)

作者: 青椒辣不辣 | 来源:发表于2019-02-26 18:30 被阅读0次
image.png
添加后报以下的错误
'libxml/tree.h' file not found
image.png

${SDK_ROOT}/usr/include/libxml2

image.png

解决以后出现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

1.在targets->build phases中修改compiler Flags属性,添加:-fobjc-arc,就可以让旧的工程支持arc;
2.在targets->build phases中修改compiler Flags属性,添加:-fno-objc-arc,就可以让支持arc的工程不使用arc

-fno-objc-arc

相关文章

网友评论

      本文标题:微信支付(本地)

      本文链接:https://www.haomeiwen.com/subject/hylzyqtx.html