On the Adobe bug tracker https://tracker.adobe.com
You can find this tidbit of info in
AIR-4198407 - ADT to correctly sign dynamic frameworks included packaged with iOS app
To be able to build ANEs using Swift developers must use dynamic frameworks.
These frameworks when included are not signed correctly by adt and a complex bash based workflow is needed to package the final ipa file.
The current workflow workaround is
1) Sign frameworks when building ANE in Xcode
2) Resign frameworks using codesign bash script
3) Package AIR ipa using adt, including any framework files
4) Resign AIR ipa using bash script
I have produced an AIR based tool to manage the resigning of Frameworks and AIR app but it's not ideal
and in the reply from the Adobe AIR Team
As of now external frameworks get signed only if they are kept inside "/Frameworks" folder.
Any other paths for signing will be ignored. I have attached Swift Sample ANE Project for your reference, Please > arrange your project resources according to attached project. Please see ReadMe.txt inside attached project for > packaging commands.
Sourabh Gupta | Adobe AIR Team
and a project sample in attachment ExternalFramework_Signing.zip
inside you can find a readme
You need to keep external Frameworks inside /Frameworks folder to be signed by ADT. Otherwise external framework files will be ingnored for signing.
Frameworks folder contains External Framework library as well as Swift dylib dependencies if any.
Reference Packaging command for Sample IPA with external framework:
Using command line:
bin/adt -package -target ipa-app-store -provisioning-profile <Path_To_ProvisiongProfile> -storetype pkcs12 -keystore <Path_To_Certificate> -storepass <Password> new.ipa SwiftSampleiOS-app.xml SwiftSampleiOS.swf Frameworks -extdir .
// Created by Sourabh Gupta on 22/06/17.
// Copyright © 2017 Sourabh Gupta. All rights reserved.
//! Project version number for SimpleNativeCAPISwift.
FOUNDATION_EXPORT double SimpleNativeCAPISwiftVersionNumber;
//! Project version string for SimpleNativeCAPISwift.
FOUNDATION_EXPORT const unsigned char SimpleNativeCAPISwiftVersionString;
// In this header, you should import all the public headers of your framework
// using statements like #import <SimpleNativeCAPISwift/PublicHeader.h>
Take all that as "it can change because it is a beta" but that's basically the gist of it,
AIR v27 should be able to support Swift for ANE when finally released