Comments (6)
See Daniel Duan's article about automating testing for all permutations of CocoaPods/Carthage/SwiftPM and macOS/iOS/tvOS/watchOS: http://dduan.net/2016/10/10/distribution-tests/
from ampere.
SwiftPM currently hardcodes the macOS deployment target to 10.10 (Ampere needs 10.12). Here is a workaround, but it's not in 3.0. swiftlang/swift-package-manager#715
from ampere.
What version of the Swift toolchain has the fix for this problem in it?
Using swift-3.0.1-RELEASE, I see the default target overriding my specified target...
other-args: ["-j8","-D","SWIFT_PACKAGE","-Onone","-g","-enable-testing","-F","/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks","-target","x86_64-apple-macosx10.12","-target","x86_64-apple-macosx10.10","-sdk","/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk","-Xcc","-fmodule-map-file=/Users/babt/Source/IBMSwift/Open Source/BlueRSA/Packages/CommonCrypto-0.1.4/module.modulemap","-module-cache-path","/Users/babt/Source/IBMSwift/Open Source/BlueRSA/.build/debug/ModuleCache"]
from ampere.
$ cd swift-source
$ swift/utils/update-checkout
$ cd swiftpm
$ git branch -r --contains 28e221b
origin/HEAD -> origin/master
origin/master
origin/master-next
origin/swift-3.1-branch
So it seems this will be part of Swift 3.1.
from ampere.
See #9 for a version that builds with the Swift Package Manager (using a recent Swift snapshot).
from ampere.
Taking this issue up again now that Xcode 11 has SwiftPM support. My plan is to fully migrate to SwiftPM and delete the Xcode project.
Checklist:
- Add Package manifest
- Change directory structure to accomodate SwiftPM
- Delete Xcode project
- Set macOS and iOS deployment targets
- Add Docker config for testing under Linux
- Update .gitignore
- Update usage instructions in readme
- Update .travis.yml to use Docker or use GitHub Actions
from ampere.
Related Issues (15)
- Tagged Version HOT 1
- No readability-improving typealiases? HOT 3
- Doesn't compile with Swift 3.1 HOT 4
- Provide targets for macOS, tvOS, and watchOS HOT 1
- Add additional relations
- Update year and copyright holder info in license file
- Investigate failing tests on Linux HOT 1
- UnitVolume tests fail on Linux HOT 1
- Add a playground as a demo for the library
- Introduce a typealias UnitMapping
- Some relations not expressible due to conflicts
- Set up continuous integration HOT 4
- CocoaPods HOT 4
- Remove custom test assertion functions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ampere.