V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
magic3584
V2EX  ›  iDev

Apple 放出 iOS 14.7 但是不放支持的正式版 Xcode,咋想的

  •  1
     
  •   magic3584 · 2021-07-22 14:22:23 +08:00 · 5442 次点击
    这是一个创建于 980 天前的主题,其中的信息可能已经有所发展或是发生改变。

    复制 14.6 真机调试包改名字可以跑,但是无法看变量,并且一断点就断开连接

    准备退到 14.6 了

    第 1 条附言  ·  2021-07-22 17:04:49 +08:00
    手机降级 14.6,Xcode 放入 14.6 真机调试包,还是崩,我麻了

    Details

    Lost connection to the debugger on “Xs”.
    Domain: IDEDebugSessionErrorDomain
    Code: 4
    Recovery Suggestion: Restore the connection to “Xs” and run “” again, or if “” is still running, you can attach to it by selecting Debug > Attach to Process >.
    --


    System Information

    macOS Version 11.4 (Build 20F71)
    Xcode 12.4 (17801) (Build 12D4e)
    Timestamp: 2021-07-22T17:00:49+08:00
    第 2 条附言  ·  2021-07-23 10:31:10 +08:00
    Xcode 升级到 **Version 12.5.1 (12E507)** 后终于正常跑 iOS 14.6 了,

    但是 **/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/** 下的真机包只到 14.5,那怎么能跑起来呢?

    搞不懂了。。。
    14 条回复    2021-07-23 13:43:56 +08:00
    SimleCp
        1
    SimleCp  
       2021-07-22 15:16:43 +08:00   ❤️ 1
    xcode12.5.1 直接就能跑
    magic3584
        2
    magic3584  
    OP
       2021-07-22 15:44:28 +08:00
    @SimleCp 请问有 “无法看变量,并且一断点就断开连接” 这种情况吗
    clrss
        3
    clrss  
       2021-07-22 16:05:05 +08:00
    可能是安全更新过于紧迫
    iSteven
        4
    iSteven  
       2021-07-22 17:27:20 +08:00   ❤️ 1
    @magic3584 实测,没这个问题。
    Leonard
        5
    Leonard  
       2021-07-22 17:38:33 +08:00
    苹果不是第一次干这种事了,更新 iOS 不更新 Xcode
    magic3584
        6
    magic3584  
    OP
       2021-07-22 18:28:57 +08:00
    @Leonard #5
    主要全网都找不到 14.7 的真机包,而且不知道为什么就算用 14.6 的真机包还是崩溃。。。
    magic3584
        7
    magic3584  
    OP
       2021-07-22 18:29:35 +08:00
    @iSteven #4
    大佬跑的啥 iOS 版本?用真机包了吗?
    iSteven
        8
    iSteven  
       2021-07-22 19:26:05 +08:00
    @magic3584

    iOS: 14.7
    macOS: 11.4
    Xcode: 12.5.1
    yov123456
        9
    yov123456  
       2021-07-22 19:47:06 +08:00 via iPhone
    12.4 不能 debug ios14.6+ 需要升级 12.5 12.5 需要更新 big sur
    Building
        10
    Building  
       2021-07-22 21:27:49 +08:00 via iPhone
    @clrss 什么安全更新,明明是为了适配新的充电器。
    SimleCp
        11
    SimleCp  
       2021-07-23 09:16:21 +08:00
    @magic3584 莫得, 可能是你的 mac os 系统版本低了?
    magic3584
        12
    magic3584  
    OP
       2021-07-23 10:32:14 +08:00
    @yov123456 #9

    之前不都是加入真机包就能正常 debug,现在是能跑起来但是无法打断点
    yov123456
        13
    yov123456  
       2021-07-23 12:21:46 +08:00 via iPhone
    @magic3584 没有吧 我 xcode12.4 一直就是不能断点 ios14.6
    magic3584
        14
    magic3584  
    OP
       2021-07-23 13:43:56 +08:00
    @yov123456 #13
    我的意思是之前的 iOS 和 Xcode,好像是用真机包也能断点的,如果没记错的话。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1515 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:56 · PVG 07:56 · LAX 16:56 · JFK 19:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.