yonaskolb / yonaskolb/XcodeGen
Framework dependencies aren't found
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
XCodeGen version: 1.4.0 from homebrew tap.
Here is what my dependency section looks like:
dependencies:
- framework: Vendor/Realm/Realm_iOS.framework
- framework: Vendor/Realm/RealmSwift_iOS.framework
In XCode under the Frameworks folder they show up with the relative path as the name. And when I try and compile I get this error:
ld: framework not found Realm_iOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I manually remove and readd the frameworks in XCode it compiles fine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the dependency section shown in the issue and inspect the generated Xcode project's Frameworks folder and linker settings. Reproduce the Realm framework configuration with XCodeGen 1.4.0; done means the generated project links both frameworks without manually removing and readding them in Xcode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100