Development cannot be enabled while your device is locked.

真机调试iOS程序出现了Development cannot be enabled while your device is locked. 解决方法是:打开手机设置->通用->还原->还原位置与隐私; 然后手机会有弹窗提示你是否信任此电脑,点击信任,重启Xcode之后就可以了.

Git Command

1.  基本命令 2. 删除远程分支 3. 在不commit的前提下pull回来 4.  回滚代码到某个commit 5. 强推到远程  

Sublime Install Package Control

import urllib2,os;
pf='Package Control.sublime-package';
ipp=sublime.installed_packages_path();
os.makedirs(ipp)
if not os.path.exists(ipp)
else None;
open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

Archives

Categories

Recent Posts

Recent Comments

Tags