Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pid #6

Open
mikiXuan opened this issue Nov 17, 2015 · 5 comments
Open

pid #6

mikiXuan opened this issue Nov 17, 2015 · 5 comments

Comments

@mikiXuan
Copy link

bogon:LZAlbum wenxuanshin$ pod install
Analyzing dependencies

CocoaPods 0.39.0 is available.
To update use: gem install cocoapods

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies
Installing AVOSCloud (3.1.6.3)
Installing DWTagList (0.0.7)
Installing DateTools (1.7.0)
Installing FXForms (1.2.14)
Installing MBProgressHUD (0.9.1)
Installing SDWebImage (3.7.3)
Generating Pods project
2015-11-17 16:20:47.296 ruby[3568:262936] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-9081/IDEFoundation/Initialization/IDEInitialization.m:590
Details: Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread: <NSThread: 0x7f981cef0840>{number = 1, name = main}
Hints: None
Backtrace:
0 0x000000010d528f86 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:](in DVTFoundation)
1 0x000000010d528713 _DVTAssertionHandler (in DVTFoundation)
2 0x000000010d52897f _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000010d5288e1 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x000000010f2456ad IDEIsInitializedForUserInteraction (in IDEFoundation)
5 0x0000000111a78081 +[PBXProject projectWithFile:errorHandler:readOnly:](in DevToolsCore)
6 0x0000000111a79c06 +[PBXProject projectWithFile:errorHandler:](in DevToolsCore)
7 0x00007fff925f8f44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6
之后进程序就会出现与上一个提问者一样的关联错误

@mikiXuan
Copy link
Author

更新cocoapod就好了。。。

@lzwjava
Copy link
Owner

lzwjava commented Nov 17, 2015

棒。平时可以加个参数 pod instal --verbose --no-repo-update 这样更快一点

@mikiXuan
Copy link
Author

@lzwjava 对了,提个问题 为什么不把点赞的那个框做成动态可变的呢?现在应该是只显示一行的名字,到第二行的就不见了。在之前的一版本是点赞栏可以上下滑动,虽然只有一行但是滑动一下也是可以显示的。我在修改的时候发现那个点赞用的第三方库,他的提前计算高度的那个方法返回的值不正确,所以没法提前计算点赞栏的高度。后来我是直接生成cell,然后直接摆放在界面上,但是这样效率一般,而且不太适合动态滑动添加栏目,所以那一版我做的分页的。请问作者这个问题准备解决么?

@mikiXuan
Copy link
Author

现在是准备回归微信的刷新动态添加栏目了,所以回来取取经

@mikiXuan mikiXuan reopened this Nov 17, 2015
@mikiXuan
Copy link
Author

对了 看你的更新想起来一个问题:LZAlbumReplyView.h 里面的弹键盘bug,我查到的原因是因为在ios9里面UIKeyboardDidShowNotification错误的通知,我解决的办法是加了个bool值isFirstResponder做判断,解决方法简单直接
-(void)keyboardDidShow{
if (isFirstResponder==NO) {

    [self becomeFirstResponderForInputTextField];
    isFirstResponder=YES;
}

}

-(void)resignFirstResponderForTwoTextFields{
if([self.inputTextField isFirstResponder]){
[self.inputTextField resignFirstResponder];
}

if([self.textField isFirstResponder]){
    [self.textField resignFirstResponder];
}


isFirstResponder=NO;

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants