I'm currently using the BB Plugin for Eclipse and am trying to generate a package without any .debug files and only one .cod and one .jad file to send to a client.
I'm a bit stuck on how to do this, I can't find a 'release build' setting and am having trouble finding any documentation on how to accomplish this or if I'm even on the right track.
Right click over your project, select "BlackBerry -> Package Project(s)"
In case it doesn't sign automatically, right click again, "BlackBerry -> Sign with signature tool"
Look for the generated "deliverables" folder in your project package explorer, then select the files for OTA deployment (inside "Web" folder). There you'll find one or more sibling cods and the correct jad descriptor.
profit
For OTA installation:
1. unzip your COD file.
2. now you got number of cod files like xyz.COD, xyz-1.COD, xyz-2.COD ... etc.
3. open your .jad file and verify listed .COD fils are mentioned in .jad file or not
4. upload all .COD files and .jad file in same location on web
5. open the .jad location on mobile device
Note: If your .jad file having incorrect .COD listed or still getting error then first delete your .jad file and .COD file and clean your project and then rebuild your project then follow above steps.
First of all sign the application, after signing it upload the project on to your server and after uploading it take the .jad file and make a link of the path of the project where it is uploaded and then give that to the client and then he can download the application from there and can install it.
When we sign Blackberry Application successfully we can able to install that app in device and also able to upload to our Server or Blackberry App world. we have just need .cod & .jar file to upload in BB app world as well as in device . you r going on the right way .. Go ahead .
Related
There is no any document for working with iXGuard.
How to download?
How to install?
How to working with it?
I have searched in website but not find any guid.
https://www.guardsquare.com/en/blog/ixguard-30-released
You need to request your quotation first before start using iXGuard, after you enroll they will give you access to guardsquare dashboard, And you can download iXGuard package (Documentation include on package)
Here is a small post be me - Getting Started with iXGuard — an obfuscation & app shrinking tool.
In this Tutorial, you’ll learn how to implement iXGuard in iOS project and how to strip down your app size by making use of iXGuard — an app shrinking and obfuscation tool. This is a step by step process tutorial for installing iXGuard. Let me know of any issues. I have briefly explained the process below.
It is not possible to write or explain the whole tutorial with images in the stackoveflow answer so a link is provided.
Installing iXGuard
Install iXGuard for your version of Xcode using the standard procedure of installing a package file.
Create an IPA using Xcode
1) Create a file for distribution with Product -> Archive in Xcode
2) Select the archive created in Organizer and select Distribute App.
3) Select iOS App Store then Next
4) Select Export and click Next.
5) Include bitcode for iOS content and Upload your app’s symbols to receive symbolicated reports from Apple After checking the items click Next
6) After setting the certificate related settings, export and save
Create ixguard.yml
a. The file may be different for each app. For details, please refer to the Configuration page of iXGuard.
b. From the folder where the exported ipa file is located to the terminal
ixguard.yml -o [Obfuscated IPA file name] [Generated IPA file name]
When you input the command, ixguard.yml default file is created.
Sample — ixguard.yml (This may vary from Project to Project
Apply iXGuard From the folder where the exported ipa file is located to the terminal ixguard. Please enter the following command in the terminal. config ixguard.yml -o [After obfuscation IPA] [File name] [Generated IPA file name] to apply iXGuard.
If there are no error’s in the operation, an obfuscated ipa file is created.
In the case of [warning] of the log in the terminal, the solution for each case is the same as that of the iXGuard manual
On the Troubleshooting -> Runtime Issues page. — Note: Appearance
Note: Result screen
Test your app
Test the function of the app by using methods such as TestFlight on the actual device.
In particular, tokens, authentication keys, etc. are required for logic-oriented testing.
Obfuscation verification
This part has been verified using the MachOView tool.
1) Perform step 2 to create an ipa file. Include bitcode for iOS content check - Release and create two obsolete ipa and two ipa files that are not obfuscated.
2) Change the extension of the corresponding ipa file to zip and unzip it.
3) There is a Payload folder in the unpacked folder, and check the application file with the app name in it.
4) Right-click on the application and select View Package.
5) Copy the executable file with the name of the app in the package and extract it to an arbitrary directory.
6) Open the executable extracted before obfuscation and executable extracted after obfuscation with MachOView app,
Check the name of the debris and confirm that obfuscation is applied.
Image for reference in tutorial. (Above: prior to obfuscation, below: after obfuscation)
Finally , deploy the app in the App Store –
Xcode -> Open Developer Tool -> Application Loader.
Application Loader is not available now. You can use Transporter app which is available in Mac app store.
Code obfuscation Process is there in Android Using DexGuard like that they are newly introduce iXGuard. Can any one know how to implement iXGuard in iOS project.
To protect an application with iXGuard you'll need to run ixguard-install from the terminal in the root of your Xcode project. It will update the project file and add a new iXGuard build phase, which calls the iXGuard binary as part of building your app. You'll also need to create a ixguard.yml configuration file to enable the different features.
For more information you can check the manual which is located (after installation) in /Library/iXGuard/documentation/
(I'm one of the developers of iXGuard)
Here is a small post be me - Getting Started with iXGuard — an obfuscation & app shrinking tool.
In this Tutorial, you’ll learn how to implement iXGuard in iOS project and how to strip down your app size by making use of iXGuard — an app shrinking and obfuscation tool.
This is a step by step process tutorial for installing iXGuard. Let me know of any issues. I have briefly explained the process below.
It is not possible to write or explain the whole tutorial with images in the stackoveflow answer so a link is provided.
Installing iXGuard
Install iXGuard for your version of Xcode using the standard procedure of installing a package file.
Create an IPA (based on Xcode 10.1)
Create a file for distribution with Product -> Archive in Xcode
2) Select the archive created in Organizer and select Distribute App.
3) Select iOS App Store then Next
4) Select Export and click Next.
5) Include bitcode for iOS content and Upload your app’s symbols to receive symbolicated reports from Apple After checking the items click Next
6) After setting the certificate related settings, export and save
Create ixguard.yml
a. The file may be different for each app. For details, please refer to the Configuration page of iXGuard.
b. From the folder where the exported ipa file is located to the terminal
ixguard.yml -o [Obfuscated IPA file name] [Generated IPA file name]
When you input the command, ixguard.yml default file is created.
Sample — ixguard.yml (This may vary from Project to Project
Apply iXGuard
From the folder where the exported ipa file is located to the terminal ixguard. Please enter the following command in the terminal.
config ixguard.yml -o [After obfuscation IPA] [File name] [Generated IPA file name] to apply iXGuard.
If there are no error’s in the operation, an obfuscated ipa file is created.
In the case of [warning] of the log in the terminal, the solution for each case is the same as that of the iXGuard manual
On the Troubleshooting -> Runtime Issues page. — Note: Appearance
Note: Result screen
Test your app
Test the function of the app by using methods such as TestFlight on the actual device.
In particular, tokens, authentication keys, etc. are required for logic-oriented testing.
Obfuscation verification
This part has been verified using the MachOView tool.
1) Perform step 2 to create an ipa file. Include bitcode for iOS content check
- Release and create two obsolete ipa and two ipa files that are not obfuscated.
2) Change the extension of the corresponding ipa file to zip and unzip it.
3) There is a Payload folder in the unpacked folder, and check the application file with the app name in it.
4) Right-click on the application and select View Package.
5) Copy the executable file with the name of the app in the package and extract it to an arbitrary directory.
6) Open the executable extracted before obfuscation and executable extracted after obfuscation with MachOView app,
Check the name of the debris and confirm that obfuscation is applied.
Image for reference in tutorial. (Above: prior to obfuscation, below: after obfuscation)
Finally , deploy the app in the App Store –
Xcode -> Open Developer Tool -> Application Loader.
i am Android developer, i just started to learn about Blackberry Application Development. i want to ask you something about Application and Signing keys.
I have downloaded 3 signed keys (*.csi) files. and i have installed it and added in first demo application to run app on real device. it is working and running fine in real device.
now i have created second demo application, it is also working well in simulator. but when i am trying to launch it in real device. it is loaded/installed successfully but when i am tapping on icon or trying to open application. it is not opening/running on device.
in second project, i tried by right click on project > Blackberry > Sign With Signature Tool. but it is signing only two files while in my first demo application it is signing 3 files.
also it is not generating .csl file in second application.
Please help me.. Thanks in Advance..
Ajay, will you describe your exect problem actually no of signing the file depends how many .cod file are there in your build ( You can check it by rename your .cod file and change its extension by zip and then extract it)
for more detail regarding the BlackBerry app signing process you can follow these steps.
http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Applications-and-code-signing-Start-to-Finish/ta-p/445848
There are cod files which require signing and some others are optional. Once all the signatures are correctly added, then the *.cod and *.jad can be copied.
Now *.cod can be extracted by renaming the same to *.zip. By extracting the zip file along with the *.jad the same can be used to download to blackberry devices. If this is directly uploaded to blackberry device through USB, then *.cod, *.jad and *.alx can be copied and used , no need to extract the *.cod
We submit a .zip file on Blackberry app world for publishing. But they return it because they said that there is an error: Error starting MyApp: Module 'MyApp' attempts to access a secure API. I searched about this error and it all said that this error will appear if my app is not sign. But we are sure that is is signed because we sign it before building and submitting it to the Testers. What could be wrong? Another thing we use the .jad to install it on the devices, and if we open the .jad we could see all the signing there. Is it possible that the signing just happens on the .jad and not on the .cod files?
It turns out that having large sizes of .cod or the last .cod having 64kb and up in size causes the problem. I found some posts on Blackberry developers forum saying that when you have .cod like this, when you install the app via OTA and you use mobile network, some network truncates the .cod thus removing the signature. The solution for this problem is to add an image(approximately 10kb) on res and rebuild the application so that the an extra cod could be created and the sizes of other cods would be lessen. My cods that I submitted having this problem has 86kb and the last cod is 63kb, I added a 10kb image and rebuild the application. New cod was added and the sizes of other cods lessen. The size of my maximum cod is just 74kb, and the newly created cod is 25kb. This is the set of cods which was published successfully on app world.
References:
First link
Second link
Third link
I have a jad file for a BB app which I want to run on the simulator. When I do a "Load Java Program" it looks for a cod file.
How can I run a JAD file on a BB simulator?
Open the BlackBerry browser, enter the web link to the JAD file in there and your application will be installed on your BlackBerry simulator.
A JAD file is an information file that goes with the COD file that has the software. You should be able to get the COD file from the same place you got the JAD.
I have a jad file for a BB app which I want to run on the simulator. When I do a "Load Java Program" it looks for a cod file.
For anyone using PhoneGap Build who finds they are presented with a .jad file only, but no .cod files, you need to...
look at this file in notepad as it will list the names of all the .cod files you need (maybe 40 to 50 of them)
notice the .jad file was located at http://s3.amazonaws.com/blackberry.phonegap/slicehost-production/apps/123456/YourAppName.jad so change the last bit of your own URL to .cod (or -1.cod and so on) to download the 40+ other files to the same folder
in the simulator, select File > Load and then multi-select all the .cod files together
wait patiently and your app will appear at the bottom of the simulated screen's menu