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

Metadata generation failed with tns-ios@6.0.2 #1197

Closed
isawk opened this issue Aug 26, 2019 · 3 comments
Closed

Metadata generation failed with tns-ios@6.0.2 #1197

isawk opened this issue Aug 26, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@isawk
Copy link

isawk commented Aug 26, 2019

Environment

  • nativescript: 6.0.3
  • ns-core-modules 6.0.7
  • tns-android 6.0.2
  • tns-ios 6.0.2

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
Copy link
Author

isawk commented Aug 26, 2019

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
Copy link

NickIliev commented Aug 28, 2019

@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
Copy link

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 * }
         ^

@NickIliev NickIliev transferred this issue from NativeScript/nativescript-cli Aug 28, 2019
@NickIliev NickIliev changed the title Command Ld failed with a nonzero exit code Metadata generation failed with tns-ios@6.0.2 Aug 28, 2019
@mbektchiev mbektchiev added this to the 6.1.0 milestone Sep 16, 2019
@mbektchiev mbektchiev self-assigned this Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants