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

Archive Fails Due to Swift Module Interface Verification Errors in Mixpanel Framework #659

Open
ashishgupta6 opened this issue Jan 8, 2025 · 0 comments

Comments

@ashishgupta6
Copy link

ashishgupta6 commented Jan 8, 2025

I am encountering an issue while archiving my project after integrating the Mixpanel framework into my custom iOS framework. The issue seems related to the verification of the Swift module interfaces (Mixpanel.swiftinterface and Mixpanel.private.swiftinterface). This occurs when archiving the project, specifically with the Mixpanel framework.

** ARCHIVE FAILED **

The following build commands failed:
SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ Mixpanel.swiftinterface
SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ Mixpanel.private.swiftinterface
(3 failures)

Environment:

  • Xcode Version: 16.1
  • Swift Version Installed: 6.0.2
  • Swift version using in Framework: Swift 5
  • Mixpanel Version: 4.3.0
  • Build Setting: BUILD_LIBRARY_FOR_DISTRIBUTION is set to YES

Additional Notes:

  • Cleaning the build folder and clearing Derived Data did not resolve the issue.
  • Disabling BUILD_LIBRARY_FOR_DISTRIBUTION allows the archive to succeed but is not a viable solution since module interface generation is needed for framework distribution.
  • The issue might be related to a mismatch in Swift versions or compatibility issues in the Mixpanel code when generating module interfaces.
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