Charles 请求 HTTPS 出现 “You may need to configure your browser or application to trust the Charles Root Certificate. See SSL Proxying in the Help menu”
首先确认是否安装了 Charles 的证书,该证书在菜单 Help -> SSL Proxying 下,需要同时安装在 Mac 和 模拟器或者设备上,具体使用方法参见子菜单。其次因为 10.3 以上系统需要你在“证书信任设置”中信任 Charles 的证书。在设备上点击设置 -> 通用 -> 关于本机 -> 证书信任设置 -> 选择 Charles 的证书打开。
通过 Apple Configurator 下载 ipa 包
安装Apple Configurator
打开Apple Configurator,连接 iOS 设备
点击导航栏的添加按钮选择 Apps,然后点选你需要的app,点击添加后,将会开始下载。
下载完成后,先别点击任何选项!打开Finder,然后进入这个路径 ~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/ 就可以看到你刚下载的 ipa 包。这个是临时文件,你关闭 Apple Configurator 或者点选后会自动消失的。
for i in `ls`; domv -f $i `echo$i | sed 's/~iphone//g'`; done
Git 删除 一个 submodule
删除 .gitmodules 文件中关联内容;
执行 git add .gitmodules
删除 .git/config 文件中关联内容;
执行 git rm --cached path_to_submodule(不包含尾部斜线)
执行 rm -rf .git/modules/path_to_submodule
提交 git commit -m "Removed submodule <name>"
删除子模块文件 rm -rf path_to_submodule
Changing remote repository for a git submodule
You should just be able to edit the .gitmodules file to update the URL and then run git submodule sync to reflect that change to the superproject and your working copy.