Fixes for the xcodeproj file#133
Conversation
- Deleted the missing `MapTo` and `MapToTests` files. - Changed the deployment target to iOS 13 to match the minimum target of the Package file. - Updated the CombineSchedulers package to 0.5.3 to match the Package file. - The Package.resolved file automatically got updated to v2 since I am using Xcode 13. Project cleanup - Deleted the missing `Carthage` and `CHANGELOG.MD` files. Missing library and test files added to the project: - `MapToValue.swift` - `MapToValueTests.swift` - `MapToResult.swift` - `MapToResultTests.swift` - `Enumerated.swift` - `EnumeratedTests.swift`
bfdbb6e to
c16a11a
Compare
| DerivedData/ | ||
| Carthage | ||
| CombineExt.framework.zip No newline at end of file | ||
| CombineExt.framework.zip |
There was a problem hiding this comment.
I think the .DS_Store file should be added to .gitignore, but I didn't make that change in this PR. Is there a reason to commit this file?
There was a problem hiding this comment.
Would be great to add it ! Thanks
|
I'll tryto find some time to review this - I'll start by saying I'd prefer keeping the deployment target low (iOS 10 or 11), because thjere could be some older codebases that don't necessarily use Combine all over the place but can still benefit from using CombineExt in some places that are guarded by availability clauses. |
The deployment target is an issue if you want to use the latest version of Combine-Schedulers which requires iOS 13. With the lower deployment target, the library and unit tests won't build. The Package.swift file has a minimum iOS version of 13 so older projects won't be able to pull in this package. |
|
I'll have to look. I'm not sure if there's a way to give a different deploymetn target to the test target. |
|
Anyways if that's the case we can leave the old version of combine-schedulers, It's just a test utility so I'm not sure it matters too much. |
- Change the deployment target for the CombineExtTests target to 13.0. - Removed CombineSchedulers from the CombineExt target and added it to CombineExtTests.
I reverted the deployment target of CombineExt to iOS 10.0 and changed the deployment target of CombineExtTests to iOS 13.0. Then I moved the CombineSchedulers package from CombineExt to CombineExtTests. This should do what you wanted while allowing tests to be run if CombineExt is modified in Xcode instead of the command line. |
|
LGTM. Let's just fix the conflicts :) |
I added .DS_Store to .gitignore. |
Codecov Report
@@ Coverage Diff @@
## main #133 +/- ##
=======================================
Coverage 95.51% 95.51%
=======================================
Files 70 70
Lines 4166 4166
=======================================
Hits 3979 3979
Misses 187 187 Continue to review full report at Codecov.
|
Fixes to get the project and tests to build:
MapToandMapToTestsfiles.Project cleanup
CarthageandCHANGELOG.MDfiles.Missing library and test files added to the project:
MapToValue.swiftMapToValueTests.swiftMapToResult.swiftMapToResultTests.swiftEnumerated.swiftEnumeratedTests.swift