Example can't run successfully after cocoapod install.
jiexishede opened this issue · 1 comments
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)"
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}")"