简体   繁体   English

iOS-通话记录器调整

[英]iOS - call recorder tweak

I'm trying to create a tweak to record iOS phone calls. 我正在尝试进行调整以记录iOS电话。 I've copied the code from this link to create a tweak that can record calls and built the tweak with iOSOpenDev. 我已经从此链接复制了代码以创建可以记录呼叫的调整项,并使用iOSOpenDev构建了该调整项。 There are few problems. 问题很少。 When i disconnect the call, the phone resprings and there is a file with no sound in it (the file is created, but the size of it is only 28kb). 当我断开呼叫时,电话重新弹出,并且其中有一个没有声音的文件(已创建文件,但文件大小仅为28kb)。

PS 1:In that post they said the tweak should be loaded in the mediaserverd daemon. PS 1:在mediaserverd文章中,他们说该调整应加载到mediaserverd守护程序中。 How can i do that? 我怎样才能做到这一点?

PS 2: I just installed the .plist and .dylib file in /Library/MobileSubstrate/Dynamic Libraries/ . PS 2:我刚刚在/Library/MobileSubstrate/Dynamic Libraries/安装了.plist和.dylib文件。

PS 3: I'm using XCode 4.5 and iOSOpenDev to build it. PS 3:我正在使用XCode 4.5和iOSOpenDev进行构建。

I think I've figured it out. 我想我已经知道了。 The tweak should be loaded in mediaserverd daemon. 该调整应加载到mediaserverd守护程序中。 This can be done by editing the .plist of the tweak. 这可以通过编辑调整的.plist来完成。 There should be an Executable filter in the plist: plist中应该有一个Executable过滤器:

Filter = {
  Executables = ("mediaserverd");
};

For more information about CydiaSubstrate (MobileSubstrate) check: 有关CydiaSubstrate(MobileSubstrate)的更多信息,请检查:

iPhoneDevWiki - MobileSubstrate iPhoneDevWiki-MobileSubstrate

CydiaSubstrate Documentation CydiaSubstrate文档

And I think this tweak is only for iPhone 4S and above. 而且我认为此调整仅适用于iPhone 4S及更高版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM