Embed dynamic framework
At the time of writing this, I have tried with AIR 28 to embed dynamic framework. I followed instruction in release notes 11/16/2017 - Beta - AIR 28.0.0.112
But I have encountered an error at an application install:
Jan 5 17:12:50 **** mobile_installation_proxy(MobileSystemServices)[251] <Notice>: 0x16b3ab000 handle_install: Installation failed: Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.rTdpV9/extracted/Payload/****.app/Frameworks/****.framework : 0xe8008001 (An unknown error has occurred.)" UserInfo={LibMISErrorNumber=-402620415, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=147, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]
I followed Apple's Technical Note TN2318: Troubleshooting Failed Signature Verification guide, and here are results of verification of used framework after unpacking .ipa file:
****:bin-debug ****$ codesign --verify -vvvv Payload/****.app/Frameworks/****.framework/
Payload/****.app/Frameworks/****.framework/: invalid Info.plist (plist or signature have been modified) In architecture: armv7
But if I check this framework before packaging it is unsigned at all, I tried to take this dynamic framework from working native iOS sample after archiving and unpacking archive but I ended up with the same result.
After some research, by using codesign commands I realized that Info.plist file wasn't included in signing
Info.plist=not bound
Maybe it happened because of this:
"If you are code signing manually, use the --entitlements flag, naming the target’s entitlements property list file:
codesign --entitlements /path/to/entitlements.plist -s <identity> <code-path> |
"
Could you provide some feedback on what's going on and why it doesn't work?
I masked sensitive info by **** symbols
