自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 Could not find ‘ffi‘ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) Checked in ‘GEM_PATH=

pod install安装报错Could not find ‘ffi’ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError)Checked in ‘GEM_PATH=/Users/zhaosn/.rvm/gems/ruby-3.0.0:/Users/zhaosn/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0’, execute gem env for more information经分析,

2021-08-24 21:05:03 1814

原创 cocoapods更新本地库

更新本地库pod repo update --verbose查看pod版本号pod --version查看源gem source -l结果*** CURRENT SOURCES ***https://gems.ruby-china.com/安装sudo gem install cocoapods

2021-08-24 20:54:39 1255

原创 Could not find ‘ffi‘ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) ruby-3.0.0/lib/ruby/

Mac终端运行CocoaPod命令时报错:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ ruby/2.6.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'ffi' (>= 1.3.0) among 81 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/Users/

2021-07-02 17:58:29 3202

原创 警告/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rb...

Mac终端执行命令,返回如下警告/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777解决:sudo chmod go-w /usr/local/sbin...

2021-07-02 16:10:51 2072

原创 Linux目录一个点.和两个点..的区别

. 一个点是当前目录… 两个点是上级目录可在终端用ls -l命令来验证,分别查看ls -l .ls -l ..返回上层目录cd ..

2021-06-22 21:28:55 3423

原创 安装Theos

环境:Mac OS Big Sur 版本11.2.11、Mac需先安装Homebrew,参考Homebrew官网 https://brew.sh2、终端命令 安装 ldidbrew install ldid或brew install ldid fakeroot结果如下Warning: ldid 2.1.4 is already installed and up-to-date.To reinstall 2.1.4, run: brew reinstall ldid说明已经安装

2021-06-22 21:23:16 1616

原创 简介Shell、zsh、bash

Shell是Linux和Unix的外壳,类似衣服,负责外界与Linux和Unix内核的交互联系。例如接收终端用户及各种应用程序的命令,把接收的命令翻译成内核能理解的语言,传递给内核,并把内核处理接收的命令的结果返回给外界,即Shell是外界和内核沟通的桥梁或大门。Linux和Unix提供了多种Shell,其中有种bash,当然还有其他好多种。Mac电脑中不但有bash,还有一个zsh,预装的,据说更强大。https://github.com/ohmyzsh/ohmyzsh这个地址是学习zsh快速上手

2021-06-18 18:26:48 283

原创 iOS签名dumpdecrypted.dylib

本文介绍如何给生成的dumpdecrypted.dylib签名。1、Mac终端命令查找可用的签名证书security find-identity -v -p codesigning得到结果security find-identity -v -p codesigning 1) ABCDEFG123456789ABCDEFG "iPhone Developer: Ming XingShi (6RTHHF234)" 2) OPCDEFGHE987654OPCDEFGH "iPhone Distr

2021-06-16 20:53:24 477

原创 Mac切换XCode版本,更改默认XCode 版本

因开发需要,有时需要在Mac上切换XCode版本,或更改默认XCode 版本。我用的XCode版本为Version 12.4对应的手机系统版本为iOS14,而目前用的越狱手机的系统版本为V 12.4.9对应的XCode版本应该为Version10,而iOS14版本生成的dumpdecrypted.dylib不支持低版本的iOS12也就是说 Mac电脑上默认的XCode版本为高版本,现在需要在终端使用命令行在低版本XCode的环境下生成一些文件。那么就需要在Mac上切换XCode默认版本。方法如下:

2021-06-16 20:31:39 2286

原创 查询lldb路径

查询lldb路径,终端输入lldb -P得到结果如下/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python终端输入ls -l /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python得到结果drwxr-xr-x 9 root wheel 288 5 8 12:01 l

2021-05-18 15:39:36 641

原创 restore-symbol编译与使用

1、Mac电脑中新建一个文件夹restoresym2、终端命令行 cd 到restoresym文件夹3、在restoresym文件夹目录下 输入终端命令如下git clone --recursive https://github.com/tobefuturer/restore-symbol.git得到结果Cloning into 'restore-symbol'...remote: Enumerating objects: 85, done.remote: Total 85 (delta 0

2021-05-17 16:18:54 965 1

原创 Mac中切换Python版本,Python2和Python3之间的切换

Mac电脑中默认安装的是Python2.7,而有时会提示DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2

2021-04-28 15:07:56 856

原创 切换XCode版本逆向DYLD_INSERT_LIBRARIES=dumpdecrypted.dylib注入解密时报错dyld: Symbol not found: ___chkstk_darwin

iOS逆向DYLD_INSERT_LIBRARIES=dumpdecrypted.dylib注入解密时报错dyld: Symbol not found: ___chkstk_darwin Referenced from: dumpdecrypted.dylib (which was built for iOS 14.4) Expected in: /usr/lib/libSystem.B.dylib in dumpdecrypted.dylibAbort trap: 6...

2021-04-27 16:28:30 1947

原创 XCode使用libMainThreadChecker.dylib插件时Xcode意外退出

Mac 系统V11.2.1,已安装的XCode 版本12.4,重新下载了一个低版本的XCode V10.3,打开低版本XCode V10.3报错:使用libMainThreadChecker.dylib插件时Xcode意外退出解决方案:点击错误弹窗中的 报告—详情,查看错误详详细信息,可以看到libMainThreadChecker.dylib的路径为PlugIn Path: /Users/USER/Desktop/Xcode.app/Contents/Developer/

2021-04-27 14:29:42 2964 1

原创 iOS签名dyld: warning: could not load inserted library ‘dumpdecrypted.dylib‘ into hardened process

iOS利用dumpdecrypted.dylib注入解密时出现如下警告dyld: warning: could not load inserted library 'dumpdecrypted.dylib' into hardened process because no suitable image found. Did find: dumpdecrypted.dylib: code signature in (dumpdecrypted.dylib) not valid for use in pr

2021-04-26 20:12:25 574

原创 生成dumpdecrypted.dylib时显示警告ld: warning: directory not found for option ...PrivateFrameworks

环境:Mac Version 11.2.1 , XCode Version 12.4问题:生成dumpdecrypted.dylib时显示警告,具体如下:ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/PrivateF

2021-04-25 21:39:10 380

原创 LLDB动态调试

1、连接iPhone手机ssh root@123.123.12.1232、找到启动的进程ps aux3、找到目标进程,根据进程名称进行调试debugserver localhost:1234 -a jinchengmingcheng或 根据进程号进行调试debugserver localhost:1234 -a jinchenghao例如6666此时终端结果debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-123.3.23 for arm64.

2021-04-09 19:34:06 906

原创 git报错LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

git下载第三方SDK时报错:LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443经分析,可能是代理设置有问题。解决方案:在终端分别输入如下命令git config --global --unset http.https://github.com.proxygit config --global --unset https.https://github.com.proxy重新下载,问题解决。...

2021-03-10 21:20:48 1407

原创 git出现error: key does not contain a section: trustexitcode解决方案

git出现error: key does not contain a section: trustexitcode 错误,经分析应该是~/.gitconfig中信息配置有错误。终端命令打开~/.gitconfigvim ~/.gitconfig发现存在两行 trustExitCode = true ,一行在 [mergetool “sourcetree”] 上面,一行在下面,报错说error: key does not contain a section: trustexitcode 那么错误

2021-03-10 21:01:57 12418

原创 iOS 删除默认主页Main.storyboard及跳转到指定自定义主页

iOS 删除默认主页Main.storyboard及指定自定义主页环境:Xcode V12.4 及 MacOS V11.2.1一、删除默认主页Main.storyboard1、删除Main.storyboard文件2、选中项目----General ---- Deployment Info —— 清空Main Interface的Main,此时会自动删除Info.plist中的<key>UIMainStoryboardFile</key> <string>Ma

2021-03-08 21:01:06 920

原创 iOS删除Scene

iOS删除Scene全局搜Scene,发现AppDelegate、SceneDelegate、Info.plist中都有Scene,删除对应代码。具体:1、删除AppDelegate中的UISceneSession lifecycle相关代码#pragma mark - UISceneSession lifecycle- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnect

2021-03-08 17:44:05 400

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除