那么可以检查下主工程的Target下,这个DEBUG是不是如下设置了,应该改成DWARF with dSYM File
[......]
[......]
转载自:http://www.jianshu.com/p/0de73d9ead1d
今天要更新APP,因为是新的账号,所以在Xcode无法登陆。
提示信息:Please sign in with an app-specific password. You can create one at appleid.apple.com
最后论坛里面查看了之后,才发现是由于自己账号开启了二重验证,所以才导致在xcode上无法登陆
解决办法如下:
在Apple官网登陆你的账号,在[......]
let address = UITextView(frame: CGRectZero)
address.text = restaurant.address
let sizeThatFits = address.sizeThatFits(CGSize(width: view.frame.width, height: CGFloat(MAXFLOAT)))
mainView.addSubview(address)
address.snp_makeConstraints { (make)[......]
代码如下:
UITextView *testView = [UITextView new];
testView.textContainer.lineFragmentPadding = 0;
testView.textContainerInset = UIEdgeInsetsZero;
[......]