Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

link error for IOS simulator #247

Open
shleehyun opened this issue Dec 9, 2021 · 8 comments
Open

link error for IOS simulator #247

shleehyun opened this issue Dec 9, 2021 · 8 comments

Comments

@shleehyun
Copy link

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
Copy link

@shleehyun have you resolved this issue?

@Nagamuni10
Copy link

@shleehyun Is it resolved ?

@shleehyun
Copy link
Author

@shleehyun have you resolved this issue?

I resolved it for modifying the shell script .

@Nagamuni10
Copy link

Can you please share the script here @shleehyun ?

@palindrom228
Copy link

@Nagamuni10 add arm64 to excluded arch in target project

@Nagamuni10
Copy link

ohh okay. Thanks for the reply.

@shleehyun
Copy link
Author

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

@Nagamuni10
Copy link

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants