An empty identity is not valid when signing a binary for the product type 'Dynamic Library'. (in tar

简介:Xcode 10.2 编译Tweak项目报错

Xcode 10.2 编译Tweak项目报错:
An empty identity is not valid when signing a binary for the product type 'Dynamic Library'. (in target 'tsprite')
屏幕快照 2019-09-05 下午1.49.56.png

解决方案:
来自gradle-xcodePlugin.
在该项目的target的build settings 中添加一个参数, 点击Add User-Defined Setting, 添加CODE_SIGNING_ALLOWED=NO, 重新编译, 问题解决.

屏幕快照 2019-09-05 下午1.56.43.png

添加完成的截图,如下
屏幕快照 2019-09-05 下午1.58.54.png

推荐阅读

目录