今天有空研究一下如何分析iOS Crash文件。
看了一下网上的方法,有些行不通了。最后拿老大以前写的脚本,可以了。
然后理解了一下脚本,最后稍作修改。整理一下。
脚本(在Mac上面运行):
echo dSYM uuid:
xcrun dwarfdump --uuid $2.app.dSYM/Contents/Resources/DWARF/$2
echo crashlog uu...
分类:
移动开发 时间:
2014-09-30 21:51:40
阅读次数:
260
1.找到状态为出错状态的VM。在数据库里面表现Status为ERROR而非ACTIVE。2.找到出错状态VM的UUID。3.使用MYSQL客户端工具连接到MySQL数据库。4.连接到MYSQL数据库后,执行usenova;使用nova数据库。5.select*frominstanceswhereuuid=’实例的ID‘\G;可以查看到字段vm_state值为err..
分类:
其他好文 时间:
2014-09-24 03:32:46
阅读次数:
223
针对每个 数据库的Item生成唯一标示,UUID.randomUUID()
UUID由以下几部分的组合:
(1)当前日期和时间,UUID的第一个部分与时间有关,如果你在生成一个UUID之后,过几秒又生成一个UUID,则第一个部分不同,其余相同。
(2)时钟序列。
(3)全局唯一的IEEE机器识别号,如果有网卡,从网卡MAC地址获得,没有网卡以其他方式获得。
public static...
分类:
移动开发 时间:
2014-09-23 14:03:24
阅读次数:
202
#include #include #include /** * Create random UUID * * @param buf - buffer to be filled with the uuid string */char *random_uuid( char buf[37] ){ con...
分类:
系统相关 时间:
2014-09-23 02:16:13
阅读次数:
408
/etc/fstab文件分析 前面说新建的分区在系统重启之后就会失效,要想永久生效,需要将其写入/etc/fstab文件 一、/etc/fstab文件格式:6个组成部分 物理分区名/卷标 挂载点 文件系统 缺省设置 是否检测 检测顺序UUID=6e428a... / ext4 defaults 1 1LABEL=/ / ...
分类:
其他好文 时间:
2014-09-22 20:33:53
阅读次数:
172
ServiceDiscoveryServerServiceClassID_UUID = '{00001000-0000-1000-8000-00805F9B34FB}' BrowseGroupDescriptorServiceClassID_UUID = '{00001001-0000-1000-8...
分类:
移动开发 时间:
2014-09-22 12:31:12
阅读次数:
214
package util;import java.util.UUID;public class UUIDUtil { public static UUID getId(){ return UUID.randomUUID().toString(); } public s...
分类:
其他好文 时间:
2014-09-21 00:14:49
阅读次数:
171
Identifying a Characteristic@property(readonly, nonatomic) CBUUID *UUID@property(weak, readonly, nonatomic) CBService *serviceAccessing Characteristic...
分类:
其他好文 时间:
2014-09-20 20:23:59
阅读次数:
176
在Xcode中当你在更新了你得证书而再重新编译你的程序,真机调试会出现“Your build settings specify a provisioning profile with the UUID‘XXX’, however, no such provisioning profile was found. Xcode can resolve this issue by downloading...
分类:
其他好文 时间:
2014-09-20 19:20:19
阅读次数:
226
PostgreSQL内置uuid类型,性能不错,但是PostgreSQL默认没有安装uuid相关操作函数,需要手动导入。 导入uuid相关函数。 psql -d dbname -U dbuser -f D:/develop/database/PostgreSQL/9.3/share/contrib/uuid-os...
分类:
数据库 时间:
2014-09-19 02:23:35
阅读次数:
329