Skip to content

Xcode9.3 Swift4.1 crash 解决方案 #239

Closed
@Pircate

Description

@Pircate

default
如图修改

Activity

iWECon

iWECon commented on Mar 30, 2018

@iWECon

如出现低版本无法使用,请按照如下方法修改:

#if swift(>=4.1)  
    return ......... base.pointee - base.hasValue)  
#else  
    return 原始内容  
#endif  
hh1myfei

hh1myfei commented on Mar 30, 2018

@hh1myfei

@iWECon 怎样获得语言的版本号、

changed the title [-](待定)Xcode9.3 Swift4.1 crash 解决方案[/-] [+]Xcode9.3 Swift4.1 crash 解决方案[/+] on Mar 31, 2018
iWECon

iWECon commented on Mar 31, 2018

@iWECon

@hh1myfei Xcode 9.3 Swift 4.1 中引入
#if swift(>=4.1)

koalahl

koalahl commented on Apr 3, 2018

@koalahl

👍

xuyecan

xuyecan commented on Apr 5, 2018

@xuyecan
Contributor

Fixed in #245 . And 4.1.0 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @xuyecan@hh1myfei@Pircate@koalahl@iWECon

        Issue actions

          Xcode9.3 Swift4.1 crash 解决方案 · Issue #239 · alibaba/HandyJSON