Introduction of Chinese source files in the dependent library, resource files
There are two methods to introduce resource files:
1. s. resource = "DDKit/**/*. {png, bundle, xib, nib }"
2. s. resource_bundles = {
'Ddkit '=> ['ddkit /**/*. the differences between {png, bundle, xib, nib} ']} in the project are as follows: first, only the Resources directory is generated: Second: when the first method directory is generated, A DDKit is also generated. bundle file: DDKit. the content of the bundle display package is as follows:
The DDPromptView file contains the following three files:
The DDKit. podspec file can be written in either of the following ways:
If the folder contains resource files, you must specify the file type h and m as follows.
If the file type of source_files is not specified as h or m, the following method is used. At this time, an error is reported during project compilation.
The following error is reported:
If you do not specify a specific file type, you can only store the resource file separately to solve the preceding error.