carthage

umbrella header for module 'myFramework' does not include header 'otherFramework.h'

为君一笑 提交于 2019-12-31 09:50:14
问题 My Swift / iOS9 framework 'viewer_protocol' uses another and external Objective-C framework (CocoaAsyncSocket). I'm using Carthage to build CocoaAsyncSocket. So far everything works fine: In have an example App inside my framework Xcode Project using my framework without any problems. Now I want to use my Framework in a different Xcode Project - although using Carthage. I include only my Framework as a dependency and Carthage automatically resolves the dependencies to CocoaAsyncSocket. I

Module file was created by an older version of the compiler

我与影子孤独终老i 提交于 2019-12-29 04:30:06
问题 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. 回答1: Are you using the right version

Xcode 10 Could not find any available simulators for iOS when install Carthage dependencies

喜你入骨 提交于 2019-12-23 06:47:14
问题 I'm trying to install Carthage dependencies in my Xcode project with the Carthage bootstrap --platform iOS command line but It's fail and I have this message in my terminal: Could not find any available simulators for iOS I've just updated Xcode with the 10 version then the simulators are already installed. I've also tried to delete each one and reinstall only one with iOS 12. I have still the same error. 回答1: What worked for me was uninstalling Carthage and installing it again. brew

Appium+Python3+iOS真机环境搭建

有些话、适合烂在心里 提交于 2019-12-21 19:20:20
前言: Appium 是一个自动化测试开源工具,支持 iOS 平台和 Android 平台上的原生应用,web 应用和混合应用。 本次环境配置相关: macOS:10.13.4 Appium-desktop:1.6.1 Xcode:9.3.1 --- 一、环境配置 1、 安装homebrew: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )" 2、 安装 libimobiledevice : $ brew install libimobiledevice --HEAD 3、 安装carthage: $ brew install carthage 4、安装node: $ brew install node 5、安装npm: $ brew install npm 6、安装ios-deploy: $ npm install -g ios-deploy 8、安装xcpretty: $ gem install xcpretty 9、安装appium,appium-doctor 进入 官网 ,下载 Appium-1.6.1.dmg ,安装即可。 当然你可以使用命令:npm install -g appium来安装appium

iOS - watchOS App publishing issue CFBundleIdentifier collision

那年仲夏 提交于 2019-12-21 03:48:06
问题 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

How to use frameworks imported with carthage in swift playground

大兔子大兔子 提交于 2019-12-20 12:03:29
问题 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 :( 回答1: 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

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

試著忘記壹切 提交于 2019-12-20 11:19:12
问题 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

Xcode 9, Carthage. iTunes Connect Error: “Invalid Bundle - Disallowed LLVM instrumentation”

南楼画角 提交于 2019-12-20 08:18:23
问题 Today I downloaded Xcode 9 and made the necessary changes for my application to compile. The application is compiling and running locally without any issues. Using Xcode 9 I uploaded it to the App Store. Upload was successful without any errors. I then go the following email from Apple: Dear developer, We have discovered one or more issues with your recent delivery for "KiteSpotter - Kitesurf wind and weather forecast". To process your delivery, the following issues must be corrected: Invalid

How to select Swift toolchains when building with Carthage

北城以北 提交于 2019-12-19 10:08:15
问题 I am creating an iOS app and use Carthage to build external libraries. Since the libraries I use are currently both Swift 2 and Swift 3 I am in a bit of a squeeze. Thus I want to have one Swift 2 branch and one Swift 3 branch for development and then merge them when the libraries are all Swift 3 compatible. However, I am not able to select which toolchain for build for with Carthage (version 0.18). Here is the contents of my Cartfile: # Swift 2 libraries github "stephencelis/SQLite.swift" ~>

Change Carthage Swift version

女生的网名这么多〃 提交于 2019-12-17 23:27:36
问题 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! 回答1: Carthage uses the command line tool xcodebuild to build the frameworks. The version of Xcode used by the command line system is determined