起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5730|回复: 10

[处理中3] 3.8打包后 ios输入框闪退

[复制链接]

15

主题

63

帖子

201

积分

中级会员

Rank: 3Rank: 3

积分
201
QQ
发表于 2018-10-12 11:48:21 | 显示全部楼层 |阅读模式
本帖最后由 ma1305249012 于 2018-10-12 11:51 编辑

使用的3.8打包,打包以后运行在ios9 ios 10 ios11 输入框被点击之后会立即闪退。ios12正常

有替换过/model/UI2/system/components/justep/lib/fastclick.js
没替换之前输入点击反应很慢 长时间还可能出现卡死
替换之后在除了ios12版本以外的老版本会出现闪退

15

主题

63

帖子

201

积分

中级会员

Rank: 3Rank: 3

积分
201
QQ
 楼主| 发表于 2018-10-12 11:59:22 | 显示全部楼层
这是xcode9.2的部分日志



Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000484fb0 _UIButtonBarStackView:0x7fc6f35594d0.trailing == _UIToolbarContentView:0x7fc6f3557630.trailing   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2018-10-12 11:34:15.029185+0800 Vhome-Depvelop[3581:71643] -[__NSFrozenDictionaryM length]: unrecognized selector sent to instance 0x600000420c20
2018-10-12 11:34:15.037217+0800 Vhome-Depvelop[3581:71643] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSFrozenDictionaryM length]: unrecognized selector sent to instance 0x600000420c20'
*** First throw call stack:
(
        0   CoreFoundation                      0x00000001108b412b __exceptionPreprocess + 171
        1   libobjc.A.dylib                     0x000000010ff1af41 objc_exception_throw + 48
        2   CoreFoundation                      0x0000000110935024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
        3   CoreFoundation                      0x0000000110836f78 ___forwarding___ + 1432
        4   CoreFoundation                      0x0000000110836958 _CF_forwarding_prep_0 + 120
        5   UIKit                               0x00000001123d58e2 -[UILabel _setText:] + 136
        6   UIKit                               0x0000000112e34554 -[_UIAlertControllerView _updateMessageLabelContents] + 128
        7   UIKit                               0x0000000112e2cb24 -[_UIAlertControllerView _prepareMesssageLabel] + 307
        8   UIKit                               0x0000000112e2c6b9 -[_UIAlertControllerView _prepareViewsAndAddConstraints] + 92
        9   UIKit                               0x0000000112e2c633 -[_UIAlertControllerView setAlertController:] + 93
        10  UIKit                               0x00000001124e4880 -[UIAlertController loadView] + 76
        11  UIKit                               0x00000001122bd05c -[UIViewController loadViewIfRequired] + 195
        12  UIKit                               0x00000001122bd8b9 -[UIViewController view] + 27
        13  UIKit                               0x0000000112968961 -[UIWebBrowserView _zoomToRect:ensuringVisibilityOfRect:withScale:forceScroll:formAssistantFrame:animationDuration:] + 293
        14  UIKit                               0x0000000112968836 -[UIWebBrowserView _zoomToRect:ensuringVisibilityOfRect:withScale:forceScroll:] + 149
        15  UIKit                               0x000000011296878f -[UIWebBrowserView _zoomToNode:forceScroll:] + 1202
        16  UIKit                               0x0000000112966311 -[UIWebBrowserView _displayFormNodeInputView] + 95
        17  UIKit                               0x000000011296671d -[UIWebBrowserView _reloadInputViewsAfterPotentialFocusRedirect] + 84
        18  UIKit                               0x00000001129665a8 -[UIWebBrowserView _endAllowingFocusRedirects] + 45
        19  libdispatch.dylib                   0x0000000111d9133d _dispatch_client_callout + 8
        20  libdispatch.dylib                   0x0000000111d9e3a0 _dispatch_sync_thread_bound_invoke + 386
        21  libdispatch.dylib                   0x0000000111d9133d _dispatch_client_callout + 8
        22  libdispatch.dylib                   0x0000000111d9c5f9 _dispatch_main_queue_callback_4CF + 628
        23  CoreFoundation                      0x0000000110876e39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        24  CoreFoundation                      0x000000011083b462 __CFRunLoopRun + 2402
        25  CoreFoundation                      0x000000011083a889 CFRunLoopRunSpecific + 409
        26  GraphicsServices                    0x00000001162e99c6 GSEventRunModal + 62
        27  UIKit                               0x00000001121155d6 UIApplicationMain + 159
        28  Vhome-Depvelop                      0x000000010d2f7161 main + 65
        29  libdyld.dylib                       0x0000000111e0dd81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
回复 支持 反对

使用道具 举报

15

主题

63

帖子

201

积分

中级会员

Rank: 3Rank: 3

积分
201
QQ
 楼主| 发表于 2018-10-12 12:06:13 | 显示全部楼层

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000480910 H:[_UIModernBarButton:0x7fa02d757990]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d757200 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2018-10-12 12:04:37.087528+0800 Vhome-Depvelop[3752:94345] [LayoutConstraints] Unable to simultaneously satisfy constraints.
        Probably at least one of the constraints in the following list is one you don't want.
        Try this:
                (1) look at each constraint and try to figure out which you don't expect;
                (2) find the code that added the unwanted constraint or constraints and fix it.
        (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width   (active)>",
    "<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820]   (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
    "<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing   (active)>",
    "<NSLayoutConstraint:0x604000480e10 H:|-(>=5)-[_UIModernBarButton:0x7fa02d759440]   (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
    "<NSLayoutConstraint:0x604000480e60 H:[_UIModernBarButton:0x7fa02d759440]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
    "<NSLayoutConstraint:0x604000481cc0 H:|-(8)-[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']-(12)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x6040004820d0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fa02d757200.leading   (active)>",
    "<NSLayoutConstraint:0x604000482ad0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fa02d759960.trailing   (active)>",
    "<NSLayoutConstraint:0x604000482b20 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757200]-(0)-[UIView:0x7fa02d757ef0]   (active)>",
    "<NSLayoutConstraint:0x604000482b70 'UISV-spacing' H:[UIView:0x7fa02d757ef0]-(0)-[_UIButtonBarButton:0x7fa02d757450]   (active)>",
    "<NSLayoutConstraint:0x604000482bc0 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757450]-(0)-[UIView:0x7fa02d759780]   (active)>",
    "<NSLayoutConstraint:0x604000482c10 'UISV-spacing' H:[UIView:0x7fa02d759780]-(0)-[_UIButtonBarButton:0x7fa02d759960]   (active)>",
    "<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000002911c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>",
    "<NSLayoutConstraint:0x600000291620 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000480e60 H:[_UIModernBarButton:0x7fa02d759440]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2018-10-12 12:04:37.089168+0800 Vhome-Depvelop[3752:94345] [LayoutConstraints] Unable to simultaneously satisfy constraints.
        Probably at least one of the constraints in the following list is one you don't want.
        Try this:
                (1) look at each constraint and try to figure out which you don't expect;
                (2) find the code that added the unwanted constraint or constraints and fix it.
        (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width   (active)>",
    "<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820]   (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
    "<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing   (active)>",
    "<NSLayoutConstraint:0x604000481cc0 H:|-(8)-[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']-(12)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x6040004820d0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fa02d757200.leading   (active)>",
    "<NSLayoutConstraint:0x604000482ad0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fa02d759960.trailing   (active)>",
    "<NSLayoutConstraint:0x604000482b20 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757200]-(0)-[UIView:0x7fa02d757ef0]   (active)>",
    "<NSLayoutConstraint:0x604000482b70 'UISV-spacing' H:[UIView:0x7fa02d757ef0]-(0)-[_UIButtonBarButton:0x7fa02d757450]   (active)>",
    "<NSLayoutConstraint:0x604000482bc0 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757450]-(0)-[UIView:0x7fa02d759780]   (active)>",
    "<NSLayoutConstraint:0x604000482c10 'UISV-spacing' H:[UIView:0x7fa02d759780]-(0)-[_UIButtonBarButton:0x7fa02d759960]   (active)>",
    "<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000002911c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>",
    "<NSLayoutConstraint:0x600000291620 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'完成']-(12)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2018-10-12 12:04:37.090467+0800 Vhome-Depvelop[3752:94345] [LayoutConstraints] Unable to simultaneously satisfy constraints.
        Probably at least one of the constraints in the following list is one you don't want.
        Try this:
                (1) look at each constraint and try to figure out which you don't expect;
                (2) find the code that added the unwanted constraint or constraints and fix it.
        (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width   (active)>",
    "<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820]   (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
    "<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing   (active)>",
    "<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0   (active)>"
)
回复 支持 反对

使用道具 举报

15

主题

63

帖子

201

积分

中级会员

Rank: 3Rank: 3

积分
201
QQ
 楼主| 发表于 2018-10-12 12:06:52 | 显示全部楼层
2018-10-12 12:04:37.030088+0800 Vhome-Depvelop[3752:94345] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/mac/Library/Developer/CoreSimulator/Devices/FE69B3F0-FC7B-4C58-8E8A-1EA8F5A66F10/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-10-12 12:04:37.030590+0800 Vhome-Depvelop[3752:94345] [MC] Reading from private effective user settings.
2018-10-12 12:04:37.085428+0800 Vhome-Depvelop[3752:94345] [LayoutConstraints] Unable to simultaneously satisfy constraints.
        Probably at least one of the constraints in the following list is one you don't want.
        Try this:
                (1) look at each constraint and try to figure out which you don't expect;
                (2) find the code that added the unwanted constraint or constraints and fix it.
        (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x6040004837a0 h=-&- v=-&- _UIToolbarContentView:0x7fa02d640980.width == UIToolbar:0x7fa02d640310.width   (active)>",
    "<NSLayoutConstraint:0x600000291df0 H:|-(8)-[_UIButtonBarStackView:0x7fa02d642820]   (active, names: '|':_UIToolbarContentView:0x7fa02d640980 )>",
    "<NSLayoutConstraint:0x600000291e40 _UIButtonBarStackView:0x7fa02d642820.trailing == _UIToolbarContentView:0x7fa02d640980.trailing   (active)>",
    "<NSLayoutConstraint:0x6040004808c0 H:|-(12)-[_UIModernBarButton:0x7fa02d757990]   (active, names: '|':_UIButtonBarButton:0x7fa02d757200 )>",
    "<NSLayoutConstraint:0x604000480910 H:[_UIModernBarButton:0x7fa02d757990]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d757200 )>",
    "<NSLayoutConstraint:0x604000480e10 H:|-(>=5)-[_UIModernBarButton:0x7fa02d759440]   (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
    "<NSLayoutConstraint:0x604000480e60 H:[_UIModernBarButton:0x7fa02d759440]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d757450 )>",
    "<NSLayoutConstraint:0x604000481cc0 H:|-(8)-[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x604000481d10 H:[_UIModernBarButton:0x7fa02d759f20'\U5b8c\U6210']-(12)-|   (active, names: '|':_UIButtonBarButton:0x7fa02d759960 )>",
    "<NSLayoutConstraint:0x6040004820d0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fa02d757200.leading   (active)>",
    "<NSLayoutConstraint:0x604000482ad0 'UISV-canvas-connection' UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fa02d759960.trailing   (active)>",
    "<NSLayoutConstraint:0x604000482b20 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757200]-(0)-[UIView:0x7fa02d757ef0]   (active)>",
    "<NSLayoutConstraint:0x604000482b70 'UISV-spacing' H:[UIView:0x7fa02d757ef0]-(0)-[_UIButtonBarButton:0x7fa02d757450]   (active)>",
    "<NSLayoutConstraint:0x604000482bc0 'UISV-spacing' H:[_UIButtonBarButton:0x7fa02d757450]-(0)-[UIView:0x7fa02d759780]   (active)>",
    "<NSLayoutConstraint:0x604000482c10 'UISV-spacing' H:[UIView:0x7fa02d759780]-(0)-[_UIButtonBarButton:0x7fa02d759960]   (active)>",
    "<NSLayoutConstraint:0x604000483890 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fa02d640310.width == 0   (active)>",
    "<NSLayoutConstraint:0x6000002911c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>",
    "<NSLayoutConstraint:0x600000291620 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000005a5b00'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7fa02d642820 )>"
)
回复 支持 反对

使用道具 举报

发表于 2018-10-30 11:15:58 | 显示全部楼层
那么,如果不修改这个文件,除了反映慢,其他都正常吗??
那就可能是修改这个文件导致的
请问你怎么修改的,

没替换之前
反映慢是都反映慢还是个别手机反映慢
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

31

主题

99

帖子

443

积分

中级会员

Rank: 3Rank: 3

积分
443
QQ
发表于 2018-12-3 16:33:46 | 显示全部楼层
你好,这个问题有后续吗??现在遇到这个问题,不会解决。
回复 支持 反对

使用道具 举报

13

主题

72

帖子

186

积分

初级会员

Rank: 2

积分
186
QQ
发表于 2019-4-24 15:36:53 | 显示全部楼层
bex5_glimmer 发表于 2018-12-3 16:33
你好,这个问题有后续吗??现在遇到这个问题,不会解决。

同问,这个问题有后续么?
回复 支持 反对

使用道具 举报

13

主题

72

帖子

186

积分

初级会员

Rank: 2

积分
186
QQ
发表于 2019-4-24 15:40:14 | 显示全部楼层
Jive 发表于 2019-4-24 15:36
同问,这个问题有后续么?

升级完Mac iOS12之后 输入框聚焦闪退 并且弹提示框!can't find variable:none
回复 支持 反对

使用道具 举报

13

主题

72

帖子

186

积分

初级会员

Rank: 2

积分
186
QQ
发表于 2019-4-28 15:11:40 | 显示全部楼层
Jive 发表于 2019-4-24 15:40
升级完Mac iOS12之后 输入框聚焦闪退 并且弹提示框!can't find variable:none

帖子都好几天了 都没人处理的么???
回复 支持 反对

使用道具 举报

31

主题

99

帖子

443

积分

中级会员

Rank: 3Rank: 3

积分
443
QQ
发表于 2019-5-20 17:17:23 | 显示全部楼层
Jive 发表于 2019-4-24 15:36
同问,这个问题有后续么?

关于这个问题我的解决方式是:将目标输入框禁用,$("input").attr("disabled",true);然后在继续业务流程,由于禁用时输入框会变灰,然后设置一下样式就好了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-26 16:17 , Processed in 0.051878 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表