Fix #1138
Import the entire Foundation framework when producing a framework
This commit is contained in:
committed by
SvyatoslavScherbina
parent
ed55fd1a44
commit
a2c6325f23
+1
-4
@@ -398,10 +398,7 @@ internal class ObjCExportHeaderGenerator(val context: Context) {
|
||||
}
|
||||
|
||||
fun build(): List<String> = mutableListOf<String>().apply {
|
||||
add("#import <stdint.h>")
|
||||
add("#import <objc/NSObject.h>")
|
||||
add("#import <CoreFoundation/CFBase.h>")
|
||||
add("#import <Foundation/NSObjCRuntime.h>")
|
||||
add("#import <Foundation/Foundation.h>")
|
||||
add("")
|
||||
|
||||
if (classToName.isNotEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user