xcode 可可豆试飞

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12237928/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:23:54  来源:igfitidea点击:

Cocoapods Testflight

xcodelinkertestflightcocoapods

提问by Alper

Anybody have cocoapods working with an Ad Hoc configuration for Testflight?

任何人都有使用 Testflight 的 Ad Hoc 配置的 cocoapods 吗?

I have the same problem as: library not found for -lPodsbut that answer does not make any sense and the documentation is absurdly sparse.

我有同样的问题:找不到 -lPods 的库,但该答案没有任何意义,而且文档非常稀少。

回答by Joe

It sounds like your project might be looking for the libPods.afile but can't find it. If you build the Pods project the file should be accessible.

听起来您的项目可能正在寻找该libPods.a文件但找不到它。如果您构建 Pods 项目,该文件应该是可访问的。

Go to your target summary and look under Linked Frameworks and Librariesif the libPods.aisn't there or is red (missing) try building the just the pods project.

转到您的目标摘要并查看Linked Frameworks and Libraries是否libPods.a不存在或红色(丢失)尝试构建仅 pods 项目。

回答by Fergal Mohan

This might be solved by one of the answers on library not found for -lPodsbut JIC it saves you some heartache trying to decide which of the 31 answers to choose, try this potentially straightforward solution.

这可能会通过-lPods 找不到的库中的一个答案解决, 但 JIC 可以让您在决定选择 31 个答案中的哪一个时省心省力,试试这个可能直接的解决方案。

  1. Select the main project from the list (that appears in the project navigator when you open the .xcworkspace file).
  2. Choose Product > Scheme > Edit Scheme.
  3. Select the "Build" item in the left hand pane.
  4. Check the box that says "Find Implicit Dependencies".
  5. Clean and Rebuild.
  1. 从列表中选择主项目(打开 .xcworkspace 文件时出现在项目导航器中)。
  2. 选择产品 > 方案 > 编辑方案。
  3. 在左侧窗格中选择“构建”项。
  4. 选中“查找隐式依赖项”框。
  5. 清洁和重建。