From adeec6877a14bd32841c65c640880cb22a4f70fc Mon Sep 17 00:00:00 2001 From: Ilja Iwas Date: Wed, 14 Oct 2015 12:29:27 +0200 Subject: [PATCH 1/2] Removed global declaration from header file How did this ever compile without giving a bunch of linker warnings for you guys. --- Source/XCProject.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/XCProject.h b/Source/XCProject.h index 2fe7a09..2489dc6 100755 --- a/Source/XCProject.h +++ b/Source/XCProject.h @@ -21,8 +21,6 @@ @class XCSubProjectDefinition; @class XCProjectBuildConfig; -NSString* const XCProjectNotFoundException; - @interface XCProject : NSObject { @protected From 72806e739229eae65b0d89915e40ae365117d4fd Mon Sep 17 00:00:00 2001 From: Ilja Iwas Date: Wed, 14 Oct 2015 12:30:02 +0200 Subject: [PATCH 2/2] Moved global from header file here. --- Source/XCProject.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/XCProject.m b/Source/XCProject.m index ee7e2aa..041b797 100755 --- a/Source/XCProject.m +++ b/Source/XCProject.m @@ -17,6 +17,8 @@ #import "XCFileOperationQueue.h" #import "XCProjectBuildConfig.h" +NSString* const XCProjectNotFoundException; + @implementation XCProject @@ -402,4 +404,4 @@ - (NSArray*)projectFilesOfType:(XcodeSourceFileType)projectFileType return results; } -@end \ No newline at end of file +@end