Linker errors when switching to WebRTC

Ask questions about the iOS API here

Linker errors when switching to WebRTC

Postby hoonsan » Wed Dec 05, 2012 4:21 pm

I'm trying to update our app to use the new WebRTC SDK and running into a lot of linker errors. It's similar to this forum post:
http://www.tokbox.com/forums/ios/architecture-linker-error-in-webrtc-ios-sdk-t14117

I attached a screenshot of some of the errors we're getting. I tried all the things that were mentioned in the thread above with no luck fixing the problem. For reference, here's what I've done so far to try to fix the problem:
- Pulled latest version from github
- Pulled the iOS sample app and followed instructions here which built fine, no linker errors
- Made sure we're only building for armv7 and not armv7s
- Made sure I was targeting a device and not the simulator

If it helps, my other linker flags are -ObjC -lsqlite3.0
Was this post helpful? (0)
Attachments
Screen Shot 2012-12-05 at 3.02.11 PM.png
hoonsan
 
Posts: 10
Joined: Wed Oct 17, 2012 11:31 am
Thumbs Up: 0

Re: Linker errors when switching to WebRTC

Postby don » Thu Dec 06, 2012 12:29 pm

Can you try removing your Other Linker flags and seeing if that clears up the issue?
Was this post helpful? (0)
don
 
Posts: 148
Joined: Wed Dec 14, 2011 1:45 pm
Thumbs Up: 11

Re: Linker errors when switching to WebRTC

Postby hoonsan » Thu Dec 06, 2012 2:18 pm

Yeah, I tried clearing that but was still getting the same errors.
Was this post helpful? (0)
hoonsan
 
Posts: 10
Joined: Wed Oct 17, 2012 11:31 am
Thumbs Up: 0

Re: Linker errors when switching to WebRTC

Postby don » Thu Dec 06, 2012 7:14 pm

What other 3rd party libraries are you using?
Was this post helpful? (0)
don
 
Posts: 148
Joined: Wed Dec 14, 2011 1:45 pm
Thumbs Up: 11

Re: Linker errors when switching to WebRTC

Postby hoonsan » Thu Dec 06, 2012 7:40 pm

The third party libraries we're using are Crittercism, Urban Airship, Mixpanel, and Pusher.
Was this post helpful? (0)
hoonsan
 
Posts: 10
Joined: Wed Oct 17, 2012 11:31 am
Thumbs Up: 0

Re: Linker errors when switching to WebRTC

Postby don » Fri Dec 07, 2012 3:15 pm

Ah, looks like you might be forgetting a framework link in there :)

Try adding the "libstdc++.dylib" to your Build Phases -> Link Binary with Libaries
Was this post helpful? (0)
don
 
Posts: 148
Joined: Wed Dec 14, 2011 1:45 pm
Thumbs Up: 11

Re: Linker errors when switching to WebRTC

Postby hoonsan » Mon Dec 10, 2012 3:17 pm

don wrote:Ah, looks like you might be forgetting a framework link in there :)

Try adding the "libstdc++.dylib" to your Build Phases -> Link Binary with Libaries


Adding that library fixed the build problems. Thanks Don.
Was this post helpful? (0)
hoonsan
 
Posts: 10
Joined: Wed Oct 17, 2012 11:31 am
Thumbs Up: 0


Return to iOS (Native)



Who is online

Users browsing this forum: No registered users and 1 guest

cron