Bender icon indicating copy to clipboard operation
Bender copied to clipboard

Example does not compile

Open tirrorex opened this issue 7 years ago • 8 comments

Cloning the repo with checkout on tag 0.4.0 Example has seven errors after pod installation (0.4.0) Seems to be removed at compile but all three frameworks installed by cocoapods are not found at compil time

"PBXCp /Users/thibautnoah/Library/Developer/Xcode/DerivedData/Example-fheatxxixelckdgltxeulpnuyhru/Build/Products/Debug-iphoneos/MetalBender.framework /Users/thibautnoah/Library/Developer/Xcode/DerivedData/Example-fheatxxixelckdgltxeulpnuyhru/Build/Products/Debug-iphoneos/Example.app/Frameworks/MetalBender.framework cd /Users/thibautnoah/testing/Bender/Example export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -bitcode-strip replace-with-marker -bitcode-strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip -resolve-src-symlinks /Users/thibautnoah/Library/Developer/Xcode/DerivedData/Example-fheatxxixelckdgltxeulpnuyhru/Build/Products/Debug-iphoneos/MetalBender.framework /Users/thibautnoah/Library/Developer/Xcode/DerivedData/Example-fheatxxixelckdgltxeulpnuyhru/Build/Products/Debug-iphoneos/Example.app/Frameworks"

"error: /Users/thibautnoah/Library/Developer/Xcode/DerivedData/Example-fheatxxixelckdgltxeulpnuyhru/Build/Products/Debug-iphoneos/MetalBender.framework: No such file or directory"

tirrorex avatar Nov 07 '17 11:11 tirrorex

The two others seems to be carthage related even though i don't use it and remove carthage path from search path. Someting fishy is going on here.

tirrorex avatar Nov 07 '17 11:11 tirrorex

Are you using Xcode 9 right? The example is meant to be used with Carthage.

bryant1410 avatar Nov 07 '17 11:11 bryant1410

Yes i am using xcode 9. Damn, why?

tirrorex avatar Nov 07 '17 12:11 tirrorex

I was asking since if you're not using Xcode 9 it won't work.

So, it isn't working with Carthage?

bryant1410 avatar Nov 07 '17 12:11 bryant1410

Nope, MetalBender module is missing. It is not included in the cartfile it seems. Including it does not solve the issue, i might miss something. Never had to use carthage before so i don't know where to go from there.

Adding a cartfile with bender to the Example project does not work either

tirrorex avatar Nov 07 '17 13:11 tirrorex

@tirrorex can you try now? It should work fine with Carthage.

bryant1410 avatar Nov 20 '17 15:11 bryant1410

@tirrorex cd to Bender-master then run carthage update.

nhatlee avatar Dec 11 '17 08:12 nhatlee

This will have to wait the next version of our app, since i couldn't get bender to work i switched to coreml for now. we had to ship quickly. Will get back to you once i get the time to try the fix.

tirrorex avatar Dec 12 '17 09:12 tirrorex