Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building release with CryptorRSA | Xcode 14.3 #79

Open
tjolsen-vn opened this issue Apr 6, 2023 · 0 comments
Open

Issue building release with CryptorRSA | Xcode 14.3 #79

tjolsen-vn opened this issue Apr 6, 2023 · 0 comments

Comments

@tjolsen-vn
Copy link

tjolsen-vn commented Apr 6, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant