code-signing

Android studio- adding signing configurations to gradle

蓝咒 提交于 2020-04-28 09:44:26
问题 I am very new to the android world and I was trying to just get to run a simple hello world app on my phone. when I tried this I learnt that the APK generated by an android studio is an unsigned one. So to sign this I have gone through the process of creating a Key store and then a private Key, its alias and I was successful in signing the APK and installing on my phone and running it too. Then I went through this link for adding signing configurations to the gradle to automatically sign the

OSX app crashing: code signature invalid

三世轮回 提交于 2020-03-18 07:00:33
问题 I have an OSX app that I distribute outside the AppStore. Therefor I sign it with the according certificate (Developer ID Application Certificate). The app itself is written in Freepascal (Lazarus) and has a dependency lib, written in C++, which I also sign. I also change the path of the lib to be relative to the app by using install_name_tool and prefixing the path with @loader_path. Works like a charm for me locally. The app (as reported to me) works OK on OSX 10.11.6, but crashes on OSX 10

Code Signature Invalid

孤者浪人 提交于 2020-02-21 07:50:23
问题 Recently, I wasn't able to run some of my apps in Xcode. They would build, then quit without showing up. So I tried going into the Debug folder and starting the app manually. I ended up getting an error report from macOS telling me that the exception type was "Code signature invalid". I also ran a test in Xcode and it told me that the code wasn't signed at all, and that it failed with exit code 1. I know that something must be wrong with my code signing in my Xcode projects, but I'm not sure

Xcode 11.2.1 - Command CodeSign failed with a nonzero exit code

↘锁芯ラ 提交于 2020-02-05 04:04:48
问题 I'm working on a SFML app for macOS with the latest Xcode version. I got a "Command CodeSign failed with a nonzero exit code" error when it tries to sign the SFML frameworks. I added these under "Link Binary with Libraries" and "Copy Files" in Target, under Build Phases. Before, I was working with my local frameworks under /Library/Frameworks , and it was working very well. Now I need to create an archive .app . I've tried a lot of things seen on other posts here (like lock and unlock my

Debug rows missing from Code Signing and Provisioning Profile sections

℡╲_俬逩灬. 提交于 2020-01-25 20:27:12
问题 The problem: With All/Combined selected from the top menu within either the Project or the Target, this is what I see. Debug used to be listed within the Provisioning Profile and Code Signing Identity sections, but it is now missing. I can build a run on the simulator like this but when trying to deploy to a tethered testing device I get errors about provisioning profile and code signing being required. This is not a duplicate of 'Provisioning profile' options missing from 'Code signing'

Debug rows missing from Code Signing and Provisioning Profile sections

≡放荡痞女 提交于 2020-01-25 20:26:08
问题 The problem: With All/Combined selected from the top menu within either the Project or the Target, this is what I see. Debug used to be listed within the Provisioning Profile and Code Signing Identity sections, but it is now missing. I can build a run on the simulator like this but when trying to deploy to a tethered testing device I get errors about provisioning profile and code signing being required. This is not a duplicate of 'Provisioning profile' options missing from 'Code signing'

macOS: Homebrew dylib formula all hit code-sign errors

此生再无相见时 提交于 2020-01-25 08:45:07
问题 On macOS, I used to work with dynamic libraries installed via Homebrew with issues. But with my latest setup: Mojave 10.14.6 Xcode 11.2.1 I start getting code sign problems with the libs that used to work, such as protobuf. Below is the console output when running a successfully built project: dyld: Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.22.dylib Referenced from: /path/to/myproj/_build/Debug/mam-host Reason: no suitable image found. Did find: /usr/local/opt/protobuf/lib

Android flavors signing not working as expected

巧了我就是萌 提交于 2020-01-25 08:02:19
问题 I need to sign a product flavor with an specific signing configuration. I found some reference here at stackoverflow like this and this. It is working for my release version of flavor, but not the debug one. I have this configuration in gradle: ... signingConfigs { release { storeFile file("../config/keystores/release_keystore") storePassword "mysecurepassword" keyAlias "myultrasecurealias" keyPassword "myreallysecurekeypassword" } debug { storeFile file("../config/keystores/debug.keystore")

How to preserve alias property while signing app?

我的梦境 提交于 2020-01-24 11:25:35
问题 I have created on JavaFX application app at Mavericks and signing with Xcode 5.0.2 using - codesign --deep -s "my name" MayApp.app codesign -v MayApp.app && echo MayApp.app is Signed Successfully! WITHOUT SIGN MYAPP LAUNCHING FINE!! Without using --deep , I am not able to sign app at Mavericks. -- More Try -- Now at Mavericks, we can no longer sign a bundle if any nested bundle in that package is unsigned. I did sign the framework of my app by following the instruction written at - http:/

How to generate a PKCS12 (.p12) from a .SPC (code signing certificate) and .PKCS12 (private key)?

≡放荡痞女 提交于 2020-01-23 18:38:42
问题 I have a code-signing certificate (SPC) file from GoDaddy. The file was generated from an existing private key: -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAvcG2SEalg9pvkTvtMI8cZg07tVA0RuK7LeGlFdk1smXgqrsH .... snipped .... MURwR0FXgNAuFNQ0yBNFNW2+o9uBceLuCSUalgi4pQw1uBmP5QkUYA== -----END RSA PRIVATE KEY----- I generated a certificate signing request and sent this to GoDaddy: -----BEGIN CERTIFICATE REQUEST----- MIICiDCCAXACAQAwQzFBMD8GCSqGSIb3DQEJARYyYXBwbGVAdGVrNC1uZXdtZWRp .... snipped .