Error creating AIR file: MyApp-app.xml error 306: Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv.
The app descriptor file does not have the profile defined for the application you’re creating. In this case the cause is the app descriptor is set to extendedDesktop.
Open the app descriptor file and add the correct profile. For our case,
UPDATE: As mentioned in the comments you may also need to publish your application in native desktop installer. See here: