I am thinking about upgrading my current project, but I don't know which version I have. Is there a way to tell?
我正在考虑升级我当前的项目,但我不知道我有哪个版本。有办法告诉吗?
3 个解决方案
#1
2
No, you can't.
不,你不能。
AFNetworking saves its version to the CHANGES
file, you do can't find any version mark in any source files.
AFNetworking将其版本保存到CHANGES文件,您在任何源文件中都找不到任何版本标记。
If the version number is very important to your project, you can scan the UIKit+AFNetworking
folder and AFNetworking
folder in the source code hosting on Github. According to commit log, to diff some specific code snippet for checking if it exists in a specific version.
如果版本号对您的项目非常重要,您可以扫描Github上托管的源代码中的UIKit + AFNetworking文件夹和AFNetworking文件夹。根据提交日志,来区分一些特定的代码片段,以检查它是否存在于特定版本中。
#2
9
You can always check Podfile.lock
it will show you the last version and all its dependencies.
您可以随时检查Podfile.lock它将显示最新版本及其所有依赖项。
#3
0
If there's a "CHANGES
" file found somewhere within your AFNetworking directory, that should contain the version number.
如果在AFNetworking目录中的某处找到“CHANGES”文件,则该文件应包含版本号。
#1
2
No, you can't.
不,你不能。
AFNetworking saves its version to the CHANGES
file, you do can't find any version mark in any source files.
AFNetworking将其版本保存到CHANGES文件,您在任何源文件中都找不到任何版本标记。
If the version number is very important to your project, you can scan the UIKit+AFNetworking
folder and AFNetworking
folder in the source code hosting on Github. According to commit log, to diff some specific code snippet for checking if it exists in a specific version.
如果版本号对您的项目非常重要,您可以扫描Github上托管的源代码中的UIKit + AFNetworking文件夹和AFNetworking文件夹。根据提交日志,来区分一些特定的代码片段,以检查它是否存在于特定版本中。
#2
9
You can always check Podfile.lock
it will show you the last version and all its dependencies.
您可以随时检查Podfile.lock它将显示最新版本及其所有依赖项。
#3
0
If there's a "CHANGES
" file found somewhere within your AFNetworking directory, that should contain the version number.
如果在AFNetworking目录中的某处找到“CHANGES”文件,则该文件应包含版本号。