Gradle, CocoaPods: Fix non-compilable dummy header
Issue #KT-39999 fixed
This commit is contained in:
committed by
Ilya Matveev
parent
85908713b1
commit
7c3eda31fa
+1
-1
@@ -225,7 +225,7 @@ open class DummyFrameworkTask : DefaultTask() {
|
|||||||
// Copy files for the dummy framework.
|
// Copy files for the dummy framework.
|
||||||
copyFrameworkFile("Info.plist")
|
copyFrameworkFile("Info.plist")
|
||||||
copyFrameworkFile("dummy", frameworkNameProvider.get())
|
copyFrameworkFile("dummy", frameworkNameProvider.get())
|
||||||
copyFrameworkFile("Headers/dummy.h")
|
copyFrameworkFile("Headers/placeholder.h")
|
||||||
copyFrameworkTextFile("Modules/module.modulemap") {
|
copyFrameworkTextFile("Modules/module.modulemap") {
|
||||||
if (it == "framework module dummy {") {
|
if (it == "framework module dummy {") {
|
||||||
it.replace("dummy", frameworkNameProvider.get())
|
it.replace("dummy", frameworkNameProvider.get())
|
||||||
|
|||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
//! Project version number for dummy.
|
|
||||||
FOUNDATION_EXPORT double dummyVersionNumber;
|
|
||||||
|
|
||||||
//! Project version string for dummy.
|
|
||||||
FOUNDATION_EXPORT const unsigned char dummyVersionString[];
|
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
// Autogenerated placeholder header. Do not edit manually.
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
framework module dummy {
|
framework module dummy {
|
||||||
umbrella header "dummy.h"
|
umbrella header "placeholder.h"
|
||||||
|
|
||||||
export *
|
export *
|
||||||
module * { export * }
|
module * { export * }
|
||||||
|
|||||||
Reference in New Issue
Block a user