[英]iOS app is crashing after kill and relauch using Adobe xcframeworks
I have added adobe AEPCore.xcframework in my application and kept it as "Do not embed" in framework setting.我在我的应用程序中添加了 adobe AEPCore.xcframework 并在框架设置中将其保持为“不嵌入”。
When i kill and relaunch the application, It got crashed with following logs.当我杀死并重新启动应用程序时,它因以下日志而崩溃。
dyld: Library not loaded: @rpath/AEPAssurance.framework/AEPAssurance
Referenced from: /private/var/containers/Bundle/Application/6EF49835-678A-4B35-913B-5D88E3433DA3/app_name.app/app_name
Reason: image not found
dyld: launch, loading dependent libraries dyld:启动,加载依赖库
Reason: image not found dyld: launch, loading dependent libraries原因:找不到图像 dyld:启动,加载依赖库
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
When I changed the framework setting to " Embed and Sign " Then release build fails on Jenkins.当我将框架设置更改为“嵌入并签名”时,Jenkins 上的发布构建失败。
Error: No UUID for /var/folders/zc/jp3qpb057hgf99tct24j3ch1xk6rfy/T/XcodeDistPipeline.~~~RRv4h3/libAEPMobileServices_iOS.a(AEPMobileServices.o)
错误: No UUID for /var/folders/zc/jp3qpb057hgf99tct24j3ch1xk6rfy/T/XcodeDistPipeline.~~~RRv4h3/libAEPMobileServices_iOS.a(AEPMobileServices.o)
Any Help will be appreciated.任何帮助将不胜感激。 Happy Coding.快乐编码。
I have resolved this issue by keeping the framework setting as "Embed and Sign in" and kept AEPMobileServices framework as "Do not Embed" because this framework is a static library and It should not be included in the code.我已通过将框架设置保持为“嵌入并登录”并将 AEPMobileServices 框架保持为“不嵌入”来解决此问题,因为此框架是一个静态库,不应包含在代码中。
This resolves the crash from QA build and export error from the release build.这解决了 QA 构建的崩溃和发布构建的导出错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.