Skip to content

Convert example project to Carthage #14

Description

@JoeMatt

In relation to the partial add of Carthage in PR #12

Carthage support is partial since Carthage tries to use the XCode project to build the frameworks when included as a dependency in another project.
The current XCode project only builds after a executing pod install

Current workaround is to

carthage update --no-build
pushd Carthage/Checkouts/sReto/Source/
pod install
popd
carthage build

In order to fix this issue, the example project would need to be fixed to build successfully without executing any additional commands.
This could be done in 2 ways,

  1. Include the sub-dependency projects directly in this repo after a pod setup by modifying the .gitignore rules to include the checked out source.
  2. Change the project to use Carthage instead of cocoapods, since Carthage will find the sub-dependencies listed in this projects Cartfile, checkout and build and create proper symlinks to the shared checkout after resolving version mappings.

I suggest solution 2, which would still maintain Cocoapods support side by side to Carthage support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions