carthage

“no such module” on Xcode 7 beta 2

半世苍凉 提交于 2019-11-29 01:33:28
I saw this question , but I am still unable to import a framework and use it inside Xcode 7 beta 2 (7A121l). So currently I am trying to use Result , via carthage. After adding it to Build Phases/ Link Binary with Binaries and Embed Frameworks I am able to compile successfully, but I get an error stating (yes it says success and then error :S): No such module 'Result' On the import: import Result func serverRequest() -> Result<String, NSError> { ... } The build is able to Run and Compile, but I am not able to cmd+click on Result, for example. Edit 1: On Xcode 6.3.2 it works as expected. Edit 2

Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50: Xcode 10 Error

筅森魡賤 提交于 2019-11-29 01:23:44
Swift 4.2 came out and I'm receiving this error message in my project when using ObjectMapper and some other pods too: Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50 So how do I tell Xcode to start updating my project and migrate it to Swift 4.2? In Swift 4.2 there is a change in implementation of Implicitly Unwrapped Optional (IUO) , as per the swift blog now implicit unwrapped optional T! will be considered as T? with and extra flag for the compiler to know it is an implicit unwrap optional. The new mental model for IUOs is one where you consider ! to be a synonym for ?

What's the equivalent of “development pods” under Carthage?

女生的网名这么多〃 提交于 2019-11-28 23:49:25
The teams developing frameworks for our iOS app are migrating from Cocoapods to Carthage. Under Cocoapods, I could set up dependencies as "development pods". For example, instead of having the main app download a specific version of an xyzzy dependency, I could set up xyzzy as a development pod and point it to my local directory where I had checked out xyzzy from its Git repo. While I was working in the main app's project, any edits I'd do to xyzzy 's files would be made in that directory. This let me build and test changes immediately, and when I was ready to check them in, Git would find

How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

蓝咒 提交于 2019-11-28 23:25:44
I was wondering if there is something like private pods in Carthage , I have a couple of frameworks and I'm currently using git submodules , I started using Carthage for a new project and is pretty nice but so far I just configured it to manage third party Frameworks dependencies. I've checked the carthage documentation but is not that clear on how to set it up. Does Carthage work only with Github repos? Can it work with Atlassian-Stash (now Bitbucket )? If so how? So I finally found out how to setup Carthage with a Atlassian-Bitbucket on the Cartfile i Just need to define the dependency

Module file was created by an older version of the compiler

送分小仙女□ 提交于 2019-11-28 22:49:32
Using Carthage to manage my dependencies, everything runs fine in the simulator. However, when building for a device I get the following error: Module File was created by an older version of the compiler; rebuild Alamofire and try again: .../DerivedData/Build/Products/Debug-iPhones... I have tried what others suggested to similar issues: deleting my derived data, reinstalling Carthage and rebuilding the frameworks. However, the error has been persistent. Are you using the right version of xcodebuild? What do you see when you run xcode-select -p? It should be pointed at Xcode 7 if you want to

Change Carthage Swift version

拟墨画扇 提交于 2019-11-28 21:16:51
Is it possible to change Carthage Swift version used to build the frameworks? I'm trying to migrate my project to swift 3 (on Xcode 8 beta), and the third party libraries are the only thing that stops my project from compiling. While using specific branches for swift 3, Carthage throws errors about the new Swift syntax. Any help will be appreciated! Carthage uses the command line tool xcodebuild to build the frameworks. The version of Xcode used by the command line system is determined by the value selected by the tool xcode-select Usage: xcode-select [options] Print or change the path to the

“no such module” on Xcode 7 beta 2

余生颓废 提交于 2019-11-27 16:03:47
问题 I saw this question, but I am still unable to import a framework and use it inside Xcode 7 beta 2 (7A121l). So currently I am trying to use Result, via carthage. After adding it to Build Phases/ Link Binary with Binaries and Embed Frameworks I am able to compile successfully, but I get an error stating (yes it says success and then error :S): No such module 'Result' On the import: import Result func serverRequest() -> Result<String, NSError> { ... } The build is able to Run and Compile, but I

Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50: Xcode 10 Error

纵然是瞬间 提交于 2019-11-27 15:52:13
问题 Swift 4.2 came out and I'm receiving this error message in my project when using ObjectMapper and some other pods too: Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50 So how do I tell Xcode to start updating my project and migrate it to Swift 4.2? 回答1: In Swift 4.2 there is a change in implementation of Implicitly Unwrapped Optional (IUO) , as per the swift blog now implicit unwrapped optional T! will be considered as T? with and extra flag for the compiler to know it is

How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

两盒软妹~` 提交于 2019-11-27 14:47:34
问题 I was wondering if there is something like private pods in Carthage , I have a couple of frameworks and I'm currently using git submodules , I started using Carthage for a new project and is pretty nice but so far I just configured it to manage third party Frameworks dependencies. I've checked the carthage documentation but is not that clear on how to set it up. Does Carthage work only with Github repos? Can it work with Atlassian-Stash (now Bitbucket )? If so how? 回答1: So I finally found out

那些在学习iOS开发前就应该知道的事(part 2)

◇◆丶佛笑我妖孽 提交于 2019-11-27 12:04:41
英文原文: Things I wish I had known before starting iOS development—Part 2 如果你还没读这篇文章的第一部分,请先读完了再来看第二部分。 那些在学习iOS开发前就应该知道的事(part 1) : 设计师设计出来了一个不错的引导界面,然而当我看到设计稿的时候,我们的app也没几天就要上线了…… 在第一部分中,我讨论了学习iOS开发的一些基本问题。第二部分将更多地讨论一些实际问题,这些问题都是你在开发iOS应用时会遇到的。 Debugging 毋庸置疑,你在开发应用的过程中一定会遇到很多错误和异常。比如,你会遇到NSInvalidArgumentException,遇到NSInternalInconsistencyException,还会遇到“0xfaded322”这种错误代码。有时候你可以在Stack Overflow或Quora上找到答案,但大部分时候你得自力更生。 Xcode具有断点、视图调试和日志的功能,是debug的不二之选。但毕竟孤掌难鸣,你仍需为它找些得力的帮手。 1.Pony Debugger square/PonyDebugger : PonyDebugger - 使用Chrome Developer Tools,为你的native iOS应用进行远程网络和数据调试。 square开发了这个强大的开源工具