V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
stcui
V2EX  ›  iDev

有人搞定passkit了么,创建好了还是提示无法下载..

  •  
  •   stcui · 2012-06-13 11:34:45 +08:00 · 4451 次点击
    这是一个创建于 4333 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://developer.apple.com/library/prerelease/ios/#documentation/UserExperience/Conceptual/PassKit_PG/Chapters/Create.html
    上的方法创建并打包好了一个 pkpass, 也改了服务器上的mimetype, safari还是提示无法下载此文件。。。有人搞定了么
    5 条回复    1970-01-01 08:00:00 +08:00
    dingtianran
        1
    dingtianran  
       2012-06-14 07:59:57 +08:00
    一样。邮件附件也是无法识别此文件
    dingtianran
        2
    dingtianran  
       2012-06-14 08:00:38 +08:00
    发现一个别人弄好的东西 还没试过 https://github.com/tschoffelen/PHP-PKPass
    blogcool
        3
    blogcool  
       2012-06-14 13:05:48 +08:00
    检查下签名是否正确,这个例子可以通过。
    blogcool
        4
    blogcool  
       2012-06-14 14:50:18 +08:00
    在压缩时,要注意当前目录需要有可写权限,header信息正确,否则输出为空就不能下载。
    dingtianran
        5
    dingtianran  
       2012-06-14 23:05:38 +08:00
    谢提醒。
    后来搞定了
    原来是压缩zip的时候把文件夹一块压进去了-_-|||

    发现pkpass文档不够详细,那些logo icon规格都没有
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1391 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:32 · PVG 01:32 · LAX 10:32 · JFK 13:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.