Skip to content

Commit

Permalink
feat(cordova): Add WK_WEB_VIEW_ONLY=1 preprocessor macro (#2880)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored May 7, 2020
1 parent 040bfc8 commit 603b2e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/ios/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ async function generateCordovaPodspec(cordovaPlugins: Plugin[], config: Config,
s.source = { :git => 'https://github.com/ionic-team/does-not-exist.git', :tag => '${config.cli.package.version}' }
s.source_files = '${sourcesFolderName}/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '${config.ios.minVersion}'
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 WK_WEB_VIEW_ONLY=1' }
s.dependency 'CapacitorCordova'${getLinkerFlags(config)}
s.swift_version = '${config.ios.cordovaSwiftVersion}'
${frameworksString}
Expand Down

0 comments on commit 603b2e3

Please sign in to comment.