Skip to content
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.

How I can get version of .ipa file? #2

Closed
charger opened this issue Jul 25, 2013 · 3 comments
Closed

How I can get version of .ipa file? #2

charger opened this issue Jul 25, 2013 · 3 comments

Comments

@charger
Copy link

charger commented Jul 25, 2013

I try

ipa=IPA::IPAFile.new '02.ipa'
ipa.info #=> nil
ipa.version #=> NoMethodError: undefined method `[]' for nil:NilClass

https://dl.dropboxusercontent.com/u/17121936/github/02.ipa
There was incorrect .ipa file or I not correct used 'ipa' gem?

@sjmulder
Copy link
Owner

Something seems to be going wrong with the parsing of the binary plist file. I’ll have a look later today, but for anyone interested the issue seems to be with Plist::BinaryPlist.decode_binary_plist from the sj-plist gem: https://github.com/sjmulder/plist.

@sjmulder
Copy link
Owner

Try 0.1.3, should be good now.

@charger
Copy link
Author

charger commented Jul 26, 2013

Than you very much. All ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants