我做了一切,但仍然不工作!正如你看到我不能使用Alamofire關鍵字(我進口Alamofire,重新安裝alamofire 4.4也試過alamofire 3,也更新和雙重檢查一切有關cocoapods和一切安裝正確)我正在做的過程中,我被困2天..:Alamofire問題不能使用
-1
A
回答
0
試試這個:
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'PROJECT NAME HERE' do
use_frameworks!
pod 'Alamofire',
:git => 'https://github.com/Alamofire/Alamofire.git',
:branch => 'swift3'
end
0
1.open終端進入你的項目路徑(CD路徑) 2.創建Podfile使用命令「吊艙初始化」使用 3.Open莢文件「打開Podfile」,並添加 pod'Alamofire', :git =>'https://github.com/Alamofire/Alamofire.git', :branch =>'swift3' 4.運行命令「pod install」 5.打開工作空間並享受
+0
我之前沒有做過(我知道鋤頭的初始豆莢和可可豆莢...) –
相關問題
- 1. 問題用Alamofire
- 2. Alamofire下載問題
- 3. Alamofire緩存問題
- 4. 不能安裝alamofire 1.3使用的CocoaPods
- 5. 問題與Alamofire請求
- 6. Alamofire POST請求的問題
- 7. Alamofire遷移問題與ParamerterEncoding
- 8. Alamofire請求問題,同時使用標題
- 9. Alamofire responseObject不能用於Bool響應
- 10. 使用Xcode 6.3.1的Alamofire請求在Swift中出現問題
- 11. 使用Alamofire設置正確尺寸圖像時出現問題
- 12. 使用Alamofire不應用HTTP POST標題數據
- 13. Swift 3:Alamofire POST請求參數問題
- 14. Alamofire下載文件與進展問題
- 15. 問題與全局變量和Alamofire
- 16. Alamofire 4.0證書無效問題
- 17. Foursquare API檢查Alamofire請求的問題
- 18. 問題做參數編碼與Alamofire 4.0
- 19. Swift 3 Alamofire Swifty json解析問題
- 20. Swift 3 - 不能使用陣列製作的Alamofire請求
- 21. POST請求不能在swift3中使用alamofire
- 22. 如何使用alamofire
- 23. 使用alamofire + swift獲取動態加載的html使用alamofire + swift
- 24. 試圖訪問Alamofire
- 25. Alamofire 4.3不能發送JSON請求
- 26. 不能在Swift 4中做Alamofire請求
- 27. Alamofire不能得到斯威夫特2
- 28. 使用FaceBook時出現問題Javascript SDK不能訪問UI
- 29. 用Alamofire顯示桌面單元格圖像的問題
- 30. 使用Jtwitter的用戶功能問題
我之前沒做過這個工作 –