貌似掉入iOS 7的坑了
新项目,用Xcode5基于iOS 7开发,今天发现貌似掉入一个地图API的坑了。
-(void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation
根本不调用(注,已经设置了self.mapViewer.showsUserLocation = YES)
然后会出现如下错误
2013-10-15 22:34:18.754 FloweryFairy-iOS7[3879:a0b] Cannot find executable for CFBundle 0x9dc8540 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/AccessibilityBundles/GeoServices.axbundle> (not loaded)
Oct 15 22:34:19 Hseecoms-iMac.local FloweryFairy-iOS7[3879] <Error>: CGBitmapContextCreate: unsupported parameter combination: 5 integer bits/component; 16 bits/pixel; 3-component color space; kCGImageAlphaNoneSkipLast; 512 bytes/row.
2013-10-15 22:34:19.164 FloweryFairy-iOS7[3879:9303] vImage decode failed, falling back to CG path.
没办法,把之前基于iOS 6的例子,编译测试。发现如果是iOS 6没有任何问题,如果设置为iOS 7就出现同样的问题。
网络搜索发现 下面两个帖子遇到了同样的问题!
http://www.cocoachina.com/bbs/read.php?tid=159223
http://www.cocoachina.com/bbs/m/read.php?tid=159477#read
问问这里有人遇到了这个问题么,Stackoverflow上暂时没看到别人问这个问题的。@tinyfool 帮忙转转。