EricssonResearch / bowser

A WebRTC browser for iOS developed in the open
BSD 2-Clause "Simplified" License
208 stars 65 forks source link

Failed to build Pods #78

Closed fbernhard closed 8 years ago

fbernhard commented 8 years ago

Dear team,

I am trying to build bowser in order to debug the webview. The Pods fail to download a dependency from http://static.verkstad.net, see below.

How can I build bowser differently?

Thanks and regards,

Fabian

cepheus:lib fubeh$ git clone https://github.com/EricssonResearch/bowser.git
Cloning into 'bowser'...
remote: Counting objects: 427, done.
remote: Total 427 (delta 0), reused 0 (delta 0), pack-reused 427
Receiving objects: 100% (427/427), 369.95 KiB | 415.00 KiB/s, done.
Resolving deltas: 100% (233/233), done.
Checking connectivity... done.
cepheus:lib fubeh$ cd bowser/bowser-ios/
cepheus:bowser-ios fubeh$ pod install
Updating local specs repositories

CocoaPods 1.0.0.beta.4 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Pre-downloading: `OpenWebRTC-SDK` from `https://github.com/EricssonResearch/openwebrtc-ios-sdk.git`, commit `d00dd8657df6dcb0212f1ff3f76cd8e6c780949c`
Downloading dependencies
Installing OpenWebRTC (0.3.91)

[!] Error installing OpenWebRTC
[!] /opt/local/bin/curl -f -L -o /var/folders/b0/q472nb855xs8zjdprg3l37w80000gn/T/d20160302-38094-hf0lws/file.zip http://static.verkstad.net/OpenWebRTC_0.3.91.zip --create-dirs

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to static.verkstad.net port 80: Connection refused
stefanalund commented 8 years ago

You are trying to download an old version of the pod (0.3.91) which is no longer available on that server. Please use the latest version 0.3.95.

To get the latest, run rm -rf Pods/ Podfile.lock and then pod install again.

fbernhard commented 8 years ago

Thanks, Stefan, this worked.

Now I receive a ld: library not found for -lOpenWebRTC-SDKerror even though OpenWebRTC-SDK is in the Pods directory.

Thanks for the support!

stefanalund commented 8 years ago

Are you opening the .xcworkspace file?

fbernhard commented 8 years ago

Ouch ...

Thanks for your support, all set now!