蘑菇街TeamTalk編譯連接過程中遇到的問題及解決方法(iOS)


今天瀏覽博文的時候,“蘑菇街開源的即時通訊框架,包括iOS、Android、Mac、Windows客戶端和后台
Github源碼下載地址: https://github.com/mogujie/TeamTalk ”這段話吸引了我,我就git clone  https://github.com/mogujie/TeamTalk.git  到本地。一運行,沒想到出現了很多問題。沒辦法,只能一個一個的解決,為了總結一下解決的思路以及過程,所以我寫下了這片文章。
 
下面就詳細介紹一下:
1. error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
 
 
解決方法: 終端:pod install 
 
 
解決方法:最后發現庫缺失,
終端命令:pod search fabric 
-> Fabric (1.6.7)
   Fabric by Twitter, Inc.
   pod 'Fabric', '~> 1.6.7'
   - Homepage: https://fabric.io
   - Source:   https://kit-downloads.fabric.io/cocoapods/fabric/1.6.7/fabric.zip
   - Versions: 1.6.7, 1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6.0, 1.5.5,
   1.5.4, 1.5.3, 1.5.1, 1.5.0, 1.4.1, 1.4.0, 1.2.8 [master repo]
 
終端命令:pod search crashlytics
-> Crashlytics (3.7.0)
   Best and lightest-weight crash reporting for mobile, desktop and tvOS.
   pod 'Crashlytics', '~> 3.7.0'
   - Homepage: https://get.fabric.io/crashlytics
   - Source: 
   https://kit-downloads.fabric.io/cocoapods/crashlytics/3.7.0/crashlytics.zip
   - Versions: 3.7.0, 3.6.0, 3.5.0, 3.4.1, 3.4.0, 3.3.4, 3.3.3, 3.3.1, 3.3.0,
   3.2.0, 3.1.1, 3.1.0, 3.0.11 [master repo]
podfile中添加 pod 'Fabric', '~> 1.6.7’ 和 pod 'Crashlytics', '~> 3.7.0'
終端命令:pod install 
 
3./Debug-iphonesimulator/TeamTalk.build/Script-817CB3AD1B3BC68D0004AFEA.sh: line 2: ./Fabric.framework/run: No such file or directory
 
 
解決方法:remove the fabric script from run script
 
 
 
OK,現在就可以成功在模擬器上面跑起來了。
后續如果還有問題的話,我會及時更新在這里。
 
 
 
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM