nativescript-dialog icon indicating copy to clipboard operation
nativescript-dialog copied to clipboard

Can not build apps with Xcode7.2

Open dtopuzov opened this issue 8 years ago • 2 comments

When try to build sample app with Xcode 7.2 result is:

Swift._ContiguousArrayBuffer<A.Element> in ActionSheetView-D196E6E1AE053852.o
      ...
  "_swift_slowAlloc", referenced from:
      l_get_field_types_ActionCell in ActionCell-4FAA7E5C39EF3278.o
      l_get_field_types_ActionSeparatorView in ActionCell-4FAA7E5C39EF3278.o
      l_get_field_types_ActionSheetView in ActionSheetView-D196E6E1AE053852.o
      l_get_field_types_UIGestureRecognizerState in ActionSheetView-D196E6E1AE053852.o
      l_get_field_types_ActionsCollectionView in ActionsCollectionView.o
      l_get_field_types_UICollectionViewScrollDirection in ActionsCollectionView.o
      l_get_field_types_UIGestureRecognizerState in ActionsCollectionView.o
      ...
  "_swift_slowDealloc", referenced from:
      l_get_field_types_ActionCell in ActionCell-4FAA7E5C39EF3278.o
      l_get_field_types_ActionSeparatorView in ActionCell-4FAA7E5C39EF3278.o
      l_get_field_types_ActionSheetView in ActionSheetView-D196E6E1AE053852.o
      l_get_field_types_UIGestureRecognizerState in ActionSheetView-D196E6E1AE053852.o
      l_get_field_types_ActionsCollectionView in ActionsCollectionView.o
      l_get_field_types_UICollectionViewScrollDirection in ActionsCollectionView.o
      l_get_field_types_UIGestureRecognizerState in ActionsCollectionView.o
      ...
  "_swift_unknownRelease", referenced from:
      @objc SDCAlertView.ActionCell.titleLabel.setter : __ObjC.UILabel! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.(highlightedBackgroundView in _9D875CD50AFC0A29E6CC02B5D165BE76).setter : __ObjC.UIView! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.enabled.setter : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.enabled.setter : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.enabled.didset : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.highlighted.setter : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.highlighted.didset : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      ...
  "_swift_unknownRetain", referenced from:
      @objc SDCAlertView.ActionCell.titleLabel.getter : __ObjC.UILabel! in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.titleLabel.getter : __ObjC.UILabel! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.titleLabel.setter : __ObjC.UILabel! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.(highlightedBackgroundView in _9D875CD50AFC0A29E6CC02B5D165BE76).getter : __ObjC.UIView! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.(highlightedBackgroundView in _9D875CD50AFC0A29E6CC02B5D165BE76).setter : __ObjC.UIView! in ActionCell-4FAA7E5C39EF3278.o
      @objc SDCAlertView.ActionCell.enabled.setter : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      SDCAlertView.ActionCell.enabled.setter : Swift.Bool in ActionCell-4FAA7E5C39EF3278.o
      ...
  "_swift_unknownWeakAssign", referenced from:
      @objc SDCAlertView.ActionSheetView.(cancelActionView in _1A63DC1157DE00F3AB9B9EAE982FC99F).setter : weak __ObjC.UIView? in ActionSheetView-D196E6E1AE053852.o
      @objc SDCAlertView.ActionSheetView.(cancelLabel in _1A63DC1157DE00F3AB9B9EAE982FC99F).setter : weak __ObjC.UILabel? in ActionSheetView-D196E6E1AE053852.o
      @objc SDCAlertView.ActionSheetView.(cancelButton in _1A63DC1157DE00F3AB9B9EAE982FC99F).setter : weak __ObjC.UIButton? in ActionSheetView-D196E6E1AE053852.o
  "_swift_unknownWeakDestroy", referenced from:
      @objc SDCAlertView.ActionSheetView.__ivar_destroyer in ActionSheetView-D196E6E1AE053852.o
      l_objectdestroy30 in AlertController.o
  "_swift_unknownWeakInit", referenced from:
      SDCAlertView.ActionSheetView.init (SDCAlertView.ActionSheetView.Type)(frame : __C.CGRect) -> SDCAlertView.ActionSheetView in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.ActionSheetView.__allocating_init (SDCAlertView.ActionSheetView.Type)(frame : __C.CGRect) -> SDCAlertView.ActionSheetView in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.ActionSheetView.__allocating_init (SDCAlertView.ActionSheetView.Type)(coder : __ObjC.NSCoder) -> SDCAlertView.ActionSheetView? in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.ActionSheetView.init (SDCAlertView.ActionSheetView.Type)(coder : __ObjC.NSCoder) -> SDCAlertView.ActionSheetView? in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.AlertController.(configureAlertView in _03556AC34B15272832C68ED974279B9D) (SDCAlertView.AlertController)() -> () in AlertController.o
  "_swift_unknownWeakLoadStrong", referenced from:
      @objc SDCAlertView.ActionSheetView.(cancelActionView in _1A63DC1157DE00F3AB9B9EAE982FC99F).getter : weak __ObjC.UIView? in ActionSheetView-D196E6E1AE053852.o
      @objc SDCAlertView.ActionSheetView.(cancelLabel in _1A63DC1157DE00F3AB9B9EAE982FC99F).getter : weak __ObjC.UILabel? in ActionSheetView-D196E6E1AE053852.o
      @objc SDCAlertView.ActionSheetView.(cancelButton in _1A63DC1157DE00F3AB9B9EAE982FC99F).getter : weak __ObjC.UIButton? in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.ActionSheetView.prepareLayout (SDCAlertView.ActionSheetView)() -> () in ActionSheetView-D196E6E1AE053852.o
      SDCAlertView.ActionSheetView.tintColorDidChange (SDCAlertView.ActionSheetView)() -> () in ActionSheetView-D196E6E1AE053852.o
      @objc SDCAlertView.ActionSheetView.tintColorDidChange (SDCAlertView.ActionSheetView)() -> () in ActionSheetView-D196E6E1AE053852.o
      function signature specialization <Arg[0] = Dead and Owned To Guaranteed> of SDCAlertView.ActionSheetView.actions.didset : [SDCAlertView.AlertAction] in ActionSheetView-D196E6E1AE053852.o
      ...
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 notices only

** BUILD FAILED **


The following build commands failed:
    Ld /Users/nsbuilduser/workspace/tns-plugins-build-testapps-dialog-stable/demo/platforms/ios/build/emulator/SDCAlertView.framework/SDCAlertView normal i386
(1 failure)
Command xcodebuild failed with exit code 65

It looks like http://www.openradar.me/23857648 In order to fix this may be {N} cli should be able to pass something like: destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'

dtopuzov avatar Mar 14 '16 14:03 dtopuzov

Related to https://github.com/NativeScript/nativescript-cli/issues/1606

enchev avatar Mar 28 '16 10:03 enchev

No more issue with Xcode 7.3.

vchimev avatar Aug 02 '16 13:08 vchimev