Sign app in xcode with ios5 - iphone

I face a problem while I sign the app with ios sdk5, this problem I have never faced before ...
error message as follows:
iPhone Distribution: iApp: ambiguous (matches "iPhone Distribution: AppDever"
in /Library/Keychains/System.keychain and "iPhone Distribution: AppDever" in
/Users/icoco/Library/Keychains/login.keychain)
Command /usr/bin/codesign failed with exit code 1
I often import the certificate file into 'login' and 'system' , but now it seem report error ...
anyone can give help ? thanks

Sounds like you imported the certificate into the system keychain and your user one. I'd try removing it from one of them.

Related

Swift stdlib tool error when building to iPhone X - Xcode 9.1

When I am trying to build to my iPhone, I am getting a "Swift stdlib tool Error, Task failed with exit 1 signal 0" When I double click on it, it takes me to the following in the Activity Log:
/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib: code object is not signed at all
Codesigning /Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib
/usr/bin/codesign '--force' '--sign' '9CAA1DDB653D3C2804161CCBEFFD314ADA9DCD76' '--verbose' '/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib'
/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib: unknown error -1=ffffffffffffffff
error: Task failed with exit 1 signal 0 {
/usr/bin/codesign '--force' '--sign' '9CAA1DDB653D3C2804161CCBEFFD314ADA9DCD76' '--verbose' '/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib'
}
When I searched on here, I found this question: Swift stdlib tool Error
I downloaded my profiles, and for iOS Development Certificates I have "Tommy's iMac" and "Untitled", both dated 11/8/17. The Untitled one has a red X and says "Missing Private Key", but the only option in there is to add another certificate, so not sure if that is why I'm having a problem or not; nor what to do about that error.
I had the same issue. For some reason, recreation development certificate and provision profile from the scratch resolved the issue. Thanks.

Gettng Error WLClient onInvokeProcedureFailure:userInfo in WLClient.m

We are getting below error while calling a simple HTTP Adaptor through iOS Apple Watch OS1. We have mobilefirst 6.3 with WorklightAPI iOS deployed on server.
[WL_CLIENT] -[WLClient onInvokeProcedureFailure:userInfo:] in WLClient.m
Status: 0
InvocationResult: (null)
InvocationContext: (null)
Error code: 3
Error message: Procedure invocation error.
It runs fine when we run it on development server. Only difference we see is on Test server TLSv1.2 is enabled while on development it is not.
We defined ATS --> Allow Arbitrary Loads = YES in info.plist
but we are still getting an error.
Any Advice ?
As mentioned multiple times, Apple Watch is not supported. And in any case, since this is Watch OS 1 it means you invoke the code from the "parent" iOS app, no? In which case this was answered in your other question: https://stackoverflow.com/questions/34206002/there-is-no-registered-challenge-handler

Corona iPhone Deployment Warning

I have developed a game using corona. Now I get this warning while trying to build for iPhone using new provisioning profile.
warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
failed to extract requirements data: 1
/Users/codemenmini2012-4/Desktop/ArcheryClassiciOS.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 879
- (null)
warning: Unable to extract codesigning entitlements from your application. Please make sure ArcheryClassiciOS is a valid Mach executable that's properly codesigned. (-19050)
/Users/codemenmini2012-4/Desktop/ArcheryClassiciOS.app/ArcheryClassiciOS: invalid signature (code or signature have been modified)- (null)
Have you tried revoking the Profile and requesting it again with a key from your machine? Apples profiles are annoying me quite often, too....

BlackBerry10 application is not signing properly due to keystore issue

I am creating a sencha application and i want to run it on BB10 device. I have requested for signin Key files from BlackBerry and received two .csj registration files by mail . For signing my application i am using this command :
blackberry-signer –register –csjpin 01234567 –storepass mcube F:\BB10Key-28Feb\client-PBDT-1975809.csj F:\BB10Key-28Feb\client-RDK-1975809.csj
It gives error :
"Error: Keystore load: DerInputStream.getLength(): lengthTag=109, too big."
I don't have any idea about it that how it will be solve .
Welcome to StackOverflow.com
I think you are passing wrong files to the signer.
blackberry-signer -register -csjpin <csj pin>
-storepass <KeystorePassword> <client-RDK-xxxxxx.csj file>
<client-PBDT-xxxxx.csj file>
I see you are passing PBDT key first in place of RDK key.
Your code would be like this (please do not copy paste this command when signing yourself as this is for demo puposes only)
blackberry-signer –register –csjpin 01234567 –storepass mcube F:\BB10Key-28Feb\client-RDK-1975809.csj F:\BB10Key-28Feb\client-PBDT-1975809.csj
You should pass RDK key then PBDT key. Modify your bar signer tool command and run again with correct parameters. For more info visit Set up for signing BlackBerry 10 apps and Signing your BlackBerry 10 application.
If this solves your problem, check this as answer.

System Keychain Has an Entry that can't be deleted

I'm trying to build my app with xcode and it's throwing a code sign error saying:
iPhone Distribution: jetheat: ambiguous (matches "iPhone Distribution: jetheat" in /Library/Keychains/System.keychain and "iPhone Distribution: jetheat" in /Users/Jet/Library/Keychains/login.keychain
Command /usr/bin/codesign failed with exit code 1
So it says that I have two distribution certificates in my keychain, which is true as i can see that in my keychain.
But when I try to delete the certificate within the system keychain, it just wont allow me to do it.
It says:
An error occurred while deleting “iPhone Distribution: jetheat.”
The specified item could not be found in the keychain.
Any ideas what I can do?
Thanks,
JH