Giter Site home page Giter Site logo

Comments (16)

lvsti avatar lvsti commented on July 17, 2024 1

BTW I added the setup build phase to the CEFSandbox target as well, thanks for noticing it. There is one weirdness though, the Carthage build now succeeds but only for the second time onward, in the first run it fails to find the same files. Let me know if you have a hunch why.

from cef.swift.

lvsti avatar lvsti commented on July 17, 2024

could you also share what the actual errors are?

from cef.swift.

axelboberg avatar axelboberg commented on July 17, 2024

Sorry, it's been a long day. Judging by the logs it seems like it's the following two:

error: Build input file cannot be found: '/Users/[user]/[project]/Carthage/Checkouts/CEF.swift/External/cef_binary/libcef_dll/wrapper/cef_library_loader_mac.mm' (in target 'CEFSandbox' from project 'CEF.swift')

error: Build input file cannot be found: '/Users/[user]/[project]/Carthage/Checkouts/CEF.swift/External/cef_binary/libcef_dll/wrapper/libcef_dll_dylib.cc' (in target 'CEFSandbox' from project 'CEF.swift')

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

I'm running into the same thing. OS 10.15 and Xcode 10.3

from cef.swift.

lvsti avatar lvsti commented on July 17, 2024

Unfortunately I cannot test this setup because my MBP tops at 10.14 πŸ™ˆ Can you check whether the cef_binary folder actually exists? It should be created by the setup.sh after downloading the CEF bundle.

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

carthage-xcodebuild.NLAO8c.log

from cef.swift.

lvsti avatar lvsti commented on July 17, 2024

which branch are you guys on?

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

from cef.swift.

lvsti avatar lvsti commented on July 17, 2024

Instead of depending on the Cartfile, I'd rather use a branch.txt which contains the name of the branch. I'll submit a fix soon for the 4103 branch.

from cef.swift.

awmcclain avatar awmcclain commented on July 17, 2024

from cef.swift.

johnboiles avatar johnboiles commented on July 17, 2024

Maybe set up a new dummy target as a dependency of both projects that only runs the setup script?

That worked for me:

image

from cef.swift.

johnboiles avatar johnboiles commented on July 17, 2024

@lvsti πŸ‘‹ want me to make a PR for this?

from cef.swift.

johnboiles avatar johnboiles commented on July 17, 2024

Hmm this fixed the issue for me when building in Xcode but not building an archive with xcodebuild. Hmm

from cef.swift.

johnboiles avatar johnboiles commented on July 17, 2024

My final solution was to tell Xcode about these output files:
image
BUT! Xcode goes ahead and creates the External/cef_binary... directory structure if I do that so I also had to add a rm -rf External/cef_binary || true right before creating the symlink in setup.sh.

Kinda messy, but it's working now at least

from cef.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.