Merge pull request #46 from fb64/master

Fix error on import GCDWebServer*.h file with cocoa pod framework
This commit is contained in:
Michael Bykovski 2019-10-23 19:59:15 +02:00 committed by GitHub
commit 3d296c366c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 8 deletions

View File

@ -39,10 +39,18 @@
<framework src="libz.tbd" />
<framework src="libxml2.tbd" />
<framework src="GCDWebServer" type="podspec" spec="~> 3.5.2" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="GCDWebServer" spec="~> 3.5.2"/>
</pods>
</podspec>
<!-- GCDWebserver -->
<header-file src="src/ios/GCDWebServer-Bridging-Header.h"/>
<header-file src="src/ios/GCDWebServer-Bridging-Header.h" type="BridgingHeader"/>
</platform>
</plugin>

View File

@ -1,6 +1,6 @@
#import "GCDWebServer.h"
#import "GCDWebServerDataRequest.h"
#import "GCDWebServerDataResponse.h"
#import "GCDWebServerFileResponse.h"
#import "GCDWebServerResponse.h"
#import "GCDWebServerRequest.h"
#import <GCDWebServer/GCDWebServer.h>
#import <GCDWebServer/GCDWebServerDataRequest.h>
#import <GCDWebServer/GCDWebServerDataResponse.h>
#import <GCDWebServer/GCDWebServerFileResponse.h>
#import <GCDWebServer/GCDWebServerResponse.h>
#import <GCDWebServer/GCDWebServerRequest.h>