I saw this question , but I still cannot import the framework and use it in Xcode 7 beta 2 (7A121l).
I am currently trying to use Result through carthage. After adding it to the Build Phases / Link Binary with binaries and the Embed Framework, I can successfully compile, but I get an error (yes, this indicates success, and then the error: S):
No such module 'Result'
Upon import:
import Result func serverRequest() -> Result<String, NSError> { ... }
The assembly can execute and compile, but I can not, for example, cmd + click on Result.
Edit 1: In Xcode 6.3.2, it works as expected.
Edit 2: Radar open: 21588771
ios swift xcode7 xcode7-beta2 carthage
Peres Jun 29 '15 at 1:05 2015-06-29 01:05
source share