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

Error on installation via Carthage #40

Open
ARGAMX opened this issue Mar 23, 2020 · 2 comments
Open

Error on installation via Carthage #40

ARGAMX opened this issue Mar 23, 2020 · 2 comments

Comments

@ARGAMX
Copy link

ARGAMX commented Mar 23, 2020

Cartfile:

github "TimOliver/TOPasscodeViewController"

Terminal:

iMac:App-iOS-Sources user$ carthage update --platform iOS --no-use-binaries
*** Cloning TOPasscodeViewController
*** Checking out TOPasscodeViewController at "0.0.2"
*** xcodebuild output can be found in /var/folders/nb/9g4bcynn1bbbl93rrd7nns4h0000gn/T/carthage-xcodebuild.Hj36cs.log
*** Skipped building TOPasscodeViewController due to the error:
Dependency "TOPasscodeViewController" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/TimOliver/TOPasscodeViewController/issues/new

How to fix this Error?
I have 17 plugins from GitHub installed in the iOS project via Carthage. I want to install TOPasscodeViewController as a 18 plugin, but getting this Error.
Thanks.

Seems that fremework don't support Carthage yet.
But seems adding Carthage support is quite easy task:

https://amerhukic.com/how-to-add-carthage-support-in-existing-cocoapod-project

https://webcache.googleusercontent.com/search?q=cache:gNv43se4RWIJ:https://amerhukic.com/how-to-add-carthage-support-in-existing-cocoapod-project

https://github.com/Carthage/Carthage#share-your-xcode-schemes

@TimOliver
Copy link
Owner

Hi @ARGAMX!

Thanks for the issue! I haven't officially added Carthage support to this project yet. I'm working on some other stuff now, and this library, given that it's not being accepted by Apple right now is low priority for me.

I'm working on refining my CI release script to automatically build and deploy Carthage compatible frameworks, so I'll be looking at that soon. :)

In the meantime, if you want to add Carthage support, please feel free to file a PR. :)

Thanks!

@ARGAMX
Copy link
Author

ARGAMX commented Mar 24, 2020

In the meantime, if you want to add Carthage support, please feel free to file a PR. :)

Ok, thanks.

I have made PR.
Works OK for me, I have successfully build TOPasscodeViewController.framework

#42

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

No branches or pull requests

2 participants