yonaskolb / yonaskolb/XcodeGen

[Question] I can't use SPM after creating a project with xcodegen.

Open
#802 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I created a project using xcodegen.
and

image Add Package Dependency image But not add 'Link Binary with Libraries'

Help me, please

My project.yml
name: HELLO options: deploymentTarget: iOS: 13.0 createIntermediateGroups: true bundleIdPrefix: com.milkyo transitivelyLinkDependencies: true targets: HELLO: platform: iOS deploymentTarget: 13.1.3 type: application info: path: HELLO/Supporting Files/Info.plist properties: CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE) UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait] UILaunchStoryboardName: LaunchScreen UIApplicationSceneManifest: UIApplicationSupportsMultipleScenes: false UISceneConfigurations: UIWindowSceneSessionRoleApplication: - UISceneConfigurationName: Default Configuration UISceneDelegateClassName: $(PRODUCT_MODULE_NAME).SceneDelegate settings: base: SWIFT_VERSION: 5.2 TARGETED_DEVICE_FAMILY: 1,2 FRAMEWORK_SEARCH_PATHS: [$(inherited), $(PROJECT_DIR)] sources: - HELLO/Sources - HELLO/Supporting Files

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

Reproduce the report from the supplied project.yml by generating the Xcode project and adding the package dependency through Xcode's Add Package Dependency flow. Compare the generated target's configuration with the expected Link Binary with Libraries entry; done means the package is correctly linked in the generated project.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.