के साथ बिल्ड करें मेरे पास "कोकोपोड" (शब्दावली?) है जो वर्तमान में संस्करण 1.1 पर है।कोकोपोड्स - एक्सकोड 9/स्विफ्ट 2 के लिए एक्सकोड-बीटा
वहाँ भी है एक रेपो कि स्विफ्ट 2.0 की आवश्यकता है की शाखा का विकास एक PodSpec साथ इस प्रकार है (ताकि आईओएस 9.0 के आधार एसडीके की जरूरत है):
Pod::Spec.new do |s|
s.name = 'ReachabilitySwift'
s.version = '2.0-beta1'
s.homepage = 'https://github.com/ashleymills/Reachability.swift'
s.authors = {
'Ashley Mills' => '[email protected]'
}
s.summary = 'Replacement for Apple\'s Reachability re-written in Swift with callbacks.'
s.license = { :type => 'MIT' }
# Source Info
s.ios.platform = :ios, "9.0"
s.osx.platform = :osx, "10.11"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.source = {
:git => 'https://github.com/ashleymills/Reachability.swift.git',
:branch => 'develop',
:tag => 'v'+s.version.to_s
}
s.source_files = 'Reachability.swift'
s.framework = 'SystemConfiguration'
s.requires_arc = true
end
PodSpec मान्य करने के लिए विफल रहता है (pod spec lint
) के रूप में यह एक्सकोड 8.3 का उपयोग करता है। मैं नवीनतम एक्सकोड-बीटा का उपयोग करने के लिए इसे कैसे मजबूर करूं?
यदि आप इसके बजाय स्क्रीनशॉट पर एक लिंक पोस्ट करना चाहते हैं, तो हम आपके लिए संपादित कर सकते हैं। –
ग्रेट उत्तर, धन्यवाद –