Skip to content

greedbell/pass_signing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pass_signing

苹果官方的developer downloads area 中的 rsign_pass 有BUG。会报下面的错误:

 /Users/Bell/Documents/Apple/Wallet/WalletCompanionFiles/SamplePasses/Coupon.pass/
/usr/local/lib/ruby/gems/2.2.0/gems/sign_pass-1.0.1/lib/sign_pass.rb:61:in `initialize': wrong number of arguments (4 for 5..6) (ArgumentError)
	from bin/rsign_pass:40:in `new'
	from bin/rsign_pass:40:in `<main>'

这是修复后的 rsign_pass

安装

$ gem build sign_pass.gemspec
$ gem install sign_pass-1.0.1.gem

使用

rsign_pass -p /path/to/pass/directory -c /path/to/ssl/certificate -w certififcate-password -i wwdr_intermediate_certificate_path -o /path/for/output/file"

添加了个 -i 参数,对应wwdr_intermediate_certificate_path,从http://www.apple.com/certificateauthority/AppleWWDRCAG2.cer 下载

About

sign apple pass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages