EricssonResearch / openwebrtc-ios-sdk

SDK for adding OpenWebRTC to your iOS apps using CocoaPods
BSD 2-Clause "Simplified" License
69 stars 37 forks source link

Installing OpenWebRTC do not go on #37

Closed taojigu closed 9 years ago

taojigu commented 9 years ago

I run "pod install" under NativeDemo, cocoapods version:0.38.2

The result is followed, it seems "Installing OpenWebRTC (0.3.1)" forever, no go on.

Updating local specs repositories Analyzing dependencies Pre-downloading: OpenWebRTC-SDK from https://github.com/EricssonResearch/openwebrtc-ios-sdk.git Downloading dependencies Using InAppSettingsKit (2.4.4) Installing OpenWebRTC (0.3.1)

stefanalund commented 9 years ago

Seems like you cannot download the OpenWebRTC.framework file included in OpenWebRTC pod. Are you by any chance behind a strict firewall?

Try running "pod install --verbose" to paste the extra info here.

taojigu commented 9 years ago

Install successfully. But it show "file not found" error in OpenWebRTC-SDK Project:

not found "owr.h" in OpenWebRTC.h not found < owr_bridge.h > in OpenWebRTCViewController.m

stefanalund commented 9 years ago

Try removing both /Pods folder and Podfile.lock before again running pod install --verbose.

taojigu commented 9 years ago

I delete /Pods and Podfile.lock , re-pod install . In NativeDemo But "owr.h" is not found in "OpenWebRTC.h" and "OpenWebRTCNativeHandler.m"

stefanalund commented 9 years ago

I have seen this error when using newer CocoaPods than 0.38.2, but you said you were using 0.38.2, right?

taojigu commented 9 years ago

There are 3 version of cocoapods on my Mac :0.36.0; 0.38.2; 0.39.0 ; I unstall the 0.39.0, defautl version is 0.38.2, but The error still exist.

stefanalund commented 9 years ago

And you got no errors or warnings when running pod install --verbose?

taojigu commented 9 years ago

I have not seen any error or warning, The result is

-> Installing OpenWebRTC-SDK (0.3)

Generating Pods project

Integrating client project

Integrating target Pods-NativeDemo (NativeDemo.xcodeproj project)

Integrating target Pods-NativeDemoTests (NativeDemo.xcodeproj project)

Sending stats

Sending stats

stefanalund commented 9 years ago

And you are opening the NativeDemo.xcworkspace file?

taojigu commented 9 years ago

Yes, I open the workspace file

stefanalund commented 9 years ago

Really sorry but I cannot reproduce this. We recently landed updates to NativeDemo, could you please update to current master and try again? Thanks.

taojigu commented 9 years ago

I update the NativeDemo , it works now, Thank you

stefanalund commented 9 years ago

Great! No problem.