Đây là cách tôi cố định nó.
Bước 1
Cài đặt thông thường căn cứ hỏa lực - pod 'Firebase', '>= 2.5.1'
Bước 2
Update - pod update
* Tại thời điểm này nó sẽ mất một vài phút tốt để cập nhật. Bạn sẽ thấy một cái gì đó như thế này.
Update all pods
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing Firebase 3.2.0 (was 3.2.0)
Using FirebaseAnalytics (3.2.0)
Installing FirebaseAuth (3.0.2)
Using FirebaseDatabase (3.0.1)
Using FirebaseInstanceID (1.0.6)
Using GoogleInterchangeUtilities (1.2.1)
Installing GoogleNetworkingUtilities (1.2.1)
Using GoogleSymbolUtilities (1.1.1)
Using GoogleUtilities (1.3.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 10
total pods installed.
Bước 3
Bây giờ bạn nên có căn cứ hỏa lực 3. Vì vậy, bạn có thể thêm các khuôn khổ như vậy trong tập tin pod của bạn sau đó pod update
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'xMarket' do
end
target 'xMarketTests' do
end
target 'xMarketUITests' do
end
pod 'Firebase', '>= 2.5.1'
pod ‘Firebase/Core’
pod ‘Firebase/Database’
pod ‘Firebase/Auth’
Chúc may mắn!
bạn đã tạo Podfile chưa? –
Có. nó được tạo ra! –