Xcode 的运行参数和环境变量设置

Launch Arguments & Environment Variables -> Xcode 的运行参数和环境变量设置,对 debug 颇有用处html

参数的设置方法和格式如图spa



或者也能够直接在代码中这么设置:.net


第二遍再跑就能够看到相同的效果了debug

参数格式:3d

-NSDoubleLocalizedStrings YES
如图:
 

参考:http://my.oschina.net/are1OfBlog/blog/389391code

https://leafduo.com
htm

http://nshipster.com/launch-arguments-and-environment-variables/
blog

http://www.cocoachina.com/industry/20131012/7148.html
ip