didi / didi/DoKit

iOS 添加 'WithGPS'后打包报错

Open
#744 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
20.4k
Forks
3.2k
Avg merge
1d 12h
Merged PRs (30d)
2

Description

### 在 iOS 项目中引入 GPSMock 之后打包报错
#### Podfile 加入了
```
pod 'DoraemonKit/Core', :configurations => ['Debug', 'Fat']
pod 'DoraemonKit/WithGPS', :configurations => ['Debug', 'Fat']
pod 'DoraemonKit/WithLoad', :configurations => ['Debug', 'Fat']
pod 'DoraemonKit/WithMLeaksFinder', :configurations => ['Debug', 'Fat']
```
#### 报错代码
```
ld: warning: Could not find or use auto-linked framework 'DoraemonLoadAnalyze'
Undefined symbols for architecture armv7:
"_dlaLoadModels", referenced from:
-[DoraemonMethodUseTimeManager fixLoadModelArray] in DoraemonMethodUseTimeManager.o
-[DoraemonMethodUseTimeManager fixLoadModelArrayForHealth] in DoraemonMethodUseTimeManager.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Dokit版本 3.0.6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.