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
xds2000
V2EX  ›  iDev

下载了 xcode beta6, 下载了 ExampleappusingPhotosframework,导入后报 2 个错,苹果的支持范例都不改的吗?

  •  
  •   xds2000 ·
    xiaods · 2014-08-31 11:01:00 +08:00 · 4292 次点击
    这是一个创建于 3524 天前的主题,其中的信息可能已经有所发展或是发生改变。
    AAPLAssetViewController.m报两个错:
    /Users/dxiao/Documents/iOSDev/projects/ExampleappusingPhotosframework/SamplePhotosApp/SamplePhotosApp/AAPLAssetViewController.m:97:29: Incompatible block pointer types assigning to 'PHAssetImageProgressHandler' (aka 'void (^)(double, NSError *__strong, BOOL *, NSDictionary *__strong)') from 'void (^)(BOOL, double, NSError *__strong, BOOL *)'

    /Users/dxiao/Documents/iOSDev/projects/ExampleappusingPhotosframework/SamplePhotosApp/SamplePhotosApp/AAPLAssetViewController.m:207:26: No visible @interface for 'PHAssetChangeRequest' declares the selector 'revertAssetToOriginal'

    还请过来人给个提醒。
    第 1 条附言  ·  2014-08-31 14:40:33 +08:00
    https://devforums.apple.com/message/1032232#1032232

    解决。总结:
    只要不是pre-release的问题,还可以发ticket技术支持一下。pre-release的技术,只能到developer forum解决。很快!我这还跨12小时时区呢,赞。
    7 条回复    2015-10-12 18:34:43 +08:00
    xds2000
        2
    xds2000  
    OP
       2014-08-31 11:22:15 +08:00
    iOS不提供pre-release的技术支持,把我导向https://devforums.apple.com/index.jspa
    wezzard
        3
    wezzard  
       2014-08-31 12:49:37 +08:00
    錯誤的意思是你正在嘗試給類型不同的block賦值。
    而且我能看到pre-release的文檔,你應該是沒有買iOS Developer Program。
    xds2000
        4
    xds2000  
    OP
       2014-08-31 13:09:06 +08:00
    发到apple support 论坛一份,看看有没有人看到。
    xds2000
        5
    xds2000  
    OP
       2014-08-31 13:09:56 +08:00
    @wezzard 我有iOS Developer Program。
    xds2000
        6
    xds2000  
    OP
       2014-08-31 14:38:23 +08:00
    解决。
    belanote
        7
    belanote  
       2015-10-12 18:34:43 +08:00
    @xds2000 请问大神这个问题怎么解决的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3222 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:29 · PVG 22:29 · LAX 07:29 · JFK 10:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.