收藏
回答

xcode升级到11后微信登录返回后app卡死

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小游戏 Bug iOS ios13.3.1 iphone6 7.0.12
升级xcode后,旧工程连接真机调试,当手机版本为ios12的时候,微信登录正常,Universal Links正常,回调走的是continueUserActivity
当手机ios版本为13以上时,微信登录返回依然走了continueUserActivity,但是多了一条错误日志
Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
然后app直接卡死。
以下为全部日志:
2020-03-24 16:32:12.462798+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:send req[<SendAuthReq: 0x2822bf990>], appID:wx30ce23eac8519a3e, universalLink:https://sjbd.wx.huidutek.com/ydqp/, sdkVersion:1.8.6.1
2020-03-24 16:32:12.517270+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:set property list
2020-03-24 16:32:12.559619+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:launch app with ul only success
2020-03-24 16:32:12.559791+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:launch app with universal link, ret:1
2020-03-24 16:32:12.559957+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:req:<SendAuthReq: 0x2822bf990>, cid:877b4f87db5e1f24c97d262b1a9766f89937b843
D/AudioEngine-inl.mm (172): UIApplicationWillResignActiveNotification
2020-03-24 16:32:12.736977+0800 ydqp-mobile[1297:1029503] PBItemCollectionServicer connection disconnected.
JS: AudioMgr--------->gameHideEvent---->openwechat = true
2020-03-24 16:32:13.439648+0800 ydqp-mobile[1297:1029286] Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
2020-03-24 16:32:21.918250+0800 ydqp-mobile[1297:1029286] 微信错误l日志 wxlog:Error:set token fail, errCode:4, errLog:wx token[] or contextId[(null)] is nil!
2020-03-24 16:32:21.918583+0800 ydqp-mobile[1297:1029286] wx onResp data code:0  str:(null)
JS: onLoginResp succeed---------->001evlyM0X7dx829ThyM0lCiyM0evlyo
D/AudioEngine-inl.mm (182): UIApplicationDidBecomeActiveNotification


ios12一下的手机测试都没问题,唯独ios13不行,Universal Links配置正确,浏览器里都能拉起app。
回答关注问题邀请回答
收藏

2 个回答

  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-03-25

    你好,麻烦再复现一次,在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,提供一下微信号,复现问题的详细时间点

    2020-03-25
    有用
    回复 1
    • Jasen
      Jasen
      2020-03-30
      已找到问题,是游戏引擎在ios13的bug
      2020-03-30
      回复
  • 子不语
    子不语
    2020-03-24

    emmm?xcode???

    --↓↓👍如果觉得有帮助的话请点个【赞】吧(唏嘘也有小尾巴了,可惜是假的)

    2020-03-24
    有用
    回复
登录 后发表内容
问题标签