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
3. Select any iOS simulator or device from the target device list
4. Build
Expected Result
I expect the library to build as the Sparkle dependency is marked as conditional to macOS.
Actual Result
The library does not build correctly as it seems that there needs to be an iOS version of the framework.
I've also attached the build log from the command line from running the following command, please let me know if there's something else I should be running, but from what I can tell the command line build is completing successfully.
This ticket can be closed as duplicate of SR-15196.
I've found a workaround in breaking apart the different platforms for the targets that I need for the time being. The branch in the description will not contain a broken Package.swift file anymore. Please look at the sample project in the linked Jira ticket.
Attachment: Download
Environment
Xcode Version: 13.2.1 (13C100)
macOS Version: 12.2 Beta (21D5025f)
Swift Version: swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
Swift Tools Version: 5.5
Additional Detail from JIRA
md5: e6abd67669234948227721b2e8fd18e3
duplicates:
Issue Description:
When attempting to use a platform conditional with a binary framework the conditional doesn't seem to actually apply. There is also an active thread in the forums calling attention to the issue https://forums.swift.org/t/adding-platform-specific-dependency-to-multi-platform-swift-package/49645/7
Steps To Reproduce
1. Clone https://github.com/brianmichel/Marconio/tree/feature/modularize-everything
2. Switch scheme to "AppDelegate"
3. Select any iOS simulator or device from the target device list
4. Build
Expected Result
I expect the library to build as the Sparkle dependency is marked as conditional to macOS.
Actual Result
The library does not build correctly as it seems that there needs to be an iOS version of the framework.
I've also attached the build log from the command line from running the following command, please let me know if there's something else I should be running, but from what I can tell the command line build is completing successfully.
The text was updated successfully, but these errors were encountered: