Skip to content

Commit

Permalink
support Xcode 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonXi committed Jan 24, 2018
1 parent bd9f7b3 commit d37d072
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://github.com/CocoaPods/Specs.git"
# source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

platform :ios, 8.0

Expand Down
4 changes: 4 additions & 0 deletions VirtualView/Core/VVErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

FOUNDATION_EXTERN NSErrorDomain const VVErrorDomain;

#if __IPHONE_OS_VERSION_MAX_ALLOWED <= __IPHONE_10_2
NS_ENUM(NSInteger) {
#else
NS_ERROR_ENUM(VVErrorDomain) {
#endif
VVUnknownError = 0,
VVNeedToBeOverridedError,
VVWrongHeaderError,
Expand Down

0 comments on commit d37d072

Please sign in to comment.