Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

包含 DoraemonLoadAnalyze.framework 后无法正常 Archive #38

Closed
EyreFree opened this issue Feb 3, 2019 · 2 comments
Closed

包含 DoraemonLoadAnalyze.framework 后无法正常 Archive #38

EyreFree opened this issue Feb 3, 2019 · 2 comments

Comments

@EyreFree
Copy link
Contributor

EyreFree commented Feb 3, 2019

1. 期望的表现和实际的表现。(如有)

正常使用 Load 耗时模块的同时能够正常打包

2. 问题重现的步骤。(如有)

工程中引入 DoraemonKit 库后,Aarchive 时挂掉:

看起来像是 DoraemonLoadAnalyze.framework 没有提供 armv7 对应的版本

3. Android 还是 iOS?系统版本是多少?手机品牌是什么?(如有)

iOS / 任意型号

4. 其他的错误信息和堆栈信息如果有也可以一并提供出来。(如有)

ld: warning: ignoring file /Users/eyrefree/Documents/XXX/Pods/DoraemonKit/iOS/DoraemonKit/Framework/DoraemonLoadAnalyze.framework/DoraemonLoadAnalyze, missing required architecture armv7 in file /Users/eyrefree/Documents/XXX/Pods/DoraemonKit/iOS/DoraemonKit/Framework/DoraemonLoadAnalyze.framework/DoraemonLoadAnalyze (2 slices)
Undefined symbols for architecture armv7:
  "_dlaLoadModels", referenced from:
      -[DoraemonMethodUseTimeListViewController viewDidLoad] in DoraemonMethodUseTimeListViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@EyreFree
Copy link
Contributor Author

EyreFree commented Feb 3, 2019

临时解决方案:暂时移除 MethodUseTime 模块

参见 MethodUseTime 模块独立为 subspec 的 PR:#37

@yixiangboy
Copy link
Contributor

1.1.5版本已经解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants