摘要:
在解压.a文件的时候,报错:s a fat file (use libtool(1) or lipo(1) and ar(1) on it),原因是该.a文件包含了多个cpu架构,比如armv7,armv7s等。 解决方法:首先使用如下命令解压出需要的架构(其中somelib.a代表需要解压的.a文 阅读全文
摘要:
真机运行程序,报错(The application does not have a valid signature,如图 环境:Xcode7.3,使用cocoapods管理第三方库 如果确认证书没有问题(可以新建一个单页面程序测试下),检查一下Build Phases中,是否有个Copy Files 阅读全文
摘要:
如何计算两个NSDate之间的时间间隔呢?timeIntervalSinceDate:Returns the interval between the receiver and another given date.- (NSTimeInterval)timeIntervalSinceDate:(N... 阅读全文