Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate iOS typings #9

Open
spike1292 opened this issue Mar 21, 2017 · 0 comments
Open

Can't generate iOS typings #9

spike1292 opened this issue Mar 21, 2017 · 0 comments

Comments

@spike1292
Copy link
Member

spike1292 commented Mar 21, 2017

When trying to generate the typings for iOS, see https://docs.nativescript.org/runtimes/ios/how-to/Use-Native-Libraries#troubleshooting, the generator can't find the CoreData classes.

Don't know if the problem is CoreData or Swift.

tried to add OTHER_LDFLAGS = $(inherited) -framework CoreData to the xcconfig but the result was the same.

steps:

npm run setup
cd demo
TNS_TYPESCRIPT_DECLARATIONS_PATH="$(pwd)/typings" tns build ios
show console output

Executing before-prepare hook from /Users/henk/Projects/Essent/nativescript-live-engage/demo/hooks/before-prepare/nativescript-dev-android-snapshot.js
Executing before-prepare hook from /Users/henk/Projects/Essent/nativescript-live-engage/demo/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 2.0.10
Project successfully prepared (ios)
Executing after-prepare hook from /Users/henk/Projects/Essent/nativescript-live-engage/demo/hooks/after-prepare/nativescript-dev-android-snapshot.js
Executing after-prepare hook from /Users/henk/Projects/Essent/nativescript-live-engage/demo/hooks/after-prepare/nativescript-live-engage.js
Build settings from command line:
    ARCHS = i386 x86_64
    CODE_SIGN_IDENTITY =
    CONFIGURATION_BUILD_DIR = /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphonesimulator10.2
    SHARED_PRECOMPS_DIR = /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/sharedpch
    VALID_ARCHS = i386 x86_64

=== BUILD TARGET demo OF PROJECT demo WITH CONFIGURATION Debug ===

Check dependencies

Remove stale build products
    /bin/rm -rf /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/demo.app/LPMessagingSDKModels.bundle

PhaseScriptExecution NativeScript\ PreBuild build/demo.build/Debug-iphonesimulator/demo.build/Script-C97FD7AC1ADE5369004DB2A4.sh
    cd /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios
    /bin/sh -c /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/demo.build/Debug-iphonesimulator/demo.build/Script-C97FD7AC1ADE5369004DB2A4.sh
~/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/metadata-generator/bin ~/Projects/Essent/nativescript-live-engage/demo/platforms/ios
Python version: 2.7.10 (default, Jul 30 2016, 19:40:32)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
Generating metadata for i386
Generating TypeScript declarations in: "/Users/henk/Projects/Essent/nativescript-live-engage/demo/typings-i386"
Metadata Generator Arguments:
"./objc-metadata-generator", "-output-bin", "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/metadata-i386.bin", "-output-umbrella", "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/umbrella-i386.h", "-docset-path", "/Users/henk/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset", "-output-typescript", "/Users/henk/Projects/Essent/nativescript-live-engage/demo/typings-i386", "Xclang", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk", "-arch", "i386", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include", "-I/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios", "-DDEBUG=1",
Clang Arguments:
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-Wno-nullability-completeness", "-Wno-expansion-to-defined", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk", "-arch", "i386", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include", "-I/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios", "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios", "-DDEBUG=1",
Merged 565 categories.
Result: 29107 declarations from 107 top level modules
Error: Unable to generate metadata for i386.
clang version 3.9.0 (tags/RELEASE_390/final)
Target: i386-apple-darwin16.4.0
Thread model: posix
InstalledDir:
clang Invocation:
 "clang-tool" "-cc1" "-triple" "i386-apple-ios8.0.0" "-fsyntax-only" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "umbrella.h" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-target-cpu" "yonah" "-target-linker-version" "264.3.102" "-v" "-dwarf-column-info" "-debugger-tuning=lldb" "-resource-dir" "../lib/clang/3.9.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk" "-I" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include" "-I" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios" "-D" "DEBUG=1" "-Wno-unknown-pragmas" "-Wno-ignored-attributes" "-Wno-nullability-completeness" "-Wno-expansion-to-defined" "-std=gnu99" "-fdebug-compilation-dir" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/metadata-generator/bin" "-ferror-limit" "0" "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fimplicit-module-maps" "-fobjc-runtime=ios-8.0.0" "-fencode-extended-block-signature" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-x" "objective-c" "umbrella.h"

ignoring nonexistent directory "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios (framework directory)
 ../lib/clang/3.9.0/include
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks (framework directory)
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/Library/Frameworks (framework directory)
End of search list.
clang version 3.9.0 (tags/RELEASE_390/final)
Target: i386-apple-darwin16.4.0
Thread model: posix
InstalledDir:
clang Invocation:
 "objc-metadata-generator" "-cc1" "-triple" "i386-apple-ios8.0.0" "-fsyntax-only" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "umbrella.h" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-target-cpu" "yonah" "-target-linker-version" "264.3.102" "-v" "-dwarf-column-info" "-debugger-tuning=lldb" "-resource-dir" "../lib/clang/3.9.0" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk" "-I" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include" "-I" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios" "-F/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios" "-D" "DEBUG=1" "-Wno-unknown-pragmas" "-Wno-ignored-attributes" "-Wno-nullability-completeness" "-Wno-expansion-to-defined" "-std=gnu99" "-fdebug-compilation-dir" "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal/metadata-generator/bin" "-ferror-limit" "0" "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fimplicit-module-maps" "-fobjc-runtime=ios-8.0.0" "-fencode-extended-block-signature" "-fobjc-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-x" "objective-c" "umbrella.h"

clang -cc1 version 3.9.0 based upon LLVM 3.9.0 default target x86_64-apple-darwin16.4.0
ignoring nonexistent directory "/Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/build/emulator (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/internal (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/nativescript-live-engage/platforms/ios (framework directory)
 /Users/henk/Projects/Essent/nativescript-live-engage/demo/platforms/ios/../../node_modules/tns-core-modules-widgets/platforms/ios (framework directory)
 ../lib/clang/3.9.0/include
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks (framework directory)
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/Library/Frameworks (framework directory)
End of search list.
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:244:30: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPAccountEntity'; did you mean 'NSManagedObjectModel'?
@interface LPAccountEntity : NSManagedObject
                             ^~~~~~~~~~~~~~~
                             NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:244:30: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPAccountEntity'
@interface LPAccountEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:253:28: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPBrandEntity'; did you mean 'NSManagedObjectModel'?
@interface LPBrandEntity : NSManagedObject
                           ^~~~~~~~~~~~~~~
                           NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:253:28: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPBrandEntity'
@interface LPBrandEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:280:31: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPCampaignEntity'; did you mean 'NSManagedObjectModel'?
@interface LPCampaignEntity : NSManagedObject
                              ^~~~~~~~~~~~~~~
                              NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:280:31: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPCampaignEntity'
@interface LPCampaignEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:695:35: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPConversationEntity'; did you mean 'NSManagedObjectModel'?
@interface LPConversationEntity : NSManagedObject
                                  ^~~~~~~~~~~~~~~
                                  NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:695:35: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPConversationEntity'
@interface LPConversationEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:764:27: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPFileEntity'; did you mean 'NSManagedObjectModel'?
@interface LPFileEntity : NSManagedObject
                          ^~~~~~~~~~~~~~~
                          NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:764:27: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPFileEntity'
@interface LPFileEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:841:37: error: expected a type
+ (void)saveDataWithGetContextFrom:(NSManagedObject * _Nullable)obj;
                                    ^
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:842:30: error: expected a type
+ (BOOL)deleteManagedObject:(NSManagedObject * _Nonnull)object context:(NSManagedObjectContext * _Nullable)givenContext;
                             ^
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1201:30: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPMessageEntity'; did you mean 'NSManagedObjectModel'?
@interface LPMessageEntity : NSManagedObject
                             ^~~~~~~~~~~~~~~
                             NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1201:30: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPMessageEntity'
@interface LPMessageEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1311:27: error: cannot find interface declaration for 'NSManagedObject', superclass of 'LPUserEntity'; did you mean 'NSManagedObjectModel'?
@interface LPUserEntity : NSManagedObject
                          ^~~~~~~~~~~~~~~
                          NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1311:27: error: attempting to use the forward class 'NSManagedObjectModel' as superclass of 'LPUserEntity'
@interface LPUserEntity : NSManagedObject
~~~~~~~~~~~~~~~~~~~~~~~   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1432:12: error: cannot find interface declaration for 'NSManagedObject'; did you mean 'NSManagedObjectModel'?
@interface NSManagedObject (SWIFT_EXTENSION(LPInfra))
           ^~~~~~~~~~~~~~~
           NSManagedObjectModel
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: 'NSManagedObjectModel' declared here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:533:
/Users/henk/Projects/Essent/nativescript-live-engage/demo/node_modules/nativescript-live-engage/platforms/ios/LPInfra.framework/Headers/LPInfra-Swift.h:1432:12: error: cannot define category for undefined class 'NSManagedObjectModel'
@interface NSManagedObject (SWIFT_EXTENSION(LPInfra))
           ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h:13:8: note: forward declaration of class here
@class NSManagedObjectModel;
       ^
In file included from umbrella.h:735:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/include/os/log.h:35:2: error: using os/log.h requires Xcode 8 or later
#error using os/log.h requires Xcode 8 or later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants