yonaskolb / yonaskolb/XcodeGen
[Question] I can't use SPM after creating a project with xcodegen.
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
Add Package Dependency
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
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
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