Regarding the use of cocoaPods, the third-party library header file during import does not prompt a solution to the problem. cocoapodsimport
It is estimated that many users use cocoaPods when using Xcode to import third-party libraries in the project. However, when using this third-party library to import header files in the project, after entering # import, does not associate the header file of a third-party library (XXXX. h), which requires manual input. You can follow the steps below to solve this problem:
1. select target (your project target on the left) -- BuildSettings -- User Header search Paths (:)
2. Double-click the blank area following it :(:)
3. the following figure is displayed, and click "+" to add one, and enter "$ (PODS_ROOT)" (no quotation marks). Select: recursive (files will be searched recursively in the corresponding directory ):
In this way, the project can be automatically associated when a third-party library header file is added. There is no test in the swift project, and it is estimated that it can also be implemented.