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

Multiple commands produce #53

Open
albetoetecnia opened this issue Jun 4, 2021 · 6 comments
Open

Multiple commands produce #53

albetoetecnia opened this issue Jun 4, 2021 · 6 comments

Comments

@albetoetecnia
Copy link

Hi! I'm trying to install SwiftyTeeth with cocoapods, but I'm getting this error

Multiple commands produce '/Users/alberto/Library/Developer/Xcode/DerivedData/pojectgeqszbdarvc/Build/Products/Debug-iphoneos/SwiftyTeeth/SwiftyTeeth.framework/Info.plist':

  1. Target 'SwiftyTeeth' (project 'Pods') has copy command from '/Users/alberto/iOSProjects/poject/Pods/SwiftyTeeth/Sources/SwiftyTeeth/Info.plist' to '/Users/alberto/Library/Developer/Xcode/DerivedData/poject-etfmijecltbkztdcfmuqszbdarvc/Build/Products/Debug-iphoneos/SwiftyTeeth/SwiftyTeeth.framework/Info.plist'
  2. Target 'SwiftyTeeth' (project 'Pods') has copy command from '/Users/alberto/iOSProjects/poject/Pods/SwiftyTeeth/Sources/SwiftyTooth/Info.plist' to '/Users/alberto/Library/Developer/Xcode/DerivedData/poject-etfmijecltbkztdcfmuqszbdarvc/Build/Products/Debug-iphoneos/SwiftyTeeth/SwiftyTeeth.framework/Info.plist'
  3. Target 'SwiftyTeeth' (project 'Pods') has process command with output '/Users/alberto/Library/Developer/Xcode/DerivedData/poject-etfmijecltbkztdcfmuqszbdarvc/Build/Products/Debug-iphoneos/SwiftyTeeth/SwiftyTeeth.framework/Info.plist'

Xcode version: Version 12.5 (12E262)
Any idea or solution?

Thanks!

@sureshjoshi
Copy link
Member

Hi @albetoetecnia

Actually pods haven't been supported for a long time - I've been using SPM and (previously) Carthage only.

In fact, I thought I had removed pods entirely, but it looks like I hadn't.

I'll take a quick look this weekend and see if I can make a stable Pod version to lock in at. My guess is that multiple Info.plists are being pulled in from a previous refactoring.

@albetoetecnia
Copy link
Author

Thank you for your quick response

I finally tried to drag the SwiftyTeetch.framework into my project. But at compile time I got an error as well. It said xcode couldn't find the SwiftyTeeth.framework file in the directory.

After trying this, I simply dragged the necessary files (the Common, Extensions and SwiftyTeeth folders) from the master project into my project. It seems to work this way and I can access the SwiftyTeeth functionality.

If you check cocoapods would be great, I'm looking forward to it. In the SwiftyTeeth documentation it says the following:

Download
CocoaPods
Currently, you can use the master or develop branches and git directly until the API has stabilized.

platform :ios, '9.0'.
use_frameworks!

pod 'SwiftyTeeth', :git => 'https://github.com/RobotPajamas/SwiftyTeeth.git', :branch => 'master'.
Carthage
Instructions coming soon.

That's why I used Cocoapods.

Best regards

@sureshjoshi
Copy link
Member

Unfortunately, the Readme is wayyyyyyyyyyy out of date. I use this library in many projects, but unfortunately, I'm not great at keeping documentation up to date.

@albetoetecnia
Copy link
Author

Ok!

don't worry! the lib is great, thank you very very much !!

@sureshjoshi
Copy link
Member

@albetoetecnia It's literally been years since I used CocoaPods, since I moved to Carthage, then to SPM - but can you try out:
https://github.com/RobotPajamas/SwiftyTeeth/tree/feature/53-podfile

It passes the spec lint now - but there may be a signing issue.

Just a heads up that if this works for you, I'll probably pick a version and freeze support for Pods (and maybe even Carthage). But that'll probably be a 1.0.0 thing.

@sureshjoshi
Copy link
Member

(and 1.0.0 won't come out until I have full automation tests, including testing pods and carthage pulls)

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