On the use of cocoaPods, import When you import a third-party library header files do not prompt solution to the problem

CSDN   https://mp.csdn.net/postedit/90763194

https://blog.csdn.net/arthurshuai/article/details/51787404

June 30, 2016 09:09:45  ArthurShuai  Reads: 8959

Estimates have many friends in the use of Xcode import third-party libraries in a project, using cocoaPods, but this third-party libraries in a project when you import the header file, enter #import, and not think of a third party library header files ( XXXX.h), we need to manually input a lot of trouble. You can follow these steps to solve this little problem:

1. Select the target (that is, the left side of your project target) - BuildSettings - in search Paths User Header Search Paths (as shown :) 

2. Double-click an empty area behind :( :) shown in FIG.

 3. When the figure below, and click on the "+" sign to add a: and type: "$ (PODS_ROOT)" (without the quotes), select: recursive (recursive search will be the appropriate directory files):

 In this way, you can make your project can be added automatically think of a third party library header files. Not tested in swift project, suggesting that it should also be achievable.

Guess you like

Origin www.cnblogs.com/sundaysgarden/p/10978784.html