VoIPGRID / VialerSIPLib

An Objective-c wrapper for PJSIP
GNU General Public License v3.0
133 stars 69 forks source link

link error for IOS simulator #247

Open shleehyun opened 2 years ago

shleehyun commented 2 years ago

I got link error as following for xcode 13 simulator ..

ld: in ./VialerSIPLib/Example/Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP(darwin_dev.o), building for iOS Simulator, but linking in object file built for iOS, file './VialerSIPLib/Example/Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP' for architecture arm64

I don't know how to resolve it ...

palindrom228 commented 2 years ago

@shleehyun have you resolved this issue?

Nagamuni10 commented 2 years ago

@shleehyun Is it resolved ?

shleehyun commented 2 years ago

@shleehyun have you resolved this issue?

I resolved it for modifying the shell script .

Nagamuni10 commented 2 years ago

Can you please share the script here @shleehyun ?

palindrom228 commented 2 years ago

@Nagamuni10 add arm64 to excluded arch in target project

Nagamuni10 commented 2 years ago

ohh okay. Thanks for the reply.

shleehyun commented 2 years ago

I compiled it on mac mini m1 so I changed cflag option adding ios simulator sdk in arm64 vialersimulator.sh.zip

Nagamuni10 commented 2 years ago

Hey @shleehyun , vialersimulator.sh: line 812: syntax error near unexpected token `<'

I got that error when i used the script you have shared.