Open hungrxyz opened 12 months ago
try it:
xcodebuild archive \
-project Project.xcodeproj \
-scheme Scheme \
-destination "generic/platform=iOS" \
-configuration Release \
-archivePath "archives/Release-iOS" \
SKIP_INSTALL=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
OTHER_SWIFT_FLAGS="-no-verify-emitted-module-interface"
try it:
xcodebuild archive \ -project Project.xcodeproj \ -scheme Scheme \ -destination "generic/platform=iOS" \ -configuration Release \ -archivePath "archives/Release-iOS" \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ OTHER_SWIFT_FLAGS="-no-verify-emitted-module-interface"
I think I tried that already and it didn't help but I'll try again to make sure and report back this week hopefully.
I'm also not sure if it works well. Maybe it will generate another error.
Please provide a reproducible project to test, and also try the latest release :) Thanks.
Short description of the issue:
Archiving a framework which is using RxCocoa as a Swift package dependency fails using xcodebuild.
Expected outcome:
Archive succeeds.
What actually happens:
Here's my command to archive the framework:
And here's the command line output:
RxSwift/RxCocoa/RxBlocking/RxTest version/commit
6.6.0
Platform/Environment
How easy is to reproduce? (chances of successful reproduce after running the self contained code)
Xcode version:
Installation method:
I have multiple versions of Xcode installed: (so we can know if this is a potential cause of your issue)
Level of RxSwift knowledge: (this is so we can understand your level of knowledge and formulate the response in an appropriate manner)