AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

Build failed with XCode Version 9.3 (9E145)

Open cj1024 opened this issue 6 years ago • 12 comments

Version 2.2.1 Embedded with CocoaPods ASDefaultPlaybackButton.m Line 54

cj1024 avatar Mar 30 '18 04:03 cj1024

同样问题

chenyingchao avatar Apr 02 '18 08:04 chenyingchao

@cj1024 Hey - what Xcode warnings do you have enabled? I just tried the ASViewController example and it built fine with Xcode 9.3.

maicki avatar Apr 02 '18 20:04 maicki

@maicki These settings work well with pre version XCode.

cj1024 avatar Apr 03 '18 10:04 cj1024

@cj1024 I cannot reproduce this error. Please update to the latest version of Texture and also file an issue on the official Texture repo: https://github.com/TextureGroup/Texture

maicki avatar Apr 03 '18 15:04 maicki

@maicki I also encountered the same problem above, need how to fix the problem, is to upgrade the Xcode9.3, need your help, thank you very much!

wqforeverhell avatar Apr 08 '18 03:04 wqforeverhell

@cj1024 这个问题你解决了嘛,我也遇到你同样的问题

wqforeverhell avatar Apr 08 '18 03:04 wqforeverhell

@wqforeverhell 临时解决方法就是把parameters声明成NSDictionary就可以编过了

cj1024 avatar Apr 08 '18 04:04 cj1024

I was receiving this same error after updating to XCode 9.3 and using ASyncDisplayKit. I updated my Podfile to use the latest Texture version and still receive this error in Texture. There is already an open issue in the Texture repo:

https://github.com/TextureGroup/Texture/issues/875

Since this exist in both repos, if you come across a resolution, please pass it along to see if it can be a fix for both projects.

MatthewRamsey avatar Apr 10 '18 17:04 MatthewRamsey

Same error. Replace 'id<NSObject>' with 'NSDictionary', built ok. image

xumeng avatar Apr 11 '18 04:04 xumeng

@MatthewRamsey You could do as what @xumeng wrote. Just declare the "parameters" as NSDictionary, then you can build.

cj1024 avatar Apr 11 '18 06:04 cj1024

Thanks @cj1024 and @xumeng! I'll have to give that a try. I reverted back to XCode 9.2 for now so I could get some work done.

MatthewRamsey avatar Apr 11 '18 15:04 MatthewRamsey

I've faced the same issue and did exactly what @xumeng wrote in my forked repo. You may use pod "AsyncDisplayKit", :git => 'https://github.com/miletliyusuf/AsyncDisplayKit.git' to save the day.

miletliyusuf avatar Jul 25 '18 14:07 miletliyusuf