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

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

Open
weien opened this issue Oct 25, 2016 · 4 comments
Open

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

weien opened this issue Oct 25, 2016 · 4 comments

Comments

@weien
Copy link

weien commented Oct 25, 2016

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.

@jcampbell05
Copy link

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

@siburb
Copy link

siburb commented Mar 1, 2017

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.

@nevyn
Copy link
Owner

nevyn commented Apr 14, 2017

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

@weien
Copy link
Author

weien commented Apr 14, 2017

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.

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

4 participants