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
Describe the bug
I'm building an XCFramework that includes this as a dependency via SPM. Because of a bug in the swift compiler, I'm unable to build my framework with yours included. tl;dr The module shares a name with a class within the module and Swift can't generate a correct swiftinterface file
Ideally if you could change the name of the module to something like InputBarAccessoryViewKit that would fix the issue until the compiler bug is resolved.
To Reproduce
Create a new Framework project in Xcode 14.3
Add https://github.com/nathantannar4/InputBarAccessoryView as a package (File -> Add Packages...)
From the Terminal run xcodebuild archive -scheme <Name> -archivePath archives -destination "generic/platform=iOS" -sdk iphoneos BUILD_LIBRARY_FOR_DISTRIBUTION=YES
You should get an error like
The following build commands failed:
SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ InputBarAccessoryView.private.swiftinterface ... (in target 'InputBarAccessoryView' from project 'InputBarAccessoryView')
Screenshots
Expected behavior
The archive command should succeed
Environment
What version of InputBarAccessoryView are you using? 6.2.0
What version of iOS are you running on? N/A
What version of Swift are you running on? 5.0
What device(s) are you testing on? Are these simulators? N/A
Is the issue you're experiencing reproducible in the example app? N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
To solve this problem execute the archive with OTHER_SWIFT_FLAGS='-no-verify-emitted-module-interface'
Like: xcodebuild archive -scheme <Name> -archivePath archives -destination "generic/platform=iOS" -sdk iphoneos BUILD_LIBRARY_FOR_DISTRIBUTION=YES OTHER_SWIFT_FLAGS='-no-verify-emitted-module-interface'
Describe the bug
I'm building an XCFramework that includes this as a dependency via SPM. Because of a bug in the swift compiler, I'm unable to build my framework with yours included. tl;dr The module shares a name with a class within the module and Swift can't generate a correct
swiftinterface
fileIdeally if you could change the name of the module to something like
InputBarAccessoryViewKit
that would fix the issue until the compiler bug is resolved.To Reproduce
https://github.com/nathantannar4/InputBarAccessoryView
as a package (File -> Add Packages...)xcodebuild archive -scheme <Name> -archivePath archives -destination "generic/platform=iOS" -sdk iphoneos BUILD_LIBRARY_FOR_DISTRIBUTION=YES
Screenshots
Expected behavior
The archive command should succeed
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: