Marcel Gruber
Marcel Gruber

Reputation: 7515

How to check version of AFNetworking?

I am thinking about upgrading my current project, but I don't know which version I have. Is there a way to tell?

Upvotes: 11

Views: 5094

Answers (3)

Mike.R
Mike.R

Reputation: 2938

You can always check Podfile.lock it will show you the last version and all its dependencies.

Upvotes: 9

Allen
Allen

Reputation: 6882

No, you can't.

AFNetworking saves its version to the CHANGES file, you do can't find any version mark in any source files.

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.

Upvotes: 2

Michael Dautermann
Michael Dautermann

Reputation: 89549

If there's a "CHANGES" file found somewhere within your AFNetworking directory, that should contain the version number.

Upvotes: 0

Related Questions