Vialer-pjsip-iOS icon indicating copy to clipboard operation
Vialer-pjsip-iOS copied to clipboard

file was built for unsupported file format

Open ltAldoRaine opened this issue 6 years ago • 15 comments

Version

{3.4.1}

Expected behaviour

{Build succeeded}

Actual behaviour

{Build failed}

Stacktrace / Error message

{ld: warning: ignoring file /Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): /Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP}

Other info

{ Undefined symbol: _pjsua_init Undefined symbol: _pjsua_transport_config_default Undefined symbol: _pjsua_logging_config_default Undefined symbol: _pjsua_transport_create Undefined symbol: _pjsua_config_default Undefined symbol: _pjsua_start Undefined symbol: _pjsua_create Undefined symbol: _pjsua_acc_config_default Undefined symbol: _pj_str Undefined symbol: _pjsua_acc_add }

ltAldoRaine avatar Sep 04 '19 11:09 ltAldoRaine

Try to delete the cocoa pods cache on your system:

rm -rf ${HOME}/Library/Caches/CocoaPods
rm -rf 'pwd'/Pods/
pod update

ChrisKontosEU avatar Sep 04 '19 11:09 ChrisKontosEU

still same

ltAldoRaine avatar Sep 04 '19 12:09 ltAldoRaine

Also try to delete DerivedData

vikingosegundo avatar Sep 04 '19 12:09 vikingosegundo

not working ..

ltAldoRaine avatar Sep 04 '19 13:09 ltAldoRaine

I have the same problem. I have already tried all the tips. Does not help. What am I doing wrong? Please help.

ignoring file /Users/michaelstudzitsky/Documents/Проекты/VialerSIPLib/Example/Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): /Users/michaelstudzitsky/Documents/Проекты/VialerSIPLib/Example/Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP Undefined symbols for architecture arm64: "_pjsua_acc_get_config", referenced from: -[VSLAccount registerAccountWithCompletion:] in libVialerSIPLib.a(VSLAccount.o) "_pjsua_acc_del", referenced from: -[VSLAccount removeAccount] in libVialerSIPLib.a(VSLAccount.o) "_pjsua_acc_config_default", referenced from: -[VSLAccount configureWithAccountConfiguration:error:] in libVialerSIPLib.a(VSLAccount.o) ......

mstudzitsky avatar Sep 05 '19 14:09 mstudzitsky

Check and try this:

  1. Click on your project in the upper left of the left pane.
  2. In the middle pane, click on the Build Phases tab.
  3. Under "Link Binary With Libraries", click on the plus button.
  4. Find the referenced framework from the list and hit Add.

ChrisKontosEU avatar Sep 06 '19 12:09 ChrisKontosEU

I have the same issue as well

florindumitru avatar Dec 18 '19 09:12 florindumitru

@florindumitru Have you tried all the above suggestions? What exactly is your error message?

ChrisKontosEU avatar Jan 07 '20 12:01 ChrisKontosEU

I have the same issue trying to compile VialerSIPLib_Example This looks like it finds the lib, but it's not liking it.

I've cleaned and updated everything I can.

ld: warning: ignoring file /Users/user_name/Downloads/VialerSIPLib-develop/Example/Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/VialerPJSIP, building for iOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) Undefined symbols for architecture arm64: "_pjsua_acc_get_config", referenced from: -[VSLAccount registerAccountWithCompletion:] in libVialerSIPLib.a(VSLAccount.o) "_pjsua_acc_del", referenced from: -[VSLAccount removeAccount] in libVialerSIPLib.a(VSLAccount.o) ...

raygun101 avatar Apr 08 '20 08:04 raygun101

I have very same issue. Guys any update on this?

m4r00p avatar Apr 16 '20 11:04 m4r00p

Same issue, any update?

ChauVV avatar Oct 29 '21 02:10 ChauVV

I have same issue, can i help me?

utnhim avatar Mar 30 '22 02:03 utnhim

same issue

HarelCrowded avatar Jun 13 '22 09:06 HarelCrowded

same issue

HaydarTaha avatar Aug 19 '22 13:08 HaydarTaha

same issue pls help

ngducn avatar Aug 23 '23 08:08 ngducn