Xcode 4 archive warning to skip copy phase

The solution would be to go to the build settings of your application target (not the help tool target) and set “Strip Debug Symbols During Copy” to “No”. This is the key COPY_PHASE_STRIP. Activating this setting causes binary files which are copied during the build (e.g., in a Copy Bundle Resources or Copy Files build … Read more

WiX: Digitally Sign BootStrapper project

<Target Name=”UsesFrameworkSdk”> <GetFrameworkSdkPath> <Output TaskParameter=”Path” PropertyName=”FrameworkSdkPath” /> </GetFrameworkSdkPath> <PropertyGroup> <Win8SDK>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0@InstallationFolder)</Win8SDK> </PropertyGroup> </Target> <Target Name=”UsesSignTool” DependsOnTargets=”UsesFrameworkSdk”> <PropertyGroup> <SignToolPath Condition=”(‘@(SignToolPath)’==”) and Exists(‘$(FrameworkSdkPath)bin\signtool.exe’)”>$(FrameworkSdkPath)bin\signtool.exe</SignToolPath> <SignToolPath Condition=”(‘@(SignToolPath)’==”) and Exists(‘$(Win8SDK)\bin\x86\signtool.exe’)”>$(Win8SDK)\bin\x86\signtool.exe</SignToolPath> </PropertyGroup> </Target> <Target Name=”SignBundleEngine” DependsOnTargets=”UsesSignTool”> <Exec Command=”&quot;$(SignToolPath)&quot; sign /d &quot;App Setup&quot; /t http://timestamp.digicert.com /a &quot;@(SignBundleEngine)&quot;” /> </Target> <Target Name=”SignBundle” DependsOnTargets=”UsesSignTool”> <Exec Command=”&quot;$(SignToolPath)&quot; sign /d &quot;App Setup&quot; /t http://timestamp.digicert.com /a &quot;@(SignBundle)&quot;” … Read more

Strong Name Validation Failed

Open the command prompt as administrator and enter following commands: reg DELETE “HKLM\Software\Microsoft\StrongName\Verification” /f reg ADD “HKLM\Software\Microsoft\StrongName\Verification\*,*” /f reg DELETE “HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification” /f reg ADD “HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification\*,*” /f

Automate Extended Validation (EV) code signing with SafeNet eToken

Expanding on answers already in this thread, it is possible to provide the token password using the standard signtool program from microsoft. 0. Open SafeNet Client in Advanced View Install paths may vary, but for me the SafeNet client is installed to: C:\Program Files\SafeNet\Authentication\SAC\x64\SACTools.exe Click the gear icon in the upper right to open “advanced … Read more

codesign gives always no identity found error via terminal

I had some trouble with this as well. Double-check that your code-signing identity is in your keychain, and you might consider using the SHA-1 fingerprint instead of the name after the -s. You can find the SHA-1 fingerprint by opening up Keychain Access and selecting your Developer ID Application: FOO certificate, and then choosing Get … Read more

How to sign a .NET Assembly DLL file with a Strong Name? [duplicate]

If the original assembly is marked for delayed signing, then you can use the sn.exe tool. If the original assembly is not so marked, then you can disassemble it with ildasm.exe, then re-asssemble it with ilasm.exe and specify the /key argument. References: [1] [2]. Example: > ildasm /all /out=MYASSEMBLY.il MYASSEMBLY.dll > ilasm /dll /key=key.snk MYASSEMBLY.il