carthage

Bitcode disabled on Carthage dependencies

杀马特。学长 韩版系。学妹 提交于 2019-12-06 00:22:07
Scenario My project (codebase shared for iOS/watchOS/tvOS ) has build settings with ENABLE_BITCODE = YES and takes advantage of fundamental libraries which are not yet supporting bitcode, although quoting Apple documentation in App Thinning Bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode I am currently integrating those fundamental libraries with Carthage. Problem In order to have a clean build process, I tried to submit some pull requests

How to move from CocoaPods to Carthage?

ⅰ亾dé卋堺 提交于 2019-12-05 17:46:59
My project has linked with like 30 different libraries. Very few of them support Carthage. Do I need to make a branch and make them support Carthage one by one? Is there any better way to do so? The carthage idea is based on frameworks. So if your dependencies do not support them, carthage is unable to build them for you. Simple as that. But: You can use carthage also to manage dependencies only by using the param "--no-build". Then carthage will only fetch the dependencies into your Carthage/Checkouts folder. There are some drawbacks: depending on the project you have to add the projects of

How to uninstall Carthage from OS X?

孤街浪徒 提交于 2019-12-03 23:49:47
Somehow, my Carthage installation is corrupted (seems like I have two versions installed) due to the fact that I installed using the Carthage.pkg file then also with brew install carthage . I'd like to completely remove Carthage(s) but can't find the way to do so. In order to delete Carthage installed from: Carthage.pkg : $ rm -rf /usr/local/bin/carthage $ sudo rm -rf /Library/Frameworks/CarthageKit.framework Homebrew : $ brew uninstall --force carthage To remove carthage installed by brew: brew uninstall carthage To remove all versions of carthage installed by brew: brew uninstall --force

Using Carthage and CocoaPods in the same project

随声附和 提交于 2019-12-03 15:46:17
问题 I'm currently looking at a library which only supports Carthage as a package manager. The project I'm looking to integrate it with already has some CocoaPods dependencies. Has anybody tried using both of these managers at the same time? It strikes me as a bad idea, but I'd love to hear if this is the case in practice. 回答1: The main issue you will run into is that CocoaPods and Carthage are not aware of each other. This means that if a dependency managed by CocoaPods and a dependency by

Uninstall/remove Carthage from iOS/xCode project?

别来无恙 提交于 2019-12-03 14:41:23
问题 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. 回答1: 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.

iOS - watchOS App publishing issue CFBundleIdentifier collision

Deadly 提交于 2019-12-03 12:16:13
After the app uploading I receive the following email We identified one or more issues with a recent delivery for your app, XXX. Please correct the following issues, then upload again. ITMS-90806: CFBundleIdentifier collision - Each bundle must have a unique bundle identifier. The bundle identifier 'org.cocoapods.CocoaLumberjack' is used in the bundles '[CocoaLumberjack.framework, CocoaLumberjack.framework]' CocoaLumberjack is a third party library that I've already used in the past a lot of times without any problem, I am pretty confused. It is not related to the framework's .plist keyword

The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have installed Appium 1.6.4 on Mac using Terminal. Also I can able to inspect iPhone WebElements using Safari Browser in MAC. But I need to inspect the keyboard elements and date picker elements on iPhone real device. For this, I have again installed Appium-desktop 1.0.2 beta2 version. When I launch the Appium desktop(GUI) and run the selenium code. It throws the below error. XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/D3F3B94A-A324

Can/How Should I replace my KVO stuff with RC3?

我是研究僧i 提交于 2019-12-03 08:26:18
I'm trying to port an objc app which uses Facebook's KVOController, to Swift. I've been encouraged to look at RC3 as an alternate and more Swiftish approach. I've read some blogs and I'm encouraged to give this a try. But much of the docs and blogs seem to concentrate on sockets and timers as examples. So I have two simple questions right now: 1) Given an objc fragment like: [self.KVOController observe: self.site keyPath: @"programs" options: NSKeyValueObservingOptionInitial block:^(id observer, id object, NSDictionary *change) { [self.tableView reloadData]; }]; What is the simple way to

How to clear Carthage cache?

北慕城南 提交于 2019-12-03 06:33:08
问题 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 回答1: 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-03 05:35:44
问题 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