iOS 11上debugserver与LLDB的配置

可以把markdown格式重新编辑一下吗?然后我发个帖广而告之一下 :star_struck:

好的狗神,最近忙着考试。等考完来施工

@LuaSaltFish lldb for iOS 正好没有iOS11的设备,帮我测试一下呗 GitHub - abit-me/lldb.ios: Native lldb 6.0.0 for iOS

期待整理的文章。另外,我测试发现下面的错误,请问是怎么解决的?

==> Compiling main.mm (armv7)…
main.mm:32:5: error: call to unavailable function ‘system’: not available on iOS
system(buf);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/stdlib.h:195:6: note:
candidate function has been explicitly made unavailable
int system(const char *) __DARWIN_ALIAS_C(system);
^
1 error generated.

测试了,报下面的错误。

iPhone:~ root# dpkg -i lldb.deb
dpkg: warning: parsing file ‘/var/lib/dpkg/status’ near line 1588 package ‘test.touchsprite.ios.arm64’:
missing description
dpkg-deb: error: ‘lldb.deb’ is not a debian format archive
dpkg: error processing archive lldb.deb (–install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
lldb.deb

无视这个警告就好了。theos把警告当作错误来抛

:joy:为何我ldid -Sentitlements.plist debugserver了之后显示Killed:9(以拷贝/usr/bin)。
系统IOS11.3.1

2 个赞

權限不足吧?

自带的/Developer/usr/bin/debugserver可以用哇

2 个赞

自带的就可以用为什么大家搞得这么麻烦

我试了自带的不可以。

我是说这个不行

狗神我遇到了一个小问题你能帮忙看一下吗?

我用lldb+debugserver调试iphone5(10.3.3)。但无论是系统应用还是第三方应用,连接lldb后手机就变砖了,界面冻住,只有home键可以用。

遇到过这个问题吗?

变砖之后c一下

楼主,今天想用lldb进行动态调试,按照网上的步骤和教程执行debugserver一直显示killed,到底是啥问题,望告知

系统是ios11.1.2

在网上说是签名工具的问题,可以换了网上的签名工具还是无法启动debugserver

是不是lldb之后,没有执行c命令, 我不执行c命令有这个情况,程序被卡主了

你试试chmod +x debugserver 给予权限再运行