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

Example can't run successfully after cocoapod install. #378

Open
jiexishede opened this issue Dec 2, 2022 · 1 comment
Open

Example can't run successfully after cocoapod install. #378

jiexishede opened this issue Dec 2, 2022 · 1 comment

Comments

@jiexishede
Copy link

Please fill out this template when filing an issue.
All ℹ symbols should be replaced with information on the issue.
Please remove this line and all above before submitting.

Report

Environment

Please provide information on your development environment, so we can build with the same scenario.

  • Xcode version (e.g. 9.1): ℹ 13.4
  • PopupDialog version (e.g. 0.5.0): ℹ 1.1.1
  • Minimum deployment target (e.g. 9.0): ℹ 12
  • Language (Objective-C / Swift): ℹSwift
  • In case of Swift - Version (e.g. 4): ℹ swift 5.5

Dependency management

If you are not using any dependency managers, you can remove this section.

  • Dependency manager (e.g. CocoaPods): ℹ
  • Version (e.g. 1.3.1): ℹ 1.11.3

What did you do?

cocoapod install

run Example
then
"ld: library not found for -lswiftXCTest clang: error: linker command failed with exit code 1 (use -v to see invocation)"

@kallipigous
Copy link

This is a problem with cocoapods I think. for the time being. The Workaround is to update all the generated ...-frameworks.sh files to add the -f flag to the call to readlink. In other words, need to replace:
source="$(readlink "${source}")"
with
source="$(readlink -f "${source}")"

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