Skip to content

Issue building release with CryptorRSA | Xcode 14.3 #79

Open
@tjolsen-vn

Description

I am trying to build a release xcframework for distribution that uses SwiftJWT via Swift Package Manager:
Screenshot 2023-04-06 at 4 45 15 PM

I am able to build fine confirmed for Xcode 14.2.0, 14.0.1, 13.4.1, 13.2.1, and 13.1.0. But when I try building with Xcode 14.3, I get the following error:

** ARCHIVE FAILED **


The following build commands failed:
	SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ CryptorRSA.private.swiftinterface /Users/tj/Library/Developer/Xcode/DerivedData/VNWebSDK-fwdasyvrfoacjledmziziwepgjrj/Build/Intermediates.noindex/ArchiveIntermediates/VNWebSDK/IntermediateBuildFilesPath/CryptorRSA.build/Release-iphoneos/CryptorRSA.build/Objects-normal/arm64/CryptorRSA.private.swiftinterface (in target 'CryptorRSA' from project 'CryptorRSA')
	SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ CryptorRSA.swiftinterface /Users/tj/Library/Developer/Xcode/DerivedData/VNWebSDK-fwdasyvrfoacjledmziziwepgjrj/Build/Intermediates.noindex/ArchiveIntermediates/VNWebSDK/IntermediateBuildFilesPath/CryptorRSA.build/Release-iphoneos/CryptorRSA.build/Objects-normal/arm64/CryptorRSA.swiftinterface (in target 'CryptorRSA' from project 'CryptorRSA')
(2 failures)

I've tried several things, like setting -Xfrontend -module-interface-preserve-types-as-written in OTHER_SWIFT_FLAGS and excluding architectures. I can't get it to work.

Could this be due to a conflict/duplication between a module and class name inside of CryptorRSA, or is there something I can do to get this to build the xcframework in Xcode 14.3?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions