Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Swift example project fails to build with Carthage #644

Open
bayareahank opened this issue Nov 2, 2017 · 0 comments
Open

Swift example project fails to build with Carthage #644

bayareahank opened this issue Nov 2, 2017 · 0 comments

Comments

@bayareahank
Copy link

bayareahank commented Nov 2, 2017

  • [*] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [* ] I've read and agree to the Code of Conduct.
  • [*] I've searched for any related issues and avoided creating a duplicate issue.

Description

After install the framework with Carthage, swift demo project fails to build

Reproducible in:

  • [*] This is reproducible in the sample project.
    SlackTextViewController version: Latest v1.9.6
    iOS version(s): 8.0, 10.0 (only tried these two, both failed).
    Device(s): Simulator

Steps to reproduce:

Using Xcode 9.1, compile with swift 4.02

  1. Carthage file content is: github "slackhq/SlackTextViewController"
  2. Carthage update --platform iOS, then put the built SlackTextViewControllerframework into linked libraries and frameworks.
  3. Build the swift demo project, failed with info:
    /Users/me/src/ios/download/example/slackVC/Messenger-Shared/Bridge-Header.h:5:9: 'SLKTextViewController.h' file not found
    Failed to emit precompiled header '/Users/me/Library/Developer/Xcode/DerivedData/Messenger-dbcelvwgcibxezaxnqfieotjroxb/Build/Intermediates.noindex/PrecompiledHeaders/Bridge-Header-swift_11FAD7WS9UBFZ-clang_2YQ0G89CRVQGR.pch' for bridging header '/Users/me/src/ios/download/example/slackVC/Messenger-Shared/Bridge-Header.h'

Expected result:

e.g. What you expected to happen

Actual result:

Could observe that header files are included in the framework, under Frameworks/SlackTextViewController.framework/Headers directory, yet compiler seems unable to find it, suspecting path issue.

BTW, this is also my first time to compile the Slack sample swift project.

Attachments:

e.g. Logs, screenshots, screencast, sample project, funny gif, etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant