In the project sometimes encounter library not found For-lpods (here ipods refers to your specific third party libraries) problem
The reason for this error is that Xcode cannot find the library at compile time, resulting in the project not compiling!
Here are a few workarounds:
The first type:
- A) Search from the "Library" from the Target Settings view and double-click to inspect the value of
Library Search Paths
- b) There is the values listed
$(inherited) and $(PROJECT_DIR)/Pods/build/Debug-iphoneos . Delete the latter.
- c) do a full clean, build & Run
- d) Run
pod install again. Notice that the entry are not restored.
The second type:
- Go to Product > Edit Scheme
- Click on Build
- ADD
Pods the static library, and make sure it's at the top of the list
- Clean and build again
The third type:
- If that's doesn ' t work, verify the source for the spec is trying to include have been pulled from GitHub. Do this by looking in/pods/. If It is empty (it should isn't being), verify that the ~/.cocoapods/master//.podspec have the correct git hub URL in it.
The fourth type:
If still doesn ' t work, check your XCode build locations settings. Go to Preferences, Locations, Derived Data, advanced and set build location to ' Relative to Workspace '.
The fifth type: (more commonly used online solutions)
Get the folder path where the library file is located, add to Target's build settings interface
Locate the library search paths, and then add it!
The sixth kind: (feeling more helpless method)
Re-use the Pod Update method to update all third parties (I didn't succeed anyway, but someone on the internet has been successful)
The seventh type:
I ' ve found that is $(inherited) missing from my other Linker Flags build setting.
Applying this option fixed a missing the library issue I was seeing.
The six-hole in the development of iOS-when you use Cocopods to manage third-party libraries, compile a workaround for the library not found For-lpods problem