I’m creating a iOS app which consists of a number of initiatives imported as frameworks.
These different initiatives are additionally imagined to be exported as an xcframework.
I’m counting on a few dependencies utilizing the swift bundle supervisor.
The particular one I’ve issues with is Apollo.
When constructing my app ‘challenge’ to my cellphone there isn’t a drawback.
However when attempting to run the next command from my terminal:
xcodebuild archive
-workspace Workspace.xcworkspace
-scheme Framework
-configuration Launch
-archivePath XCFrameworks/Framwork.xcarchive
-destination 'generic/platform=iOS'
ENABLE_BITCODE=YES
SKIP_INSTALL=NO
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
It tells me that ARCHIVE FAILED
With the next error:
/Library/Developer/Xcode/DerivedData/<AppNameWithNonSenseLetters>/Construct/Intermediates.noindex/ArchiveIntermediates/Framework/IntermediateBuildFilesPath/SQLite.swift.construct/Launch-iphoneos/SQLite.construct/Objects-normal/arm64/SQLite.swiftinterface:7:8: error: no such module 'SQLiteObjc'
import SQLiteObjc
^
adopted by:
/Library/Developer/Xcode/DerivedData/<AppNameWithNonSenseLetters>/Construct/Intermediates.noindex/ArchiveIntermediates/Framework/IntermediateBuildFilesPath/SQLite.swift.construct/Launch-iphoneos/SQLite.construct/Objects-normal/arm64/SQLite.personal.swiftinterface:1:1: error: didn't confirm module interface of 'SQLite' as a result of errors above; the textual interface could also be damaged by challenge points or a compiler bug
// swift-interface-format-version: 1.0
^
I’m not importing SQLiteObjC wherever myself. As I perceive it, Apollo is relying on it.
How do I repair this?
I’m utilizing Xcode Model 15.2 and Apollo model 0.53.0