From 4dd343450ddeda3157d47f1ca3b8a992883f881c Mon Sep 17 00:00:00 2001 From: Bharath Hariharan Date: Tue, 4 Feb 2020 13:52:56 -0800 Subject: [PATCH] Adding XCConfig for pod consumers --- Cordova.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/Cordova.podspec b/Cordova.podspec index 281ae3490..0fcc2d97e 100644 --- a/Cordova.podspec +++ b/Cordova.podspec @@ -16,6 +16,7 @@ Pod::Spec.new do |s| cordova.public_header_files = 'CordovaLib/Classes/Public/CDV.h', 'CordovaLib/Classes/Public/CDVAppDelegate.h', 'CordovaLib/Classes/Public/CDVAvailability.h', 'CordovaLib/Classes/Public/CDVAvailabilityDeprecated.h', 'CordovaLib/Classes/Public/CDVCommandDelegate.h', 'CordovaLib/Classes/Public/CDVCommandDelegateImpl.h', 'CordovaLib/Classes/Public/CDVCommandQueue.h', 'CordovaLib/Classes/Public/CDVConfigParser.h', 'CordovaLib/Classes/Public/CDVInvokedUrlCommand.h', 'CordovaLib/Classes/Public/CDVPlugin+Resources.h', 'CordovaLib/Classes/Public/CDVPlugin.h', 'CordovaLib/Classes/Public/CDVPluginResult.h', 'CordovaLib/Classes/Public/CDVScreenOrientationDelegate.h', 'CordovaLib/Classes/Public/CDVTimer.h', 'CordovaLib/Classes/Public/CDVURLProtocol.h', 'CordovaLib/Classes/Public/CDVUserAgentUtil.h', 'CordovaLib/Classes/Public/CDVViewController.h', 'CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h', 'CordovaLib/Classes/Public/CDVWhitelist.h', 'CordovaLib/Classes/Public/NSDictionary+CordovaPreferences.h', 'CordovaLib/Classes/Public/NSMutableArray+QueueAdditions.h', 'CordovaLib/Cordova/Cordova.h' cordova.prefix_header_contents = '' cordova.requires_arc = true + cordova.pod_target_xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "DEBUG=1 WK_WEB_VIEW_ONLY=1"} end end