CoreDragon icon indicating copy to clipboard operation
CoreDragon copied to clipboard

Xcode 8 PBXcp error: "Couldn't create directory ... not a directory"

Open weien opened this issue 8 years ago • 4 comments

I recently inherited a project that contained CoreDragon 0.1.1 (and MeshPipe 0.1.3) via CocoaPods.

After updating pods to the latest version (CoreDragon 0.1.3) and migrating to Xcode 8/Swift 3, I saw this error upon building the project: coredragonerror1

Deleting both of the Copy...Public Header build phases in the MeshPipe Target made the build errors go away, but with this new error in DragonController.m: 'MeshPipe/CerfingMeshPipeTransport/CerfingMeshPipe.h' file not found

...Which I fixed by doing this: coredragonerror3

Not sure if there's something unique about my setup. I did use "pod install" to remove CoreDragon (and its 4 submodules) and re-add it a number of times before I came to the above solution.

weien avatar Oct 25 '16 18:10 weien

I got this issue two, Mesh Pipe is causing the issues. It would be nice if this was optional, since moest people just need the drag drop and not the app to app drag and drop

jcampbell05 avatar Nov 01 '16 11:11 jcampbell05

Thanks @weien - your solution works for me and everything seems to work fine although I haven't tried app to app dragging yet. Will confirm when I've done that too.

siburb avatar Mar 01 '17 13:03 siburb

Thanks for the feedback @jcampbell05 and @siburb -- if I get some time I'll try to break it into subspecs to make cross-app d&d optional! Would also appreciate a PR with podspec change :D

Unfortunately, I'm not able to reproduce the bug described above. In a clean project with this podfile, it works fine for me:

⋊> ~/D/test cat Podfile                                                 21:48:03
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'test' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for test
  pod 'CoreDragon'
end

nevyn avatar Apr 14 '17 04:04 nevyn

Thanks for the update, @nevyn! My podfile does include use_frameworks! in the first uncommented line, not sure if that (or what else) could be an issue.

weien avatar Apr 14 '17 13:04 weien