pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.12k stars 448 forks source link

xCode 7, ios demo failed #136

Open T-tssxuan opened 8 years ago

T-tssxuan commented 8 years ago

When I building the project, I got the error info like this: "no such file or directory: 'webrtc-build-scripts/ios/webrtc/src/talk/examples/objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch'" I found the directory "/src/talk/examples/objc/" isn't exist, but why the demo project leading to that directory. Thanks.

atsakiridis commented 8 years ago

+1 Got this as well

atsakiridis commented 8 years ago

@T-tssxuan in case this helps, I worked around this by introducing a soft link directory at src/talk pointing at ../webrtc/examples. But after that I started getting errors about files missing (seems that example project structure has been changed by Google or something). And after resolving these I have now reached a point when the build fails during linking, getting 'Undefined symbols for architecture armv7', which is strange cause the library used has such symbols.

Anyone has any ideas how to properly build the AppRTCDemo application for XCode 7?

Thanks in advance!

atsakiridis commented 8 years ago

In case this is helpful to anyone else apart from @T-tssxuan in the future, here are the steps I took to get it to work in Xcode 7:

And that's about it I think

Best regards

T-tssxuan commented 8 years ago

@atsakiridis Could it be the version that the webRTC support is too old? I did not test it, because I need to investigate the server side solution for the video conference. Did you solve this problem? @atsakiridis If I get the solution, I will tell you immediately. Thanks.

atsakiridis commented 8 years ago

Not sure @T-tssxuan, I guess the pristineio folks can tell us which webrtc version they are currently using. From my side, I'm using #10255. Yes I was able to build AppRTCDemo. I was thinking of adding a Pull Request, but I first need to know if others have this issue or whether it only happens to us for some reason

dededecline commented 8 years ago

I'm having the same issue as well, along with one more:

clang: error: no input files
gingernaz commented 8 years ago

+1 Same here. There is also problem with WebRTC.framework (Xcode 7 only), simulator will fail with error:

Error=PackageInspectionFailed, ErrorDescription=Failed to load Info.plist from bundle