lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundle format unrecognized, invalid, or unsuitable In subcomponent:

Vactorwang opened this issue · comments

I've import CEFswift.framework. But when i build for Mac app,it said /MacGate.app: bundle format unrecognized, invalid, or unsuitable
In subcomponent: /MacGate.app/Contents/Frameworks/Versions/A/Modules/CEFswift.swiftmodule

From the path you showed it looks like that you somehow copied only the internals of the CEFswift.framework, not the framework itself. Inside your MacGate.app the path should look like this:

MacGate.app/Contents/Frameworks/CEFswift.framework/Versions/A/...
commented

Also notice that currently Chromium Embedded Framework.framework structure is different from other bundle. You have to manually make its structure the same as other bundle, otherwise codesign will complain