iOS的崩溃和编译错误

1. Command /bin/sh failed with exit code 127

这是因为mogenerator找不到路径,stackoverflow给出的答案是:

If /usr/local/bin is not in the search path used by Xcode, you can call mogenerator with an absolute (full) path:

/usr/local/bin/mogenerator , 需要配置mogenerator在mac上的完整路径

 

2. libc++abi.dylib: terminate_handler unexpectedly threw an exception

通常是因为Storyboard中有未绑定的连线导致的,检查storyboard控件连线的panel,是否有黄色感叹号

posted @ 2016-04-29 13:48  苏睿海  阅读(184)  评论(0)    收藏  举报