JPpush 设置别名回掉 6002

别名
标签: #<Tag:0x00007fb846242358>

(酷) #1


(酷) #2

有人遇见过这样的问题吗? 这是在登录按钮里实现的 登录成功 向服务器请求用户UID 用用户的UID,设置成别名.


#3

请看极光的日志,是否 在你设置别名之前已经集成成功


(酷) #4

广播的形式是能收到信息的, 在请求用户信息之前设置别名,也是成功的.可以成功的推送到消息.但是在请求用户信息时就设置不成功了


#5

可以麻烦你把完整的客户端日志提供出来吗?


(酷) #6
2017-07-14 10:12:59.967835 FeiDu[5281:2249174] [DYMTLInitPlatform] platform initialization successful
2017-07-14 10:12:59 UShare(Info):[UMSocialWechatHandler:77](iOS.6.4.4): 微信SDK:精简版
2017-07-14 10:12:59 UShare(Info):[UMSocialQQHandler:87](iOS.6.4.4): QQ SDK:精简版
2017-07-14 10:13:00.116043 FeiDu[5281:2249061] Unknown
2017-07-14 10:13:00.182831 FeiDu[5281:2249061] -----Jrmf initModule
2017-07-14 10:13:00.183966 FeiDu[5281:2249061] [RongCloud]A-init-O,appkey:8brlm7uf8twe3
2017-07-14 10:13:00.209432 FeiDu[5281:2249061] [RongCloud]A-environment-S,platform:iOS-10.2.1,model:iPhone9,1,sdk:2.8.11
2017-07-14 10:13:00.211172 FeiDu[5281:2249061] ------Jrmf initWithAppKey
2017-07-14 10:13:00.605576 FeiDu[5281:2249166]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.0.5--build:36----------
--------------------JCore Lib Version:1.1.3--build:21----------
-----------------AppKey:5357cbb940a320a17a9c081c----------------
----------------------------------------------------------------
2017-07-14 10:13:00.607345 FeiDu[5281:2249166]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2017-07-14 10:13:00.607619 FeiDu[5281:2249164]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2017-07-14 10:13:02.772921 FeiDu[5281:2249061] [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. 
[
	<MASLayoutConstraint:0x1700b2480 UIButton:0x151e983b0.width == 44.78>,
	<MASLayoutConstraint:0x1700b2c00 UIButton:0x151e983b0.width == 70>
]

Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1700b2c00 UIButton:0x151e983b0.width == 70>

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.
2017-07-14 10:13:03.989288 FeiDu[5281:2249061] 
2017-07-14 10:13:06.311404 FeiDu[5281:2249061] 位置:东风日产郑州威佳二手车零售店
2017-07-14 10:13:06.316634 FeiDu[5281:2249061] 	{
	cityId = "1",
	type = "-1",
	pageSize = "5",
	page = "1",
}
2017-07-14 10:13:06.474287 FeiDu[5281:2249061] 位置:三全路
2017-07-14 10:13:06.961058 FeiDu[5281:2249186]  | JIGUANG | E - [JIGUANGAddressController] not receive sis result just now
2017-07-14 10:13:08.984847 FeiDu[5281:2249186]  | JIGUANG | E - [JIGUANGAddressController] not receive sis result just now
2017-07-14 10:13:09.472780 FeiDu[5281:2249165]  | JIGUANG | I - [JIGUANGBadgeNumberReport] set badge:0 succeed
2017-07-14 10:13:11.376542 FeiDu[5281:2249182]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 114.67.46.70,port 7009
2017-07-14 10:13:11.825101 FeiDu[5281:2249165]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:10092731291 
registrationID:18171adc033a61d14d6
2017-07-14 10:13:13.637551 FeiDu[5281:2249061] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-07-14 10:13:13.648214 FeiDu[5281:2249061] [MC] Reading from public effective user settings.
2017-07-14 10:13:14.234938 FeiDu[5281:2249061] hight_hitht:260.000000
2017-07-14 10:13:14.537191 FeiDu[5281:2249061] hight_hitht:302.000000
2017-07-14 10:13:20.897021 FeiDu[5281:2249061] hight_hitht:260.000000
2017-07-14 10:13:20.979005 FeiDu[5281:2249061] hight_hitht:260.000000
2017-07-14 10:13:29.167028 FeiDu[5281:2249061] hight_hitht:260.000000
2017-07-14 10:13:39.228584 FeiDu[5281:2249061] @@@@@@@@@@@@@@@@@@@@@@@100
2017-07-14 10:13:39.228699 FeiDu[5281:2249061] @@@@@@@@
2017-07-14 10:13:39.249817 FeiDu[5281:2249061] 100
2017-07-14 10:13:59.276643 FeiDu[5281:2249061] 6002----222---

#7

debug有打开吗?只有这些日志?

设置别名的话会有jiguang相关的日志的呀

6002超时,有网络因素也有其他,有更详细的日志才好分析

极光后台在短时间内不允许对同个设备重复设置别名和标签
2小时内,不支持对同个regid设置相同tag、alias值;
5s内也不支持对同个regid设置不同tag、alias值


(酷) #8

这个不是debug吗? 我没有重复设置alias


#9

#11

看你的日志,你是有设置多次别名呀

短时间内调用了多次API


(酷) #12
2017-07-14 11:33:55.616465 FeiDu[5346:2271046] [DYMTLInitPlatform] platform initialization successful
2017-07-14 11:33:55 UShare(Info):[UMSocialWechatHandler:77](iOS.6.4.4): 微信SDK:精简版
2017-07-14 11:33:55 UShare(Info):[UMSocialQQHandler:87](iOS.6.4.4): QQ SDK:精简版
2017-07-14 11:33:55.780003 FeiDu[5346:2270918] Unknown
2017-07-14 11:33:55.884030 FeiDu[5346:2270918] -----Jrmf initModule
2017-07-14 11:33:55.885509 FeiDu[5346:2270918] [RongCloud]A-init-O,appkey:8brlm7uf8twe3
2017-07-14 11:33:55.916287 FeiDu[5346:2270918] [RongCloud]A-environment-S,platform:iOS-10.2.1,model:iPhone9,1,sdk:2.8.11
2017-07-14 11:33:55.918177 FeiDu[5346:2270918] ------Jrmf initWithAppKey
2017-07-14 11:33:56.357609 FeiDu[5346:2271086]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.0.5--build:36----------
--------------------JCore Lib Version:1.1.3--build:21----------
-----------------AppKey:5357cbb940a320a17a9c081c----------------
----------------------------------------------------------------
2017-07-14 11:33:56.359061 FeiDu[5346:2271086]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2017-07-14 11:33:56.359333 FeiDu[5346:2271031]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2017-07-14 11:33:56.368564 FeiDu[5346:2271031]  | JIGUANG | D - [JIGUANGService] Action - resetBadge
2017-07-14 11:33:56.514707 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2017-07-14 11:33:56.515045 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2017-07-14 11:33:56.518379 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <f094c093 42fdcb9b df563c75 562e3bd1 9b2f2bb4 c81b8b58 573b6e5c 23309f2e>
2017-07-14 11:33:56.529880 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGUserActiveReport] report content {
	time : 11:32:12,
	session_id : 897fcdaf52be5c5472c73fe4b684e1dc,
	duration : 10.4,
	date : 2017-07-14,
	type : active_terminate,
	itime : 1500003132,
	activities : [
],
	timezone : +8
}
2017-07-14 11:33:56.543693 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2017-07-14 11:33:56.544087 FeiDu[5346:2271093]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2017-07-14 11:33:56.544321 FeiDu[5346:2271093]  | JIGUANG | D - [JIGUANGPageFlow] resetCurrentPage
2017-07-14 11:33:56.560450 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGUserDefaultsController] Action - setCurrentDeviceToken - f094c09342fdcb9bdf563c75562e3bd19b2f2bb4c81b8b58573b6e5c23309f2e
2017-07-14 11:33:56.560802 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2017-07-14 11:33:56.561051 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2017-07-14 11:33:56.561355 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1, curNetworkStatus: 2
2017-07-14 11:33:56.561613 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2017-07-14 11:33:56.561892 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2017-07-14 11:33:56.562135 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2017-07-14 11:33:56.562371 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2017-07-14 11:33:56.562578 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2017-07-14 11:33:56.562803 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2017-07-14 11:33:56.563282 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2017-07-14 11:33:56.565567 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGAddressController] get address :103.229.215.61 from host : s.jpush.cn
2017-07-14 11:33:56.565778 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort
2017-07-14 11:33:56.566130 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2017-07-14 11:33:56.568154 FeiDu[5346:2271093]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2017-07-14 11:33:56.568676 FeiDu[5346:2271093]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2017-07-14 11:33:56.568995 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2017-07-14 11:33:56.668434 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGAddressController] Action - parse
2017-07-14 11:33:56.710050 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGAddressController] Action - parse ips address
2017-07-14 11:33:56.776828 FeiDu[5346:2270918] [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. 
[
	<MASLayoutConstraint:0x1700a6ae0 UIButton:0x102479d30.width == 44.78>,
	<MASLayoutConstraint:0x1700a90c0 UIButton:0x102479d30.width == 70>
]

Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1700a90c0 UIButton:0x102479d30.width == 70>

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.
2017-07-14 11:33:56.779644 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGAddressController] Action - parseUdpReportAddress:
2017-07-14 11:33:56.821373 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGAddressController] Action - parseOptionAddress
2017-07-14 11:33:56.821641 FeiDu[5346:2271090]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2017-07-14 11:33:56.822164 FeiDu[5346:2271090]  | JIGUANG | D - [JIGUANGAddressController] receive sis result
2017-07-14 11:33:56.822390 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp:afterConnectUdp:
2017-07-14 11:33:56.822876 FeiDu[5346:2271090]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp:
2017-07-14 11:33:56.823344 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:118.145.3.86:7007
2017-07-14 11:33:56.823701 FeiDu[5346:2271090]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 118.145.3.86,port 7007
2017-07-14 11:33:56.830475 FeiDu[5346:2270918] 
2017-07-14 11:33:56.865261 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2017-07-14 11:33:56.868223 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2017-07-14 11:33:56.868873 FeiDu[5346:2271054]  | JIGUANG | D - [JIGUANGSessionController] Action - connectUdp:
2017-07-14 11:33:56.869178 FeiDu[5346:2271054]  | JIGUANG | D - [JIGUANGSessionController] Action - connectWithUdpCoreAddress:
2017-07-14 11:33:56.869843 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket connected
2017-07-14 11:33:56.903684 FeiDu[5346:2271053]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:33:56.937470 FeiDu[5346:2271053]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:10100638149 
registrationID:101d85590970616a6d2
2017-07-14 11:33:56.937762 FeiDu[5346:2271053]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:33:56.938210 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:33:56.938503 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2017-07-14 11:33:56.939871 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2017-07-14 11:33:56.940357 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2017-07-14 11:33:56.940674 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2017-07-14 11:33:56.941371 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2017-07-14 11:33:56.970247 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGReport] send report:[
	{
	session_id : dc177f2fccee17df35bddaf764b3494e,
	date : 2017-07-14,
	timezone : +8,
	type : active_launch,
	time : 11:33:56,
	itime : 1500003236
}
] log succed
2017-07-14 11:33:57.043016 FeiDu[5346:2271094]  | JIGUANG | I - [JIGUANGBadgeNumberReport] set badge:0 succeed
2017-07-14 11:33:57.072126 FeiDu[5346:2271094]  | JIGUANG | D - [JIGUANGReport] send report:[
	{
	time : 11:32:12,
	session_id : 897fcdaf52be5c5472c73fe4b684e1dc,
	duration : 10.4,
	date : 2017-07-14,
	type : active_terminate,
	itime : 1500003132,
	activities : [
],
	timezone : +8
}
] log succed
2017-07-14 11:33:57.164445 FeiDu[5346:2270918] 位置:天伦路
2017-07-14 11:33:57.170519 FeiDu[5346:2270918] 	{
	cityId = "1",
	type = "-1",
	pageSize = "5",
	page = "1",
}
2017-07-14 11:33:57.176598 FeiDu[5346:2270918] 位置:天伦路
2017-07-14 11:33:57.179917 FeiDu[5346:2270918] 位置:河南万通集团有限公司(东门)
2017-07-14 11:33:57.181349 FeiDu[5346:2270918] 位置:河南万通集团有限公司(东门)
2017-07-14 11:33:57.287609 FeiDu[5346:2270918] {{0, 0}, {0, 0}} {{0, 0}, {320, 44}}
2017-07-14 11:33:57.297809 FeiDu[5346:2270918] [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) 
[
	<MASLayoutConstraint:0x1740ae2e0 UIView:0x1024ac060.top == UITableViewCellContentView:0x10245f850.top + 5>,
	<MASLayoutConstraint:0x1740ae520 UIView:0x1024ac060.bottom == UITableViewCellContentView:0x10245f850.bottom - 5>,
	<MASLayoutConstraint:0x1740ae280 UIImageView:0x1024ac200.top == UIView:0x1024ac060.top>,
	<MASLayoutConstraint:0x1740b1dc0 UIImageView:0x1024ac200.height == 357.304>,
	<MASLayoutConstraint:0x1740b1b80 UILabel:0x1024acb80.top == UIImageView:0x1024ac200.bottom + 10>,
	<MASLayoutConstraint:0x1740a8520 UILabel:0x1024acb80.height == 30>,
	<MASLayoutConstraint:0x1740b2720 UILabel:0x1024ace10.top == UILabel:0x1024acb80.bottom + 5>,
	<MASLayoutConstraint:0x1740b24e0 UILabel:0x1024ace10.height == 30>,
	<MASLayoutConstraint:0x1700b3bc0 UIView:0x1024ad0a0.top == UILabel:0x1024ace10.bottom + 5>,
	<MASLayoutConstraint:0x1700b3e60 UIView:0x1024ad0a0.height == 1>,
	<MASLayoutConstraint:0x1740b22a0 UICollectionView:0x10302f800.top == UIView:0x1024ad0a0.bottom + 5>,
	<MASLayoutConstraint:0x1740b2180 UICollectionView:0x10302f800.bottom == UIView:0x1024ac060.bottom - 10>,
	<MASLayoutConstraint:0x1740b47c0 UICollectionView:0x10302f800.height == 99>,
	<NSAutoresizingMaskLayoutConstraint:0x17428eba0 UITableViewCellContentView:0x10245f850.height == 562.5>
]

Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1740b1dc0 UIImageView:0x1024ac200.height == 357.304>

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.
2017-07-14 11:33:57.321669 FeiDu[5346:2270918] 加载完毕
2017-07-14 11:33:57.321748 FeiDu[5346:2270918] 加载完毕
2017-07-14 11:33:57.321787 FeiDu[5346:2270918] 加载完毕
2017-07-14 11:33:57.321827 FeiDu[5346:2270918] 加载完毕
2017-07-14 11:34:02.439590 FeiDu[5346:2270918] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-07-14 11:34:02.446908 FeiDu[5346:2270918] [MC] Reading from public effective user settings.
2017-07-14 11:34:02.815339 FeiDu[5346:2270918] hight_hitht:260.000000
2017-07-14 11:34:03.154057 FeiDu[5346:2270918] hight_hitht:302.000000
2017-07-14 11:34:10.457873 FeiDu[5346:2270918] hight_hitht:260.000000
2017-07-14 11:34:10.535643 FeiDu[5346:2270918] hight_hitht:260.000000
2017-07-14 11:34:16.957035 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGService] Action - setAlias: 114 callbackSelector:object:
2017-07-14 11:34:16.958220 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGService] Action - setTags:(null) alias: 114 callbackSelector:object:
2017-07-14 11:34:16.959603 FeiDu[5346:2271029]  | JIGUANG | D - [JIGUANGService] Action - setTags: (null) alias: 114 callbackSelector:target:
2017-07-14 11:34:16.965377 FeiDu[5346:2270918] @@@@@@@@@@@@@@@@@@@@@@@100
2017-07-14 11:34:16.965484 FeiDu[5346:2270918] @@@@@@@@
2017-07-14 11:34:16.988621 FeiDu[5346:2271265]  | JIGUANG | D - [JIGUANGService] Action - setTags: (null) alias: 222 fetchCompletionHandle:
2017-07-14 11:34:16.988791 FeiDu[5346:2270918] 100
2017-07-14 11:34:17.016431 FeiDu[5346:2271265]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:34:17.017899 FeiDu[5346:2271091]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:34:17.048536 FeiDu[5346:2271262]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:34:17.049152 FeiDu[5346:2271267]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:34:17.081198 FeiDu[5346:2271267]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:34:17.081788 FeiDu[5346:2271267]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:34:17.131799 FeiDu[5346:2271265]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:34:37.017093 FeiDu[5346:2270918] 6002----222---
2017-07-14 11:34:56.882723 FeiDu[5346:2271265] [LogMessageLogging] 48.1 Unable to retrieve CarrierName. CTError: domain-2, code-5, errStr:((os/kern) failure)

还是不行啊


(酷) #13
2017-07-14 11:39:21.527821 FeiDu[5357:2273071] [DYMTLInitPlatform] platform initialization successful
2017-07-14 11:39:21 UShare(Info):[UMSocialWechatHandler:77](iOS.6.4.4): 微信SDK:精简版
2017-07-14 11:39:21 UShare(Info):[UMSocialQQHandler:87](iOS.6.4.4): QQ SDK:精简版
2017-07-14 11:39:21.699959 FeiDu[5357:2272957] Unknown
2017-07-14 11:39:21.795075 FeiDu[5357:2272957] -----Jrmf initModule
2017-07-14 11:39:21.799437 FeiDu[5357:2272957] [RongCloud]A-init-O,appkey:8brlm7uf8twe3
2017-07-14 11:39:21.820131 FeiDu[5357:2272957] [RongCloud]Reachability Flag Status: -R ------- networkStatusForFlags
2017-07-14 11:39:21.837494 FeiDu[5357:2272957] [RongCloud]A-environment-S,platform:iOS-10.2.1,model:iPhone9,1,sdk:2.8.11
2017-07-14 11:39:21.839632 FeiDu[5357:2272957] ------Jrmf initWithAppKey
2017-07-14 11:39:22.268757 FeiDu[5357:2273056]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.0.5--build:36----------
--------------------JCore Lib Version:1.1.3--build:21----------
-----------------AppKey:5357cbb940a320a17a9c081c----------------
----------------------------------------------------------------
2017-07-14 11:39:22.269860 FeiDu[5357:2273056]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2017-07-14 11:39:22.270118 FeiDu[5357:2273059]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2017-07-14 11:39:22.279720 FeiDu[5357:2273059]  | JIGUANG | D - [JIGUANGService] Action - resetBadge
2017-07-14 11:39:22.384099 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2017-07-14 11:39:22.384523 FeiDu[5357:2273115]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2017-07-14 11:39:22.398453 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <f094c093 42fdcb9b df563c75 562e3bd1 9b2f2bb4 c81b8b58 573b6e5c 23309f2e>
2017-07-14 11:39:22.405482 FeiDu[5357:2273115]  | JIGUANG | D - [JIGUANGUserActiveReport] report content {
	time : 11:32:12,
	session_id : 897fcdaf52be5c5472c73fe4b684e1dc,
	duration : 10.4,
	date : 2017-07-14,
	type : active_terminate,
	itime : 1500003132,
	activities : [
],
	timezone : +8
}
2017-07-14 11:39:22.419832 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2017-07-14 11:39:22.420276 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2017-07-14 11:39:22.420600 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGPageFlow] resetCurrentPage
2017-07-14 11:39:22.439705 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGUserDefaultsController] Action - setCurrentDeviceToken - f094c09342fdcb9bdf563c75562e3bd19b2f2bb4c81b8b58573b6e5c23309f2e
2017-07-14 11:39:22.440042 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2017-07-14 11:39:22.440373 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2017-07-14 11:39:22.440819 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1, curNetworkStatus: 2
2017-07-14 11:39:22.441136 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2017-07-14 11:39:22.441490 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2017-07-14 11:39:22.441973 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2017-07-14 11:39:22.442421 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2017-07-14 11:39:22.442708 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2017-07-14 11:39:22.443062 FeiDu[5357:2273115]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2017-07-14 11:39:22.443959 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2017-07-14 11:39:22.446217 FeiDu[5357:2273115]  | JIGUANG | D - [JIGUANGAddressController] get address :121.46.20.38 from host : s.jpush.cn
2017-07-14 11:39:22.446500 FeiDu[5357:2273115]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort
2017-07-14 11:39:22.446855 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2017-07-14 11:39:22.450875 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2017-07-14 11:39:22.451617 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2017-07-14 11:39:22.453564 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2017-07-14 11:39:22.491227 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGAddressController] Action - parse
2017-07-14 11:39:22.524705 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGAddressController] Action - parse ips address
2017-07-14 11:39:22.560958 FeiDu[5357:2272957] [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. 
[
	<MASLayoutConstraint:0x1740ac360 UIButton:0x155e75e30.width == 44.78>,
	<MASLayoutConstraint:0x1740acae0 UIButton:0x155e75e30.width == 70>
]

Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1740acae0 UIButton:0x155e75e30.width == 70>

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.
2017-07-14 11:39:22.607236 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGAddressController] Action - parseUdpReportAddress:
2017-07-14 11:39:22.622178 FeiDu[5357:2272957] 
2017-07-14 11:39:22.686771 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGAddressController] Action - parseOptionAddress
2017-07-14 11:39:22.687275 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2017-07-14 11:39:22.689467 FeiDu[5357:2273104]  | JIGUANG | D - [JIGUANGAddressController] receive sis result
2017-07-14 11:39:22.689958 FeiDu[5357:2273104]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp:afterConnectUdp:
2017-07-14 11:39:22.690297 FeiDu[5357:2273104]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp:
2017-07-14 11:39:22.690616 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:139.198.0.251:7000
2017-07-14 11:39:22.690999 FeiDu[5357:2273117]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 139.198.0.251,port 7000
2017-07-14 11:39:22.714726 FeiDu[5357:2273104]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2017-07-14 11:39:22.715569 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2017-07-14 11:39:22.715963 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGSessionController] Action - connectUdp:
2017-07-14 11:39:22.716237 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGSessionController] Action - connectWithUdpCoreAddress:
2017-07-14 11:39:22.716862 FeiDu[5357:2273114]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket connected
2017-07-14 11:39:22.749788 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:39:22.769682 FeiDu[5357:2273079]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:10100638149 
registrationID:101d85590970616a6d2
2017-07-14 11:39:22.769982 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:39:22.770223 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:39:22.770558 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2017-07-14 11:39:22.771490 FeiDu[5357:2273117]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2017-07-14 11:39:22.771954 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2017-07-14 11:39:22.772356 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2017-07-14 11:39:22.772766 FeiDu[5357:2273079]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2017-07-14 11:39:22.867656 FeiDu[5357:2273056]  | JIGUANG | I - [JIGUANGBadgeNumberReport] set badge:0 succeed
2017-07-14 11:39:22.874064 FeiDu[5357:2273116]  | JIGUANG | D - [JIGUANGReport] send report:[
	{
	session_id : f1b8f40f1a4bea4faed815045613ce5c,
	date : 2017-07-14,
	timezone : +8,
	type : active_launch,
	time : 11:39:22,
	itime : 1500003562
}
] log succed
2017-07-14 11:39:22.875994 FeiDu[5357:2272957] 位置:宏明路
2017-07-14 11:39:22.880074 FeiDu[5357:2272957] 	{
	cityId = "1",
	type = "-1",
	pageSize = "5",
	page = "1",
}
2017-07-14 11:39:22.884193 FeiDu[5357:2272957] 位置:天伦路
2017-07-14 11:39:22.889415 FeiDu[5357:2272957] 位置:宏明路
2017-07-14 11:39:22.890828 FeiDu[5357:2272957] 位置:天伦路
2017-07-14 11:39:22.938093 FeiDu[5357:2272957] {{0, 0}, {0, 0}} {{0, 0}, {320, 44}}
2017-07-14 11:39:22.944981 FeiDu[5357:2272957] [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) 
[
	<MASLayoutConstraint:0x1700b3f80 UIView:0x155d945f0.top == UITableViewCellContentView:0x155d97380.top + 5>,
	<MASLayoutConstraint:0x1700b3f20 UIView:0x155d945f0.bottom == UITableViewCellContentView:0x155d97380.bottom - 5>,
	<MASLayoutConstraint:0x1700a7e60 UIImageView:0x155d0bde0.top == UIView:0x155d945f0.top>,
	<MASLayoutConstraint:0x1700b4220 UIImageView:0x155d0bde0.height == 357.304>,
	<MASLayoutConstraint:0x1700ad7a0 UILabel:0x155d65e70.top == UIImageView:0x155d0bde0.bottom + 10>,
	<MASLayoutConstraint:0x1700ab2e0 UILabel:0x155d65e70.height == 30>,
	<MASLayoutConstraint:0x1700ad8c0 UILabel:0x155d9fbf0.top == UILabel:0x155d65e70.bottom + 5>,
	<MASLayoutConstraint:0x1700adb00 UILabel:0x155d9fbf0.height == 30>,
	<MASLayoutConstraint:0x1700adf20 UIView:0x155d9fe80.top == UILabel:0x155d9fbf0.bottom + 5>,
	<MASLayoutConstraint:0x1700ae160 UIView:0x155d9fe80.height == 1>,
	<MASLayoutConstraint:0x1700ae520 UICollectionView:0x1561b8e00.top == UIView:0x155d9fe80.bottom + 5>,
	<MASLayoutConstraint:0x1700ae5e0 UICollectionView:0x1561b8e00.bottom == UIView:0x155d945f0.bottom - 10>,
	<MASLayoutConstraint:0x1740bae20 UICollectionView:0x1561b8e00.height == 99>,
	<NSAutoresizingMaskLayoutConstraint:0x174294a50 UITableViewCellContentView:0x155d97380.height == 562.5>
]

Will attempt to recover by breaking constraint 
<MASLayoutConstraint:0x1700b4220 UIImageView:0x155d0bde0.height == 357.304>

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.
2017-07-14 11:39:22.961965 FeiDu[5357:2272957] 加载完毕
2017-07-14 11:39:22.962034 FeiDu[5357:2272957] 加载完毕
2017-07-14 11:39:22.962071 FeiDu[5357:2272957] 加载完毕
2017-07-14 11:39:22.962164 FeiDu[5357:2272957] 加载完毕
2017-07-14 11:39:22.997022 FeiDu[5357:2273059]  | JIGUANG | D - [JIGUANGReport] send report:[
	{
	time : 11:32:12,
	session_id : 897fcdaf52be5c5472c73fe4b684e1dc,
	duration : 10.4,
	date : 2017-07-14,
	type : active_terminate,
	itime : 1500003132,
	activities : [
],
	timezone : +8
}
] log succed
2017-07-14 11:39:34.361004 FeiDu[5357:2272957] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-07-14 11:39:34.371891 FeiDu[5357:2272957] [MC] Reading from public effective user settings.
2017-07-14 11:39:34.743472 FeiDu[5357:2272957] hight_hitht:260.000000
2017-07-14 11:39:35.092669 FeiDu[5357:2272957] hight_hitht:302.000000
2017-07-14 11:39:41.652077 FeiDu[5357:2272957] hight_hitht:260.000000
2017-07-14 11:39:41.725849 FeiDu[5357:2272957] hight_hitht:260.000000
2017-07-14 11:39:47.911406 FeiDu[5357:2273220]  | JIGUANG | D - [JIGUANGService] Action - setAlias: 114 callbackSelector:object:
2017-07-14 11:39:47.912789 FeiDu[5357:2273220]  | JIGUANG | D - [JIGUANGService] Action - setTags:(null) alias: 114 callbackSelector:object:
2017-07-14 11:39:47.914169 FeiDu[5357:2273163]  | JIGUANG | D - [JIGUANGService] Action - setTags: (null) alias: 114 callbackSelector:target:
2017-07-14 11:39:47.919774 FeiDu[5357:2272957] @@@@@@@@@@@@@@@@@@@@@@@100
2017-07-14 11:39:47.919854 FeiDu[5357:2272957] @@@@@@@@
2017-07-14 11:39:47.944041 FeiDu[5357:2273298]  | JIGUANG | D - [JIGUANGService] Action - setTags: (null) alias: 100 fetchCompletionHandle:
2017-07-14 11:39:47.944233 FeiDu[5357:2272957] 100
2017-07-14 11:39:47.969679 FeiDu[5357:2273056]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:39:47.971235 FeiDu[5357:2273059]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2017-07-14 11:39:47.995307 FeiDu[5357:2273059]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:39:47.995946 FeiDu[5357:2273056]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:39:48.016875 FeiDu[5357:2273056]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:39:48.018386 FeiDu[5357:2273056]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2017-07-14 11:39:48.442857 FeiDu[5357:2273059]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-07-14 11:40:07.974168 FeiDu[5357:2272957] 6002----100---
2017-07-14 11:40:22.701177 FeiDu[5357:2273356] [LogMessageLogging] 48.1 Unable to retrieve CarrierName. CTError: domain-2, code-5, errStr:((os/kern) failure)

#14

为什么从你的日志里面看出你调用了多次API?

一次是单独设置别名,一次调用同时设置别名和标签的API,开始设置为114,后又马上设置为100,之前是222

请检查你的代码,麻烦在短时间内只调用一次API


(酷) #15

已经解决 谢谢