config("miniApp_config") {
framework_dirs = [ "//ios/chrome/app" ]
frameworks = [
"iOSMiniAppSDK.framework",
]
}
group("miniApps") {
public_configs = [ ":miniApp_config"]
}
I am able to build the project but while running I am getting error :
dyld: Library not loaded: @rpath/iOSMiniAppSDK.framework/iOSMiniAppSDK
Reason: image not found
Can anyone help resolving this
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/ee7f68a4-6919-458d-b6e8-d7d4e41eaeafn%40chromium.org.
Thanks Sylvain for your reply
I tried the same approach and was able to successfully incorporate the framework.
From:
Sylvain Defresne <sdef...@chromium.org>
Date: Monday, 23 August 2021 at 5:05 PM
To: Arora, Akhil <ts-akhi...@rakuten.com>
Cc: Chromium-dev <chromi...@chromium.org>
Subject: Re: [chromium-dev] Regarding Framework Addition Error
[EXTERNAL] This message comes from an external organization.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/284253fc-1a43-4ec2-a65a-759496887926n%40chromium.org.
Hi Mike,
I am able to run the application without adding the embedded frameworks.
Could you please share some info, how did to solve this issue by using create_signed_build. I am trying to use this template but no success so far.
My scenario: Added custom framework from outside, without using DEPS entry. I copied it to the inside Frameworks/ folder in App bundle. It works fine on simulator, but as soon as I try to run on device, I get some error : installation failed. I know that we need to embed and sign it, embed is working fine, but don't how to inject signin part in this flow.
Using below script to solve embed part:
config("CustomFrameworks_config") {
framework_dirs = [ "//ios/chrome/app/CustomFrameworks/CustomApps/Device" ]
frameworks = [
"iOSCustom1.framework",
"iOSCustom2.framework",
]
}
bundle_data("CustomFrameworks") {
sources = [ "//ios/chrome/app/CustomFrameworks/CustomApps/Device/iOSCustom1.framework",
"//ios/chrome/app/CustomFrameworks/CustomApps/Device/iOSCustom2.framework", ]
outputs = [ "{{bundle_resources_dir}}/" +
"Frameworks/{{source_file_part}}" ]
public_configs = [
":CustomFrameworks_config",
]
Regards,
Akhil