yonaskolb / yonaskolb/XcodeGen

sdk declaration should accept ".a" files

Open
#444 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

The current validation check for sdk definitions to be either .framework or .tbd is a little too tight. It would be useful to also accept .a as an extension and to treat them as-is (i.e. no additional path specification). This allows the library search path to be specified in the central xcconfig and the library name to be used in the project (rather than always having to specify the full path with a leading "/").

I'd be happy to contribute a patch for this if it sounds acceptable. Cheers!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SDK definition validation that currently accepts only .framework and .tbd files, then inspect how those extensions are handled. Confirm that .a definitions are accepted as-is without an additional path and that the existing library search path and library name behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.