从互联网上用于签署BB应用程序的内容来看,我猜我们只需要.cod文件来签署应用程序而不需要源代码.
有人可以确认一下吗?
我有一个全新的代码签名证书,并且一直想知道我应该签署哪些文件。
显然,安装 .msi 包和所有运行提升的 .exe 都应该签名以避免“未知发布者”警告,但我是否应该签署其他可执行文件,例如不需要提升、.dll 或 .oxc 的 .exe?
微软自己似乎对此处理不一致:
我有一个codesign无法完全验证的应用程序,因为它“不满足其指定的要求”。第一次检查返回“在磁盘上有效”,所以没关系。
codesign -dvvvv -r- PATH_TO_APP 告诉我要求,它是:
Identifier=com.foobar.BarBuz-Helper
[...]
designated => anchor apple generic and identifier "com.foobar” and
(certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or
certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and
certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and
certificate leaf[subject.OU] = XXXXXXXXXX)
Run Code Online (Sandbox Code Playgroud)
看起来正确。除了应用程序的标识符实际上不是“com.foobar”而是“com.foobar.BarBuz-Helper”,在我看来这就是它不满足其要求的原因。
Xcode 使用错误的标识符对应用程序进行签名。这是运行的 Xcode 命令:
CodeSign /Users/matthias/[…]-Helper
setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Using code signing identity "Developer ID Application: Matthias Bauch"
/usr/bin/codesign --force --sign 0123456789 --requirements =designated\ =>\ anchor\ apple\ generic\ \ and\ identifier\ \"com.foobar\"\ and\ ((cert\ leaf[field.1.2.840.113635.100.6.1.9]\ exists)\ or\ (\ …Run Code Online (Sandbox Code Playgroud) 在配置我不了解的推送通知时遇到很多问题,我在这篇文章中对此进行了解释。我想我已经做了所有要做的事情:创建APNS证书,在App ID中启用Push服务,以及在启用Push Notifications的情况下创建关联的配置文件。在我的会员中心,一切似乎都还不错。但这在Xcode中不起作用,Xcode在任何地方都没有向我显示任何aps权利...可能是因为在“构建设置”>“代码签名”>“代码签名权利”中我什么都没有吗?我应该放在那儿?
提前致谢
xcode code-signing entitlements apple-push-notifications ios
如果 DLL 已经签名而无需重新编译,我是否可以使用新证书(使用 Microsoft 的 SignTool)安全地签名 DLL 文件?
在我这样做之后,一切看起来都很洁净,但我想 100% 确定。
我已经用xcodebuild实用程序生成了一个未签名的IPA文件,现在我的客户想要对其进行签名。是否可以使用开发人员帐户生成的现有配置文件进行签名?另一个问题,是否可以使用与xcode相关的命令行来执行此操作?
我正在使用 Visual Studio 2017。我不是开发人员。我只是想写一个简单的解析脚本,我熟悉visual studio。我使用 Atmel Studio(基于 VS)编写嵌入式代码,但我不必处理签名。我在我的工作计算机上安装了 Visual Studio,现在每次创建新版本时都会出现 bit9 错误。
内部 IT 向我指出了一堆稍微过时的证书内容。我现在有一个证书可以应用于我的构建,但是这里定义的过程显然不适用于 Win32 应用程序。我在项目属性中没有签名选项卡。
我还使用 signtool 查看了 Visual Studio 命令行。但是,我需要花费大量时间来了解它的工作原理并实施它。
希望其他人已经解决了这个问题,我可以节省时间。如果没有简单的解决方案,我将返回手动解析,因为这已经占用了我的大部分时间。
是否可以将使用开发证书签名的.ipa文件重命名为企业证书?
背景:我的客户需要.ipa文件。他拥有不会与我们共享的企业证书。我的想法是,我用自己的开发证书交付.ipa文件,然后将其交付给他。他使用企业证书将其辞职,因此可以将其应用程序部署在内部应用程序商店中。
目前,我已经签名了.ipa文件,并且可以提交文件了,但是我必须确定这是可能的。
我读了这篇文章,但假设有一个配置文件是针对Adhoc或Enterprise分发的。
跑步cordova build ios --device --release让我有:
...
CodeSign /Users/birowsky/Library/Developer/Xcode/DerivedData/???????-eihflkqaiafhhrgatfbnarfxvrlb/Build/Intermediates.noindex/ArchiveIntermediates/???????/InstallationBuildProductsLocation/Applications/???????.app (in target: ???????)
cd /Users/birowsky/Desktop/the-real-frontend/cordova/platforms/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "iPhone Developer: Daniel Popeski (29B4H8BSP5)"
Provisioning Profile: "iOS Team Provisioning Profile: com.gotaguydev"
(b127e78b-f124-4f9a-be66-2411c56b73b6)
/usr/bin/codesign --force --sign 2DEE62DC0A8710012CE44EC751490177B7C2467D --entitlements /Users/birowsky/Library/Developer/Xcode/DerivedData/???????-eihflkqaiafhhrgatfbnarfxvrlb/Build/Intermediates.noindex/ArchiveIntermediates/???????/IntermediateBuildFilesPath/???????.build/Release-iphoneos/???????.build/???????.app.xcent --timestamp=none /Users/birowsky/Library/Developer/Xcode/DerivedData/???????-eihflkqaiafhhrgatfbnarfxvrlb/Build/Intermediates.noindex/ArchiveIntermediates/???????/InstallationBuildProductsLocation/Applications/???????.app
/Users/birowsky/Library/Developer/Xcode/DerivedData/???????-eihflkqaiafhhrgatfbnarfxvrlb/Build/Intermediates.noindex/ArchiveIntermediates/???????/InstallationBuildProductsLocation/Applications/???????.app: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** ARCHIVE FAILED **
The following build commands failed:
CodeSign /Users/birowsky/Library/Developer/Xcode/DerivedData/???????-eihflkqaiafhhrgatfbnarfxvrlb/Build/Intermediates.noindex/ArchiveIntermediates/???????/InstallationBuildProductsLocation/Applications/???????.app
(1 failure)
xcodebuild: Command failed with exit code 65
Run Code Online (Sandbox Code Playgroud)
这是我的build.json:
{
"ios": {
"debug": {
"developmentTeam": "ABCDEFGHIJKL", …Run Code Online (Sandbox Code Playgroud) code-signing ×10
xcode ×5
ios ×3
ipa ×2
blackberry ×1
c++ ×1
cordova ×1
cordova-ios ×1
dll ×1
entitlements ×1
macos ×1
signtool ×1
winapi ×1
windows ×1
xcodebuild ×1