Gradle, CocoaPods: Fix non-compilable dummy header

Issue #KT-39999 fixed
This commit is contained in:
Ilya Matveev
2020-07-15 17:38:19 +07:00
committed by Ilya Matveev
parent 85908713b1
commit 7c3eda31fa
4 changed files with 3 additions and 7 deletions
@@ -225,7 +225,7 @@ open class DummyFrameworkTask : DefaultTask() {
// Copy files for the dummy framework.
copyFrameworkFile("Info.plist")
copyFrameworkFile("dummy", frameworkNameProvider.get())
copyFrameworkFile("Headers/dummy.h")
copyFrameworkFile("Headers/placeholder.h")
copyFrameworkTextFile("Modules/module.modulemap") {
if (it == "framework module dummy {") {
it.replace("dummy", frameworkNameProvider.get())
@@ -1,5 +0,0 @@
//! Project version number for dummy.
FOUNDATION_EXPORT double dummyVersionNumber;
//! Project version string for dummy.
FOUNDATION_EXPORT const unsigned char dummyVersionString[];
@@ -0,0 +1 @@
// Autogenerated placeholder header. Do not edit manually.
@@ -1,5 +1,5 @@
framework module dummy {
umbrella header "dummy.h"
umbrella header "placeholder.h"
export *
module * { export * }