ACDBA25FC97FA851693DEEB23A01AD91B2D00434: no identity found
Command /usr/bin/codesign failed with exit code 1
解决方法1:
profile冲突,查看Xcode下当前使用profile buildsetting -> Provision Profiles -> other Users -> username -> Library -> MobileDevice -> Provisioning Profiles 删除同名.mobileProvision文件 重新运行
解决方法2:检查Apple Worldwide Developer Relations Certification 不推荐
解决方法3:打开钥匙串,选择“钥匙串”—>>>“登录”,“种类”—>>>“密钥”,然后把多余的密钥删掉
解决方法5:windown-Organizer-projects-选中你报错的项目-delete-重新打开。
解决方法6:解决办法,进入开发者账号重建一个profiles文件,把证书添加正确就可以了 (推荐)
解决方法7:profile冲突,查看Xcode下当前用的profile名字,在build setting 里 Provisioning Profiles 点other查看,然后进入目录 Users ▸ username ▸ Library▸ MobileDevice ▸ Provisioning Profiles删除此证书
解决方法8:也有可能是现有orifile过期了
XCODE调试时不显示变量值/指针地址的解决方案
1.Scheme中run里面确保设成debug
2.build settings-搜索optim,确保是-O0
3.build settings-搜索-O2,改成-g。这项最坑爹,好像是默认的设置成-O2的
控制台视图调试:
用xcode启动app,然后点击xcode暂停运行按钮,然后在调试控制台输入下面语句:
po [[UIWindow keyWindow] recursiveDescription]
然后就可以看到完整的UI结构和层级关系