Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Objective C support in SwiftPM #1225

Open
1 task done
stonko1994 opened this issue Jun 15, 2023 · 1 comment
Open
1 task done

No Objective C support in SwiftPM #1225

stonko1994 opened this issue Jun 15, 2023 · 1 comment

Comments

@stonko1994
Copy link
Contributor

  • I have read CONTRIBUTING and have done my best to follow them.

Similar to Quick/Nimble#989

What did you do?

Trying to include Quick through SPM and writing a ObjC Quick test.

What did you expect to happen?

Quick function to be visible from Obj-C

What actually happened instead?

It seems that no files from QuickObjectiveC folder are actually included to SwiftPM, so there is nothing visible from Obj-C:

And the first error then yields at QuickSpecBegin

Expected function body after function declarator

I wonder if a similar solution such as an additional @import QuickObjectiveC would be possible for Quick as well?

Environment

List the software versions you're using:

  • Quick: 7.0.0
  • Nimble: 12.0.1
  • Xcode Version: 14.3
  • Swift Version: 5.8

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

  • CocoaPods: N/A
  • Carthage: N/A
  • Swift Package Manager 5.8.0

Project that demonstrates the issue

Please link to a project we can download that reproduces the issue. Feel free
to delete this section if it's not relevant to the issue (eg - feature request).

The project should be short, self-contained, and correct example.

@mtnet5y4
Copy link

I am facing the same issue

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

No branches or pull requests

2 participants