diff --git a/IQUITestCodeMaker/IQUITestCodeMakerGenerator.h b/IQUITestCodeMaker/IQUITestCodeMakerGenerator.h index d52d00c..d93a9ae 100644 --- a/IQUITestCodeMaker/IQUITestCodeMakerGenerator.h +++ b/IQUITestCodeMaker/IQUITestCodeMakerGenerator.h @@ -8,13 +8,12 @@ #import #import "IQUITestProtocol.h" -#import "GCDWebServer.h" -@class IQUITestCodeMakerFactory; +@class IQUITestCodeMakerFactory,GCDWebServer; void IQRuntimeMethodExchange(Class aClass, SEL oldSEL, SEL newSEL); -@interface IQUITestCodeMakerGenerator : NSObject +@interface IQUITestCodeMakerGenerator : NSObject @property (nonatomic, strong, readonly) IQUITestCodeMakerFactory *factory; @property (nonatomic, strong, readonly) GCDWebServer *webServer; diff --git a/IQUITestCodeMaker/IQUITestCodeMakerGenerator.m b/IQUITestCodeMaker/IQUITestCodeMakerGenerator.m index d0734eb..b73ef50 100644 --- a/IQUITestCodeMaker/IQUITestCodeMakerGenerator.m +++ b/IQUITestCodeMaker/IQUITestCodeMakerGenerator.m @@ -15,6 +15,7 @@ #import #import "IQUITestDebugBall.h" #import "IQUITestCodeMakerCapabilities.h" +#import "GCDWebServer.h" static IQUITestCodeMakerGenerator *persistent = nil; static NSString *const kAutoSetIdentifier = @"[A]"; @@ -742,7 +743,7 @@ - (BOOL)IQ_sendAction:(SEL)action to:(id)target from:(id)sender forEvent:(UIEven #pragma mark--IQUITestCodeMakerGenerator-- -@interface IQUITestCodeMakerGenerator () +@interface IQUITestCodeMakerGenerator () @property (nonatomic, strong, readwrite) IQUITestCodeMakerFactory *factory; @property (nonatomic, strong, readwrite) GCDWebServer *webServer; diff --git a/IQUITestCodeMaker/IQUITestDebugServerInfoModel.m b/IQUITestCodeMaker/IQUITestDebugServerInfoModel.m index 9da312d..7ed23ef 100644 --- a/IQUITestCodeMaker/IQUITestDebugServerInfoModel.m +++ b/IQUITestCodeMaker/IQUITestDebugServerInfoModel.m @@ -8,6 +8,7 @@ #import "IQUITestDebugServerInfoModel.h" #import "IQUITestCodeMakerGenerator.h" +#import "GCDWebServer.h" @interface IQUITestDebugServerInfoModel () diff --git a/IQUITestCodeMaker/UIApplication+IQGlobalHook.m b/IQUITestCodeMaker/UIApplication+IQGlobalHook.m index 1eee01e..8d663a7 100644 --- a/IQUITestCodeMaker/UIApplication+IQGlobalHook.m +++ b/IQUITestCodeMaker/UIApplication+IQGlobalHook.m @@ -10,6 +10,7 @@ #import "IQUITestCodeMakerGenerator.h" #import "IQUITestCodeMaker.h" #import "IQUITestProtocol.h" +#import "GCDWebServer.h" @implementation UIApplication (IQGlobalHook) diff --git a/Podfile.lock b/Podfile.lock index b799ca4..b420f9c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -9,6 +9,6 @@ DEPENDENCIES: SPEC CHECKSUMS: GCDWebServer: 8d67ee9f634b4bb91eb4b8aee440318a5fc6debd -PODFILE CHECKSUM: f3fe23446d19cde573d8a261652d93e25afcf79f +PODFILE CHECKSUM: b4eb569bff31e57ada618741f8e744e8ddbf9d36 COCOAPODS: 1.3.1