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

Pod install use_frameworks! #1

Closed
OliverZiegler opened this issue Nov 24, 2015 · 5 comments · Fixed by #7
Closed

Pod install use_frameworks! #1

OliverZiegler opened this issue Nov 24, 2015 · 5 comments · Fixed by #7

Comments

@OliverZiegler
Copy link

Installing Toast-Swift via Cocoapods results in errors.

This is the module Toast_Swift after installing with use_frameworks! needed for Swift

import ObjectiveC
import Toast_Swift
import Toast_Swift.Swift
import UIKit

public var Toast_SwiftVersionNumber: Double

As you can see the module references itself...

Is this a bug or am I doing something wrong?

@scalessec
Copy link
Owner

It's a bug. Sorry about that. Feel free to send a pull request if you can fix it, otherwise I'll try to get to it this week.

@dasoga
Copy link

dasoga commented Feb 4, 2016

Hi!
Any update for this?. When I install it via Cocoapods I can't use the library.
I wanted to fix it, but I could.

@OliverZiegler
Copy link
Author

I really tried to fix this issue but did not succeed.

The following points I found:

  • import ObjectiveC in Toast.swift is not necessary
  • Self reference seems to be normal with installation via Cocoapods
  • The interface of Toast.swift is completely missing in the module (there should be included all the public method definitions)

@scalessec has installing via cocoa pods ever worked? (build is working but not using the library)

@craigpearce5
Copy link

Does this issue seem to be with cocoapods? Can it be used by installing manually?

@OliverZiegler
Copy link
Author

Its kind of a bug when installing via cocoapods.
If you manually download and import into your project everything works (I currently use it like this)

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

Successfully merging a pull request may close this issue.

4 participants