AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

Xcode warns about duplicate files in the Pods project

Open ide opened this issue 11 years ago • 7 comments

When installing ASDK with CocoaPods 0.35, Xcode pops up a warning about the Pods projects saying something about duplicate files in ASDK. Looking at the error details it has to do with ASDealloc2MainObject and _AS-objc-internal. I believe the "ASDealloc2MainObject" subspec is including those files, and the main spec (which includes all source files) implicitly includes the subspec so the MRR files are included twice.

screenshot 2015-02-13 23 15 42

ide avatar Feb 14 '15 05:02 ide

Hmm, I'm not getting this issue, but I'm using Cocoapods 0.36 beta 1. Might be something that is being fixed on the Cocoapods end?

rnystrom avatar Feb 17 '15 19:02 rnystrom

I tested with 0.36 beta 2 and got the same issue. Repro steps:

  • Make an iOS project with Xcode 6.1.1. Just a single page application is OK.
  • Add a Podfile. I used:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'

pod 'AsyncDisplayKit', '~> 1.1'
  • pod install (tested with 0.36.0-beta.2)
  • Open the generated Xcode workspace and look at the warnings in the Issue Navigator

ide avatar Feb 17 '15 20:02 ide

It might have something to do with Facebook's Xcode configuration or mine. Here is a zip file with an Xcode workspace and project file that shows the warning for me. http://www.speedyshare.com/V8jqW/Example.zip

ide avatar Feb 18 '15 03:02 ide

Hmm ya even that sample project doesn't show any warnings for me. I even tried another pod install on the project and nothing. I'll try to pass this around and see if someone else can reproduce the issue.

rnystrom avatar Feb 18 '15 04:02 rnystrom

I also have the same issue with Xcode 6.2, CocoaPods 0.36 beta 2 and ASDK 1.1.1 (master), can't explain why but possibily because cocoapods beta doesn't fully support framework integration yet ?

macistador avatar Feb 28 '15 23:02 macistador

Hey, sorry we never got an official answer here, but I haven't noticed this issue myself. Please do reopen this task if you are seeing it with no latest version of Xcode, cocoapods, and The framework but I think it is likely that it has gone away with time :) cc @ide @macistador

appleguy avatar Feb 07 '16 02:02 appleguy

Ok no problemo @appleguy I will open it if I reproduce

macistador avatar Feb 08 '16 09:02 macistador