You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I faced with a problem, when I try compile Swift Package framework to xcframework from the command line and when in xcframework contain dependencies XCGLogger.
Firstly I had error that I cannot find a module ObjcExceptionBridging
I made fork and add this line. It helps @_implementationOnly import ObjcExceptionBridging
But I get many another errors. I change name of target at Package file and it starts to work.
Looks like Swift Package Manager has requirements that product and target should have different names. So, my product still XCGLogger, but my target XCGLoggerImpl, and I change folder name too.
You can see my Package file here https://github.com/sglushchenko/XCGLogger/blob/master/Package.swift
Probably better change just product name and keep a target name.
P.S. It works well with Intel, but doesn't work with M1/M2
The text was updated successfully, but these errors were encountered:
Same error to me after update Xcode to 15.3.
Cannot find a module ObjcExceptionBridging when archive a framework and set build libraries for distribution to YES.
Hello,
I faced with a problem, when I try compile Swift Package framework to xcframework from the command line and when in xcframework contain dependencies XCGLogger.
Firstly I had error that I cannot find a module
ObjcExceptionBridging
I made fork and add this line. It helps
@_implementationOnly import ObjcExceptionBridging
But I get many another errors. I change name of target at Package file and it starts to work.
Looks like Swift Package Manager has requirements that product and target should have different names. So, my product still
XCGLogger
, but my targetXCGLoggerImpl
, and I change folder name too.You can see my Package file here
https://github.com/sglushchenko/XCGLogger/blob/master/Package.swift
Probably better change just product name and keep a target name.
P.S. It works well with Intel, but doesn't work with M1/M2
The text was updated successfully, but these errors were encountered: