Dependent libraries: YYModel, DSBridge-iOS.
Import method: support Cocoapods
(recommended) and direct import.
Supported version: iOS 9+
Compatibility: versions before iOS 2.1.0 and iOS 2.1.0 and later versions are connected to different servers and cannot be interconnected. The SDK API remains compatible. For details, please see 2.0.0 official release
Due to network reasons, there may be a delay in the GitHub cocoapods warehouse network. For such users, it is recommended to use Tsinghua University Open Source Software Mirror Station.
For specific use, please see the help of this site.
Prompt [!] Unable to find a pod with name, author, summary, or descriptionmatching
etc.
Because the installation of Cocoapods
is based on the local library. If you cannot find the corresponding version during installation, you can execute the following command to update
# Update cocoapods repo content
pod repo update
# re-install
pod install
The version constraint stored in the podfile
is not the final version used. The specific version needs to be checked in the Podfile.lock
file.
# 2.5.0 is the version used
-Whiteboard (2.5.0):
-dsBridge (~> 3.0.2)
-YYModel (~> 1.0.4)
Because Cocoapods
uses Podfile.lock
to lock the version number, once the sdk is installed (there is a lock
file that conforms to Podfile
), pod install
will not change the version.
First execute the following command:
# Check the local cocoapods spec repo, whether there is the latest version
pod search Whiteboard
# If the latest version is not available, update the spec repo
pod repo update
Update the SDK in any of the following ways:
pod update Whiteboard
.Podfile.lock
file, and re-execute pod install