How to automatically deploy `.dmg` files to Apple Store via Azure Devops - ios

In order to deploy iOS apps (apps for iPhone or iPad) to the Apple App store, I use the Apple App Store task.
This works, but this task only support deploying .ipa files (for iOS).
I also have a MacOS desktop application (a .dmg file). How can this automatically be deployed from an Azure DevOps pipeline? The Apple App store task (that supports .ipa) does not seem to support .dmg, and I cannot find any documentation on it either.
Any help is appreciated.

Yes, the Apple App Store only support IPA file: Binary Path (File path, Required) - Path to the IPA file you want to publish to the specified track. A glob pattern can be used but it must resolve to exactly one IPA file. Currently, there is no option to achieve this.
A dmg file extension is used for default disk image format in Mac OS X (macOS) that replaced the older IMG format. It is used much like ISO images on Windows platform.
Files with dmg file extension can also be found as binary dumps created by Oracle programs. Should not be confused with the common Mac OS X (macOS) disk image that also shares the DMG extension.
An ipa file extension is generally used for application packages downloaded from Apple iTunes app store. The IPA is a container format that contains app installations.

Related

Finding application icons within an iTunes iOS backup

Is it possible to extract an iOS application's icon from its files within a locally stored iTunes iOS backup? I've searched the backup manifest and app related files and can find the list of installed apps, but no icons. Currently I am using the domain name as an input to the Apple iTunes search API.
e.g.:
for "com.facebook.Messenger"
https://itunes.apple.com/search?term=Messenger&entity=software
Ideal would be to extract from the backup files directly.
I remember at the time of 16 years, the time can also access to the application of through itunes. The ipa file and then through the ipa file modification extension into the. Zip file, directly open the can get the current English local resources, and then from the Payload folder to find the app file, right-click the display file content, can be read into the application of more local resources, basic inside it will include the app icon resources and Assets inside pictures, and so on
Unfortunately, I also forgot that the specific time was 17 years ago. This function was cancelled by an update of Itunes. However, we can still get the.ipa file package of the App with the help of three party tools in MAC, such as PP assistant and iToos. Then the relevant local resources of the application can be obtained through the method I just described
l hope help you

How to transfer a file created in an ios app to the mac

i'm starting the implementation of a feature for transfer some files (lets say csv files) created in an ios app to the mac.
But i've made some reading about the subject without anything conclusive.
So, can anyone point me a direction to follow in order to achieve my goal ? I need, somehow to access the files created on my app throw the mac
ITunes file sharing.
iCloud.
Network transfer. (This third party library works with iOS and OSX)

Retrieve files from iOS app Documents folder via command line

For the project I work on, we have to set up performance metrics. The way we do it is that the simulator writes CSV files to a known location. We then retrieve theses files and make graphs out of it. Piece of cake.
We also have these tests running on the device. In that case, the files are created in the Documents directory.
While I can retrieve these files via the organizer, I'd be much more interested in automating that.
How can I retrieve files from an iPhone app via the command line rather than the organizer?
You can actually access the content of your app from your computer, using https://github.com/phonegap/ios-deploy (originally https://github.com/ghughes/fruitstrap) .
It's as simple as :
./ios-deploy --download=/Documents --bundle_id com.mycompany.myapp -2 dest_dir
You can do much more, like listing the content of the app, debug using lldb etc.
You can use iFuse, as part of libimobiledevice
You can not access the documents folder on your iOS device from your computer without itunes.
I run an webserver within my app so i can download the files via http. For zero configuration setup i use Apples Bonjour.
look here:
https://github.com/robbiehanson/CocoaHTTPServer
https://developer.apple.com/bonjour/

Does BlackBerry support demo/beta releases for its app developers?

I am interested in developing an app for BlackBerry devices, and was wondering if they support the concept of demo or beta releases for their app developers? By this, I mean the ability to deploy a beta or demo version of my app to a limited/restricted audience, such as business partners, customers, external beta testers, etc. Nothing in their Testing and Deployment documentation indicates either way. Thanks in advance!
There isn't a built in beta process in App World for BlackBerry 10, but you can share the debug version of your app with your beta participants. When you create a debug token, you specify which PINs you want it to be valid for. The debug token will only install on a device with one of those PINs, and your app will only install on a device with your debug token on it. The token will only be valid for 30 days. You would have to deploy it with the command line tools and not App World.
This link on the BlackBerry Developer blog explains how to do it: http://devblog.blackberry.com/2012/04/debug-token/
It's for PlayBook, but the same process applies for BlackBerry 10 as well.
I actually don't know if RIM themselves have anything formal, but since I've always released BlackBerry apps on more than just the official App World store, I've used a beta testing system that is independent of RIM. Luckily, the legacy BlackBerry Java platform gives you the freedom to do this, free of charge. (Note that this answer is not about the upcoming BB10 platform!)
Over-the-Air (OTA) Installation
You can have your beta testers install your beta versions, Over-The-Air (OTA). Unlike iOS, for example, you aren't limited to a certain number of test devices, and you don't have to tell RIM what the unique identifiers of all the test devices are.
So, what I do is just put beta versions of my apps on a webserver, and send links to beta testers that allows them to download them. So, you are in control of who gets access. If you need security to limit the beta version to nobody except the official beta testers, then you are certainly free to add password protected logins to your webserver. That works the same way it would for any other secure web content.
If you do this (OTA), here are a few references:
http://www.blackberryinsight.com/2008/07/08/howto-setup-an-apache-webserver-to-deliver-blackberry-ota-applications/
Blackberry over the air installation
https://stackoverflow.com/a/10307074/119114
There are a couple steps to be aware of:
You normally just upload a .cod file to BlackBerry App World. If you want to deploy an app to your own webserver, you also need the .jad file. A JAD file is basically just a descriptor of the app, that can redirect a BlackBerry browser to the .cod file for installation. Your build process is already probably generating the .jad file for you, in the same output directory where it generates your .cod files.
You may need to configure your webserver to properly setup MIME types for files with a .jad extension. If you use Apache, then this is what you would put in your httpd.conf file:
AddType text/vnd.sun.j2me.app-descriptor jad
you may also need to add a MIME type definition for the .cod type, too
AddType application/vnd.rim.cod .cod
If you don't have access to the web server's httpd.conf file, but can place the JAD and COD in your own user directory, then you can configure the MIME types in a local .htaccess file.
Depending on your web server configuration, there may be a couple more steps necessary. Check the OTA links I provided above.
Desktop Installation
Another option is to simply email your beta versions to beta testers, and have them install on their devices using BlackBerry Desktop Software. I don't do this, but it is another way to accomplish the same thing. For this, you use the .cod file, and also the .alx file, which is also generated by the normal BlackBerry build process.
Note that some of the project properties that get put into the .alx or .jad files are things that you don't need to worry about if you only deploy the .cod file directly to BlackBerry App World. If you use one of the options (ALX for Desktop installation, or JAD for OTA), then I would recommend opening up the .alx or .jad file and just inspecting the values for correctness. They're normal text files, and most of the values should be self-explanatory. I believe all settings can be configured from inside your IDE. If you use the BlackBerry Eclipse plugin, right click on your project, select Properties and look around there.
Here are the official RIM docs on all your installation options
its not possible. When you publish your app in app world, it will be available to all users. So you cant set any special conditions like- available only to some people. Else make it in un published mode. Then only users with sandbox id can access your app.
Check the below link for BB 10 Cascades beta 3 release(Preferrable way of development in BB 10)
https://developer.blackberry.com/cascades/
For BB 10,they are plenty of ways for developing the applications ,check the below link
https://developer.blackberry.com/platforms/

What format should my Blackberry application be in to submit to App World?

I already have an installation using .alx/.cod files that we use to install our Blackberry application via Desktop Manager, and also an "over the air" install version consisting of a .jad file and .cod files (uncompressed and no larger that 64K as specified by the mime type) that is downloaded from our website.
What format should I upload the application to App World as?
I gather all the files should be in a zip file but apart from that I'm struggling to find much more information on the RIM website
RIM has a document with the exact requirements for a submission bundle for an app for BlackBerry AppWorld:
"Contents of a .zip file for a release"
Look at section 5 b in the App World FAQ.
It mentions among many other things, COD files. The plural is because, you need to submit a COD file for each OS version you are planning to support.

Resources