Use subspec (submodule configuration), each submodule can be set separately to decide whether to use ARC
For detailed instructions, take a look at the official document Podspec Syntax Reference
The following is an example using the API of Baidu Map 2.8, in which I extended some methods.
In the example, BaiduMapAPI/Core does not support ARC, BaiduMapAPI/Extend supports ARC, and All is loaded by default. All depends on BaiduMapAPI/Core and BaiduMapAPI/Extend so that the complete library can be loaded by default Introducing projects:
I specified the vendored_frameworks path in the spec file and there was no problem. But when I compiled the project, it prompted file not found. How can I solve it?
Use
subspec
(submodule configuration), each submodule can be set separately to decide whether to useARC
For detailed instructions, take a look at the official document Podspec Syntax Reference
The following is an example using the API of Baidu Map 2.8, in which I extended some methods.
In the example,
BaiduMapAPI/Core
does not supportARC
,BaiduMapAPI/Extend
supportsARC
, andAll
is loaded by default.All
depends onBaiduMapAPI/Core
andBaiduMapAPI/Extend
so that the complete library can be loaded by default Introducing projects:spec.ios.vendored_frameworks When I submit, it tells me that the file cannot be found with my path, however, the path is correct.
I specified the vendored_frameworks path in the spec file and there was no problem. But when I compiled the project, it prompted file not found. How can I solve it?