Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J JVFloatLabeledTextField
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Jared Verdi
  • JVFloatLabeledTextField
  • Merge requests
  • !223

Provide separate public headers for SwiftPM

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/mindbody/Xcode-12.5-SPM-Fix into main Jul 09, 2021
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: asolovev

Fix for #220 (closed)

Add a dedicated folder to provide public headers for Swift Package Manager. Folder contains 3 headers:

  1. Symlink to original JVFloatLabeledTextField.h renamed to JVFloatLabeledTextField-Interface.h to avoid name conflict
  2. Symlink to original JVFloatLabeledTextView.h
  3. A new header with the target name that lists all public headers JVFloatLabeledTextField.h

This was the best solution I could find that will:

  • Fix SwiftPM integration in Xcode 12.5
  • Won't make any changes to files not related to SPM integration. Should keep other integrations working
  • Keep the target name JVFloatLabeledTextField to avoid changes in projects using this library
    • Carthage uses JVFloatLabeledText which may simplify some things for SwiftPM as well. This will avoid header naming conflicts, but will break existing imports
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/mindbody/Xcode-12.5-SPM-Fix