Comments (15)
I think if you update carthage to 0.7.5 issue will go away, see #65
from result.
@sync I don't think the issues are related. I'm on 0.7.5
from result.
Thanks for filing!
Result-watchOS shows up in the schemes list with a cog next to it.
I’m not sure what this means?
It doesn’t build the watchOS target when I bootstrap a project with it, so that’s curious.
from result.
@robrix In the Xcode project, next to the scheme, it shows a little cog for the watchOS target. If I remove this from the shared schemes, I can build it just fine.
from result.
Hi @justinmakaila, can you perhaps share a screenshot? I'm not sure where the issue lies. Does it fail to build from Carthage? From Xcode? What version of Xcode are you using?
from result.
I'm running into this issue as well. I created a Cartfile with the following contents:
github "antitypical/Result" "0.6-beta.1"
Running carthage update
with that Cartfile produces the following output:
$ carthage update
*** Fetching Result
*** Checking out Result at "932ac1aabf6d881ead74c4e6911d1271e95d2859"
*** xcodebuild output can be found in /var/folders/mn/xfk73_v56ns232tl5s448zdm0000gn/T/carthage-xcodebuild.sikNM2.log
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "Result-Mac" in Result.xcodeproj
*** Building scheme "Result-watchOS" in Result.xcodeproj
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Some environment details:
- OS X Version 10.10.4 (14E46)
- Xcode Version 7.0 beta 4 (7A165t)
- Carthage Version 0.7.5
Interestingly, if I open Result.xcodeproj and try to build the Result-watchOS scheme from there, it works without a hitch, making me wonder if this is a Carthage issue.
from result.
Some more potentially helpful information. If I try to run unit tests against the watchOS target, I get an error: No such module 'XCTest'
from result.
Sounding more and more like a Carthage issue to me, alas.
from result.
If I try to run unit tests against the watchOS target, I get an error: No such module 'XCTest'
Unit tests currently don't work for watchOS targets - https://openradar.appspot.com/21760513
from result.
I just tried this under 10.11 with Xcode beta 3 and it works fine, I'm going to try upgrading to beta 4 and see if that causes this issue to pop up again.
from result.
Okay it works fine with Xcode 7b4 under OS X 10.11.
from result.
Is this still an issue?
from result.
I've not seen this issue when building Result for watchOS on the GM. I'd say it is safe to close this one.
from result.
This is still happening.
carthage bootstrap --platform ios
*** Downloading Box.framework binary at "1.2.2"
*** Checking out WLXBluetoothDevice at "0.2.0"
*** Checking out Result at "0.4.4"
*** Downloading ReactiveCocoa.framework binary at "v3.0"
*** Checking out expecta at "v1.0.3"
*** Checking out specta at "v1.0.3"
*** Checking out CocoaLumberjack at "2.0.1"
*** xcodebuild output can be found in /var/folders/gf/dslbq4t94zg44sz7wnk2lg2r0000gp/T/carthage-xcodebuild.XeyuaP.log
*** Building scheme "CocoaLumberjackSwift" in Lumberjack.xcodeproj
A shell task failed with exit code 66:
xcodebuild: error: Scheme Result-watchOS is not currently configured for the build action.
Cartfile.resolved
github "robrix/Box" "1.2.2"
github "CocoaLumberjack/CocoaLumberjack" "2.0.1"
github "specta/expecta" "v1.0.3"
github "specta/specta" "v1.0.3"
github "antitypical/Result" "0.4.4"
github "ReactiveCocoa/ReactiveCocoa" "v3.0.0"
github "Wolox/WLXBluetoothDevice" "0.2.0"
I am using carthage 0.9.2
. As @robrix said, I think this is an issue in Carthage because the same happens to me randomly with CocoaLumberjack.
from result.
xcodebuild -version
Xcode 6.4
Build version 6E35b
from result.
Related Issues (20)
- Support for higher order functions that can throw HOT 1
- Add Result to swift compatibility check HOT 1
- Replace `NoError` with `Never`? HOT 1
- Lower the `Error: Swift.Error` constraint on `Result` temporarily. HOT 4
- Why not declare 'Result' as 'Result<T>'? So it easy to deal with different types of errors. HOT 6
- [Disabled code coverage for xCode 9] HOT 1
- Unable to use the Result namespace HOT 3
- Using `init(attempt:)` always produces `Result` with `AnyError` type HOT 6
- Non-throwing dematerialize for result using NoError HOT 1
- Change (some) flatMap to compactMap? HOT 2
- 4.0 release HOT 1
- Adding a `fold` method HOT 5
- Result vs. Throws README section is out of date HOT 1
- Result initializer works in for loop but not map? HOT 1
- support required for swift 4.2 HOT 2
- How to pass an array of Swift.Errors as the right (Error) type? HOT 3
- Example os import usage for Swift 5/4 HOT 9
- Migration to Swift 4 HOT 1
- Cocoapods instructions still pin to v4 HOT 3
- Swift 5 support? HOT 1
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 result.