Sign blackberry application with phonegap ant tool - blackberry

I want to sign my blackberry application with ant tool of phonegap, so I can try it on my device.
I made the 2 signature file (sigtool.csk & sigtool.d , right !?) from the 3 .csi, and put them in the build.xml folder.
But when I launch 'ant load-device', I've got an error because ant can't find signing key ...
[exec] [ERROR] Cannot sign application - failed to find
signing keys
Where should I put them ?

On Succesful installation of 3 .cis files, which you have received from RIM. You should have 3 more files on the isntallable directory.
sigtool.csk
sigtool.db
sigtool.set
All three required for Blackberry code signing, verify and locate their presence in signing key installable folder.

Related

"No valid iOS code signing keys found in keychain"

I want to test an iOS application using Xamarin Test Recorder using iOS simulator. To do that I want to publish the project. When trying to publish it for archive, I got this error:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from https://developer.apple.com. (MobileApp1.iOS)
Do we need a certificate to publish the project?
When I drag and drop the .app to simulator it doesn't get installed. When I tried to install debug version it gives below error. Failed to chmod /Users/../Library/Developer/CoreSimulator/Devices/8A0508B3-0‌​2E8-4601-A239-B6712F‌​67FF4D/data/Library/‌​Caches/com.apple.con‌​tainermanagerd/Bundl‌​e/Application/1B8A7B‌​17-D9D0-44A6-8584-65‌​7FF1AB5815/MobileApp‌​1.app/MobileApp1 : No such file or directory" Release app also not get installed(No error or warning). Note that this is a xamarin project.What shall I do now?
First of all you do not need to sign/publish your app to use it with Test Recorder.
You can start recording tests from .app located on bin/iPhoneSimulator/Debug/ folder.
The “No valid iOS code signing keys found in keychain” happens when there are no provisioning profiles on your machine. The easiest fix is to create a new app from XCode and deploy it on the device, XCode will automatically downloads the required profiles and certificates

Jenkins generated ipa couldnt install on iPhone (iOS 9 + XCode 7.1)

I am trying to implement Jenkins CI to generate build for iOS. I have latest Xcode 7.1 installed and ipa is getting generated without error. While trying to install the ipa through download link I am getting an error saying "Cannot install this time". Also I tried to install the same through iTunes, but getting an error saying "1 item could not be synced" and iTunes showing an error saying "The app "xxxxx" was not installed on the iPhone "xxxxxx" because an unknown error occurred (0xE8000005)".
Code signing certificate & provisioning profiles are proper and I am able to install the ipa generated from XCode.
Any help would be appreciated. Thanks :)
I was facing the same issue. Using Jenkins 2.5 and Xcode 7.3.1. Jenkins successfully build iOS app packaged the ipa, but the ipa did not install on the iPhone neither with iTunes nor when downloaded from TestFairy. Getting the same error "The app "xxxxx" was not installed on the iPhone "xxxxxx" because an unknown error occurred (0xE8000005)".
In the Jenkins logs I noticed following:
22:03:10 ### Checking original app
22:03:10 + /usr/bin/codesign --verify -vvvv /Users/jenkins/.jenkins/workspace/app-ios-build-job/build/MyAppProd.app
22:03:10 Program /usr/bin/codesign returned 1 : [/Users/jenkins/.jenkins/workspace/app-ios-build-job/build/MyAppProd.app: a sealed resource is missing or invalid
22:03:10 file added: /Users/jenkins/.jenkins/workspace/app-ios-build-job/build/MyAppProd.app/MyAppProd.app
22:03:10 ]
22:03:10 Codesign check fails : /Users/jenkins/.jenkins/workspace/app-ios-build-job/build/MyAppProd.app: a sealed resource is missing or invalid
22:03:10 file added: /Users/jenkins/.jenkins/workspace/app-ios-build-job/build/MyAppProd.app/MyAppProd.app
22:03:10
22:03:10 Done checking the original app
On further search found the answer posted by bladebunny at https://github.com/Carthage/Carthage/issues/782
Issue turned out to be duplicate package commands on Jenkins that resulted in the app being signed twice -- and then causing install to fail. Solution was to change Jenkins Xcode plugin settings. Under the 'General Build Settings' - we found you can't check both "Generate Archive" and "Pack application and build .ipa?" settings. The plugin issues log seems to suggest the former setting is being deprecated. We use the latter setting and are now able to successfully deploy the app with our custom dynamic framework.
The above fix worked for me.

Publish Apple App Store in Visual Studio Apache Cordova project

I have a Visual Studio Apache Cordova project and successfully published on Android Google Play. However, I have been struggling to find out how to publish it to "Apple App Store".
"remotebuild" to Mac system and successfully running on debugging deivce (iPhone).
But not able to deploy with release mode of "Remote Device" (Build is successful)
Requesting deploy on remote iOS device for buildNumber 2765 on server https://remote-address:3000/cordova...
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
2>Http 404: Installation failed: Check your provisioning profile
2>
2>Failed to deploy iOS remote for build C:\PathToProject\bld\ios\Release\buildInfo.json to https://remote-address:3000/cordova :
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Which I have already downloaded the Provisioning / Certificate for both Development and Distribution and configured to XCode --> Preference --> Accounts --> Apple ID and Signining Identities.
I tried to verify the .ipa file generated by "remotebuild" using command line as below
codesign -v name.ipa
Saying
code object is not signed at all
I also tried to code sign manually (How to manually re-sign an IPA) but still saying that "code object is not signed at all"
"PhoneGap Build" also did not work
My questions are
Is there any way to configure the provisioning and certificate for iOS in Visual Studio Apache Cordova project?
Do I have to convert this Visual Studio Apache Cordova project to PhoneGap Project and load it on XCode and build with code sign?
Please help me to find a way to publish it on Apple App Store.
You follow the same steps you would for any other app you publish to iTunes app store. You need to open the Xcode project file created by Cordova in Xcode. You set the correct provisioning profile in Xcode then perform an archive (note the current target needs to be an actual device, not the simulator).
After the archive is created you will be given the option to validate it. Once it is validated you will be given the option to upload to it iTunes connect. Note you need to setup everything in iTunes Connect before doing this. You need to create your app id, any certificates, etc...

NativeScript CLI fail when running "tns run ios"

I'm practicing with this new programming framework called NativeScript, which allows creating native apps using JS. However, when I started working on the Hello World tutorial, I got this error:
https://gist.github.com/longpham91/d603c8fe7f6c6b06e86f
The error occurred when I tried running command "tns run ios" on Terminal, which basically allowed NativeScript to run HelloWorld app on my phone.
I also looked at the error log, and it seemed that the error might have something to do with my Xcode device settings, as explained here:
Check dependencies Code Sign error: No code signing identities found:
No valid signing identities (i.e. certificate and private key pair)
matching the team ID “(null)” were found. CodeSign error: code signing
is required for product type 'Application' in SDK 'iOS 8.4'
I'm not sure what this means, though.
I was able to figure this out after posting a thread on {N} Google group. Here's how:
Generate the Certificate and Provisioning Profile, following this tutorial: http://seventhsoulmountain.blogspot.no/2013/09/ios-code-sign-in-complete-walkthrough.html
Go into the iOS section of your {N} project (under platforms/ios), and run the .xcodeproject file. You can also make a copy of this folder, to be sure that you don't accidentally change something in the source code.
When the Xcode project is opened, go to Xcode > Preferences > Accounts, and click on View Details.
Add the Provisioning Profile by clicking the + button.
That's all. Took me a while to figure this out since I'm not all that familiar with Xcode, but your project should run on your iOS device now.
Not sure, but I think the PATH variable "android / tools and android / platform-tools /" do not exist. You can use the android command in your shell?

How to build BlackBerry apps to .jad File with code signing key in phonegap?

I build the project with BlackBerry Code signing key,then it can successfully build and i try download it.It give me a zip file name standardinstaller,inside got few file with .cod file.Because i got try build without signing key.It giv me a .jad file but now with a folder that cannot install to my bb smartphone. How come?
Any information provide me to build blackberry .jad file in phonegap build?
For Signing your smartphone application -
signing_your_smartphone_app
This link will Guide you.

Resources