Skip to content

Commit 913fa44

Browse files
committedJan 21, 2018
Fixed pod build
1 parent 370595c commit 913fa44

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed
 

‎Source/Include/XCBuildFile.h

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10+
#import "XcodeMemberType.h"
1011

1112
@protocol XCBuildFile <NSObject>
1213

‎Source/Include/XcodeEditor.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
////////////////////////////////////////////////////////////////////////////////
1111

12-
#import <Cocoa/Cocoa.h>
12+
#import <Foundation/Foundation.h>
1313

1414
//! Project version number for XcodeEditor.
1515
FOUNDATION_EXPORT double XcodeEditorVersionNumber;
@@ -36,4 +36,4 @@ FOUNDATION_EXPORT const unsigned char XcodeEditorVersionString[];
3636
#import "XCProjectBuildConfig.h"
3737
#import "XCBuildShellScript.h"
3838
#import "XCBuildShellScriptDefinition.h"
39-
#import "XCVersionGroup.h"
39+
#import "XCVersionGroup.h"

‎Source/Resources/XcodeEditor-Prefix.pch

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#ifdef __OBJC__
66

7-
#import <Cocoa/Cocoa.h>
7+
#import <Foundation/Foundation.h>
88

99
#endif
1010

‎Source/XCProject.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ - (XCGroup *)groupWithPathFromRoot:(NSString *)path
290290
for (NSString *pathItem in pathItems) {
291291
id <XcodeGroupMember> group = [currentGroup memberWithDisplayName:pathItem];
292292
if ([group isKindOfClass:[XCGroup class]]) {
293-
currentGroup = group;
293+
currentGroup = (XCGroup*)group;
294294
} else {
295295
return nil;
296296
}

‎XcodeEditor.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Pod::Spec.new do |s|
1010
s.source_files = 'Source/*.{h,m}', 'Source/Utils/*.{h,m}', 'Source/Include/*.{h,m}'
1111
s.requires_arc = true
1212
s.ios.deployment_target = '5.0'
13-
s.osx.deployment_target = '10.7'
13+
s.osx.deployment_target = '10.8'
1414
end

0 commit comments

Comments
 (0)
Please sign in to comment.