Dieser Podspec schlägt auf der Linie pod 'SwiftyTimer', '~> 1.4'
mit Unable to find a specification for SwiftyTimer
. Es wird lokal gut installiert.Warum kann Travis-CI meine Cocoapod-Abhängigkeiten nicht finden?
Dinge, die ich habe versucht:
- die genaue URL für SwiftyTimer angeben (Immer noch nicht finden)
- manuell integrieren SwiftyTimer (es nicht nur auf meine nächste Abhängigkeit, und ich d wirklich auf dem Konzept der Abhängigkeiten nicht vollständig aufgeben möchte)
Mein Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target 'CWNotificationBanner_Example' do
pod 'SwiftyTimer', '~> 1.4'
pod 'CWNotificationBanner', :path => '../'
target 'CWNotificationBanner_Tests' do
inherit! :search_paths
pod 'Quick', '~> 0.8'
pod 'Nimble', '~> 3.0'
pod 'FBSnapshotTestCase'
pod 'Nimble-Snapshots'
end
end
Mein travis.yml:
language: objective-c
podfile: Example/Podfile
before_install:
- rvm install ruby-2.2.2 #cocoapods 1.0.0 requirement not yet supported ootb by travis
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
script:
- set -o pipefail && xctool test -workspace Example/CWNotificationBanner.xcworkspace -scheme CWNotificationBanner-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
Dank! Es läuft jetzt seit ungefähr 45 Minuten ... hoffentlich wird das nicht jedes Mal passieren? – buildsucceeded
Fehlgeschlagen nach 48 Minuten. Nimm 2, die jetzt läuft. – buildsucceeded
Nein: Gibt eine 4-MB-Protokolldatei an und klettert dann darüber. Irgendwelche anderen Ideen? :/ – buildsucceeded