CocoaPods local private database creation and use tutorial, cocoapods use tutorial
For continuous integration of modules Split the project to reduce coupling and use privatePODIntegration
CdFile Path
Step 1 Create a library space File
Pod spec create library name
Mkdir Classes
Step 2 modify xxx. podspec to modify the following key points:
1. "example" or "EXAMPLE"
2. s. platform running platform
3 S. description
4. s. source_files source code path
5. s. dependency "the dependent library you need"
Verify whether the library file configuration is successful: (warning allowed)
Pod lib lint -- allow-warnings
After successful verification: xxx. podspec passed validation.
PodrepopushWTSpecsPodTestLibrary. podspec
Pod repo push local repo name podspec name -- sources = 'private repository repo address, https://github.com/CocoaPods/Specs'
Reference
Local
Pod 'xxx',: path => '/Users/apple/.../XXX'
SVN
Pod 'xxx',: svn => 'https: // 192.168.2.88: 8443/SVN /... /XXX'
Package resource files into Bundle
Command + N (or right-click NewFile) --> iOS --> Resource --> Settings Bundle --> Next --> Create name
Solution to Xib loading failure in Bundle
(Not yet loaded) 'with name 'xxx' at this time, we need to convert xib to nib, and the conversion method is
Ibtool -- errors -- warnings -- output-format human-readable-text -- compile xxxx. nib xxxx. xib