Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec98e91

Browse files
更新Xcode14后工程报错解决方案(Pod)
1 parent 358a579 commit ec98e91

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

‎iOSNote/podBundleTargetError.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## 更新Xcode14后工程报错解决方案(Pod)
2+
3+
> Pod工程中的Bundle target签名报错
4+
5+
- 开启`generate_multiple_pod_projects` 参数工程
6+
7+
```
8+
post_install do |installer|
9+
installer.generated_projects.each do |project|
10+
project.targets.each do |target|
11+
target.build_configurations.each do |config|
12+
config.build_settings['CODE_SIGN_IDENTITY'] = ''
13+
end
14+
end
15+
end
16+
end
17+
18+
```
19+
20+
- 未开启`generate_multiple_pod_projects` 参数工程
21+
22+
```
23+
post_install do |installer|
24+
25+
installer.pods_project.targets.each do |target|
26+
27+
target.build_configurations.each do |config|
28+
config.build_settings['CODE_SIGN_IDENTITY'] = ''
29+
end
30+
end
31+
end
32+
33+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /