Skip to content

Commit

Permalink
Fix compilation issue with Xcode 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger authored Jan 25, 2018
1 parent dd8e4fc commit 2484206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions KissXML/DDXMLDocument.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#import "DDXMLPrivate.h"
#import "NSString+DDXML.h"
#import <libxml/parser.h>

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
Expand Down

4 comments on commit 2484206

@raycoast
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I have this issue now. How can I apply this fix, while I am importing KissXML(v5.0.2) from pods.
The app runs well after I add this fix to my local pod file. I am looking for a better solution, please give me some advice. Thanks!

@chrisballinger
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raycoast
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! We may create a local repo and apply this fix.

@chrisballinger
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already merged into the master branch here. Just add this to your Podfile for now:

pod 'KissXML',  :git => 'https://github.com/robbiehanson/KissXML.git', :branch => 'master'

Please sign in to comment.