NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

Metadata generation failed with tns-ios@6.0.2 #1197

Closed isawk closed 4 years ago

isawk commented 5 years ago

Environment

Describe the bug Builds via xcode or cli fail with errror Command Ld failed with a nonzero exit code

To Reproduce tns run ios --emulator --bundle

Expected behavior Should build and deploy successfully to emulator or connected device (when using xcode, same error occurs during build)

Sample project

Additional context Build out put from xcode attached

Build target impressiveactapp_2019-08-26T18-39-26.txt

isawk commented 5 years ago

Issue doesn't occur in HelloWorld app (below works, debugging to determine when it breaks)

tns create HelloWorld --template tns-template-blank-ng tns platform add ios tns run ios --emulator

NickIliev commented 5 years ago

@isawk please share with us the content of your package.json file.

If you are using nativescript-plugin-firebase than also post which functionalities are enabled (firebase.nativescript.json)

NickIliev commented 5 years ago

Looks like the metadata generation is failing

                                                                                                                                                                    ^
In file included from umbrella.h:617:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h:19:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h:32:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h:49:16: warning: unknown attribute 'swift_error' ignored [-Wunknown-attributes]
__attribute__((swift_error(nonnull_error)));
               ^
In file included from umbrella.h:617:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h:19:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h:36:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h:106:16: warning: unknown attribute 'swift_error' ignored [-Wunknown-attributes]
__attribute__((swift_error(nonnull_error)));
               ^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h:118:16: warning: unknown attribute 'swift_error' ignored [-Wunknown-attributes]
__attribute__((swift_error(nonnull_error)));
               ^
In file included from umbrella.h:641:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MaterialComponents-umbrella.h:26:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MaterialTabs.h:15:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:85:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nullable) UIColor *selectedItemTintColor UI_APPEARANCE_SELECTOR;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:85:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:91:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nonnull) UIColor *unselectedItemTintColor UI_APPEARANCE_SELECTOR;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:91:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:94:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nonnull) UIColor *inkColor UI_APPEARANCE_SELECTOR;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:94:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:97:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nonnull) UIColor *bottomDividerColor;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:97:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:124:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nullable) UIColor *barTintColor UI_APPEARANCE_SELECTOR;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:124:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:164:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, null_resettable) id<MDCTabBarIndicatorTemplate> selectionIndicatorTemplate
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBar.h:164:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
In file included from umbrella.h:641:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MaterialComponents-umbrella.h:26:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MaterialTabs.h:17:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBarIndicatorAttributes.h:21:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic, nullable) UIBezierPath *path;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/MaterialComponents/MaterialComponents.framework/Headers/MDCTabBarIndicatorAttributes.h:21:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
In file included from umbrella.h:802:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GoogleDataTransport-umbrella.h:16:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:58:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nullable, nonatomic) id<GDTEventDataObject> dataObject;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:58:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:64:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic) GDTClock *clockSnapshot;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:64:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:71:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nullable, nonatomic) NSDictionary *customPrioritizationParams;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h:71:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
In file included from umbrella.h:802:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GoogleDataTransport-umbrella.h:21:
In file included from /Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTPrioritizer.h:20:
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploadPackage.h:50:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic) NSSet<GDTStoredEvent *> *events;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploadPackage.h:50:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploadPackage.h:56:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(nonatomic) GDTClock *deliverByTime;
^
/Users/KOGA/Library/Developer/Xcode/DerivedData/impressiveactapp-brrqetnndsqlczhkfrruxizlochv/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploadPackage.h:56:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
In file included from umbrella.h:807:
In file included from /Users/KOGA/Development/mobile/impressiveact-app/node_modules/nativescript-ui-chart/platforms/ios/TNSChart.framework/Headers/TNSChart.h:21:
In file included from /Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-chart/platforms/ios/TNSChart.framework/Headers/TKChartData.h:5:
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-chart/platforms/ios/TNSChart.framework/Headers/TKChartAxis.h:182:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property (nonatomic) TKRange * __nonnull zoomRange;
^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-chart/platforms/ios/TNSChart.framework/Headers/TKChartAxis.h:182:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
In file included from umbrella.h:840:
In file included from /Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TNSCore.h:58:
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:87:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property (nonatomic) NSNumber *row;
^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:87:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:92:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property (nonatomic) NSNumber *column;
^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:92:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:97:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property (nonatomic) NSNumber *index;
^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/../../node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework/Headers/TKGridLayoutCellDefinition.h:97:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/Modules/module.modulemap:3:10: error: inferred submodules require a module with an umbrella
  module * { export * }
         ^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/Pods/GoogleAppMeasurement/Frameworks/GoogleAppMeasurement.framework/Modules/module.modulemap:3:10: error: inferred submodules require a module with an umbrella
  module * { export * }
         ^
/Users/KOGA/Development/mobile/impressiveact-app/platforms/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework/Modules/module.modulemap:3:10: error: inferred submodules require a module with an umbrella
  module * { export * }
         ^