yonaskolb / yonaskolb/XcodeGen
XCodegen is not detecting some downloaded Pods
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hello!
How you guys doing?
I converted my whole project to XCodegen.
My project has multiple modules and all the libraries are downloaded via Cocoapods.
But, I've got a problem on the SharedFrontend module. In this module (Sharedfrontend) I import "Tracker" which from ATInternet-Apple-SDK, but Xcode or project doesn't detect it, and give me a error saying: "No Such Module Tracker", BUT It has the Tracker on the pods, and it did download it...
That leads me think ( I can be wrong ) that the problem are the pods not being recognised on SharedFrontend, which is why I am here today :)
My SharedFrontend .YML file:
> name: SharedFrontend
> options:
> minimumXcodeGenVersion: 2.25
> groupSortPosition: top
> generateEmptyDirectories: true
> deploymentTarget:
> iOS: "12.3"
> targets:
> SharedFrontend:
> type: framework
> platform: iOS
> settings:
> PRODUCT_BUNDLE_IDENTIFIER: "pt.custojusto.SharedFrontend"
> GENERATE_INFOPLIST_FILE: YES
> scheme:
> gatherCoverageData: true
> sources:
> - path: SharedFrontend
> createIntermediateGroups: true
>
> SharedFrontendTests:
> type: bundle.unit-test
> platform: iOS
> sources:
> - path: SharedFrontendTests
> createIntermediateGroups: true
> dependencies:
> - target: SharedFrontendTests
Plus, above, a image of the Sharedfrontend module, wich you can see the pods are there:
Plus, I've made a Script to run pod install every time xcodegen updates, which I think does not have anything to do with my problem itself, but can be helpful.
> #!/bin/bash
> cd cj-ios
> xcodegen
> cd ..
> cd cj-pro/iosApp
> xcodegen
> cd ../..
> cd cj-uicomponents/iOS/UIComponents
> xcodegen
> cd ../../../
> cd cj-sharedfrontend/SharedFrontend
> xcodegen
> cd ../../
> pod install
I hope you guys could help me, our give any hint. I am looking to this for a week now, and I didn't get any solution yet..
Really Thanks!
Peter
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 SharedFrontend project specification and the script that runs xcodegen and pod install. Reproduce the generated project, then inspect how the SharedFrontend target is connected to the downloaded Pods and whether Tracker is available there. Done means identifying a reproducible configuration problem or confirming the issue requires user-specific project details.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100

