carthage

Uninstall/remove Carthage from iOS/xCode project?

白昼怎懂夜的黑 提交于 2019-12-03 04:27:41
Here is a link to Carthage : https://github.com/Carthage/Carthage It additionally adds some changes in project files so I can simply remove extra files/folders and it will work but I can't use Carthage in future again because of some errors. And of course there is no concrete instruction how to do it on its official page. Removing Carthage has actually been pretty easy for me. I simply copy my frameworks from the Carthage folder into a frameworks folder I have in my main project folder. Make sure they are added back to the Xcode project from their new location. Search the entire project in

what's the purpose of “--no-use-binaries” in carthage

我是研究僧i 提交于 2019-12-03 04:12:10
问题 As titled, what's the purpose of "--no-use-binaries" in carthage command line? if missing this, what could happen and what's the benefit to have this? 回答1: Sometimes the prebuilt frameworks are corrupted in the dependencies’ project, so you need to build them locally. Also, those prebuilt frameworks don’t support step-by-step debugging, so unless you build them locally, you won’t be able to use this feature with your dependencies. Using --no-use-binaries compiles the projects locally, using

Carthage: no shared framework schemes for iOS platform (for my own framework)

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I create a framework (called ProjectOne) built and tested it. I want to allow this framework to be used in Carthage . I edited my scheme and made the default "ProjectOne" scheme shared in XCODE . I did a carthage build and verified that the framework was build in Carthage/Build/iOS . I then push to github and and create a release. In another project, I'm using this framework. But, carthage reports "Dependency ProjectOne has no shared framework schemes for any of the platforms: iOS" . I'm pretty sure I shared the scheme in ProjectOne - does

How to use frameworks imported with carthage in swift playground

流过昼夜 提交于 2019-12-03 02:09:21
i have a swift project with some frameworks added via carthage. Is it possible to use those frameworks in playground inside project and how to use it, because import Argo doesn't work :( This stopped working at some point. Sigh What I do now is Create a macOS > Command Line Tool. Create a Cartfile with github "ReactiveX/RxSwift" and run carthage update --platform iOS Go to the command line tool target and add the frameworks from Carthage/Build/iOS in Linked frameworks and Libraries Add the playground files. At this point I’m able to run the playground files. 🤷🏻‍♂️ A playground has access to

Submit to App Store issues: Unsupported Architecture x86

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: So i am trying to use the shopify API. When i archive the app and validate it then there are no issues but when i submit it to the app store then it gives me the following issues. ERROR ITMS-90087: "Unsupported Architecture. Your executable contains unsupported architecture '[x86_64, i386]'." ERROR ITMS-90209: "Invalid segment Alignment. The App Binary at SJAPP.app/Frameworks/Buy.framework/Buy does not have proper segment alignment. Try rebuilding the app with the latest xcode version." (I am already using the latest version.)

How to correctly create carthage cartfile?

柔情痞子 提交于 2019-12-03 01:28:36
问题 I'm looking into cartfile. Can't wait to "simply create a cartfile" like all the instructions say to do. Only... how do you "simply" create a Cartfile? I've created a plain text document, named it cartfile and copied some dependencies in it. Ran carthage update inside my root project directory Get this error: "No such file in directory" Downloaded an example carthage project and the Cartfile is actually an executable.. So how do I "simply create" a Cartfile, cause there aren't any

Carthage update error: “GitHub API request failed: Bad credentials”

匿名 (未验证) 提交于 2019-12-03 00:52:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Here is my Cartfile: # Kanna HTML parsing library github "tid-kijyun/Kanna" ~> 1.0 . 0 # Realm database/ORM github "realm/realm-cocoa" When I run carthage update I get this: $ carthage -- version Unrecognized command : '--version' . See `carthage help` . $ carthage update -- platform OSX *** Fetching realm - cocoa *** Fetching Kanna *** Skipped downloading realm - cocoa . framework binary due to the error : "GitHub API request failed: Bad credentials" *** Checking out realm - cocoa at "v0.98.3" *** Skipped downloading Kanna .

IOS XCode10.1使用Carthage管理第三方运行报错 Library not loaded 的解决办法

匿名 (未验证) 提交于 2019-12-03 00:03:02
在用Carthage管理第三方库的时候,需要自己添加第三方库的framework到自己的项目下面,百度上找到都是说添加到 General -> Linked Frameworks and Libraries 下面,但是我这样做了之后编译没问题,但是运行就报错 Library not loaded, 后来找到别人的解决办法说是要在 General -> Embed Frameworks 也添加( https://blog.csdn.net/asdf_2012/article/details/50800791 ),但这是比较早的XCode了,在XCode10.1上应该改为 General -> Embedded Binaries 了。另外我发现在 General -> Embedded Binaries 添加了framework之后,General -> Linked Frameworks and Libraries 下面会自动也添加上,所以,只需要在 General -> Embedded Binaries 上添加就可以。 来源:51CTO 作者: 风轻云淡v10 链接:https://blog.csdn.net/zhumj_zhumj/article/details/100745329

How to clear Carthage cache?

对着背影说爱祢 提交于 2019-12-02 21:08:44
I use Carthage dependencies manager in my iOS projects and I am wondering what is the best way to clean its cache in case some issues with update occur The solution from here helped me, we should call it like: rm -rf ~/Library/Caches/org.carthage.CarthageKit 来源: https://stackoverflow.com/questions/45504896/how-to-clear-carthage-cache

Carthage: How to get the very latest version of a given repository?

♀尐吖头ヾ 提交于 2019-12-02 18:54:07
The Cartfile documentation makes the assertion: If no version requirement is given, any version of the dependency is allowed. with the contradictory example: # Use the latest version github "jspahrsummers/xcconfigs" Furthermore, it is not stated, but from testing, I infer that "latest" is actually the version of the latest tag. Is this interpretation correct? And if so, how does one specify the very latest commit - do you have to manually check and specify the latest commit, or is there a simpler way? The documentation states Carthage supports several kinds of version requirements: >= 1.0 for