Comments (16)
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.
could you also share what the actual errors are?
from cef.swift.
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.
I'm running into the same thing. OS 10.15 and Xcode 10.3
from cef.swift.
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.
from cef.swift.
carthage-xcodebuild.NLAO8c.log
from cef.swift.
which branch are you guys on?
from cef.swift.
from cef.swift.
from cef.swift.
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.
from cef.swift.
Maybe set up a new dummy target as a dependency of both projects that only runs the setup script?
That worked for me:
from cef.swift.
@lvsti π want me to make a PR for this?
from cef.swift.
Hmm this fixed the issue for me when building in Xcode but not building an archive with xcodebuild. Hmm
from cef.swift.
My final solution was to tell Xcode about these output files:
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)
- Build CEF binary with flags HOT 1
- CEFResourceHandler does not seem to work as expected HOT 2
- Try to load local file with Request Interception HOT 1
- Started start at https domains other than .com
- Swift Helper HOT 1
- URL Request
- window.open() crashes CEFSwift
- Building Xcode project
- How to build the CEFswift with latest CEF 4606 binary? HOT 3
- Update to CEF 4606 (Chrome 94) HOT 2
- CEFSwift framework compiling issue in another project. HOT 1
- CEFSwift framework running issue.
- CEFSwift framework running issue.
- GPU process crashed when running the browser.
- CEF display issue.
- CEFDisplayHandler getting error when calling.
- Cookie manager not working from 85 to current
- Error when using windowless
- Support newer versions of CEF
- Swift 4 compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cef.swift.