Xcode 4 and Unity 3.4 build errors

Hello,

I updated to Lion, Xcode 4, and Unity 3.4 (8GB downloads sigh), and now I am getting build errors when building for iOS:

Undefined symbols for architecture armv6:
  "_FMOD_OggVorbis_ReAlloc", referenced from:
      __FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
      _FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
      _FMOD_ogg_stream_pagein in libiPhone-lib.a(framing.o)
      __fetch_headers in libiPhone-lib.a(vorbisfile.o)
      __bisect_forward_serialno in libiPhone-lib.a(vorbisfile.o)
  "_FMOD_OggVorbis_Calloc", referenced from:
      _FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
      _FMOD_floor1_look in libiPhone-lib.a(floor1.o)
      _FMOD_floor1_unpack in libiPhone-lib.a(floor1.o)
      _FMOD_vorbis_synthesis_headerin in libiPhone-lib.a(info.o)
      _FMOD_vorbis_info_init in libiPhone-lib.a(info.o)
      _FMOD_mapping0_unpack in libiPhone-lib.a(mapping0.o)
      _FMOD_res0_look in libiPhone-lib.a(res0.o)
      ...
  "_FMOD_OggVorbis_Malloc", referenced from:
      __FMOD_vorbis_block_alloc in libiPhone-lib.a(block.o)
      _FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
      _FMOD_vorbis_staticbook_unpack in libiPhone-lib.a(codebook.o)
      _FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
      _FMOD_ogg_stream_init in libiPhone-lib.a(framing.o)
      _FMOD_mdct_init in libiPhone-lib.a(mdct.o)
      _FMOD_res0_look in libiPhone-lib.a(res0.o)
      ...
  "_FMOD_OggVorbis_Free", referenced from:
      __FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
      _FMOD_vorbis_dsp_clear in libiPhone-lib.a(block.o)
      _FMOD_vorbis_block_clear in libiPhone-lib.a(block.o)
      _FMOD_floor1_free_look in libiPhone-lib.a(floor1.o)
      _FMOD_floor1_free_info in libiPhone-lib.a(floor1.o)
      _FMOD_ogg_sync_clear in libiPhone-lib.a(framing.o)
      _FMOD_ogg_sync_destroy in libiPhone-lib.a(framing.o)
      ...
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

I also tried to build for armv7, same result.

Any help is appreciated :slight_smile:

I am also having this issue, but only when deploying to my device. I can deploy just fine to the iPhone Simulator. I have looked and looked and found no answers.

Similar problems might occur if wrong active scheme is selected in Xcode (like “Unity-iPhone-simulator” is selected instead of “Unity-iPhone”) .

Yeah I get that too. I haven’t been able to figure out what’s causing it. I was at least able to deploy to my device with 3.3. I actually reduced this to a simple hello world example and if failed to deploy.

I also tried compiling a basic app and have got the same link errors:
Undefined symbols for architecture armv7:
“_FMOD_OggVorbis_ReAlloc”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_pagein in libiPhone-lib.a(framing.o)
__fetch_headers in libiPhone-lib.a(vorbisfile.o)
__bisect_forward_serialno in libiPhone-lib.a(vorbisfile.o)
“_FMOD_OggVorbis_Calloc”, referenced from:
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_floor1_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_unpack in libiPhone-lib.a(floor1.o)
_FMOD_vorbis_synthesis_headerin in libiPhone-lib.a(info.o)
_FMOD_vorbis_info_init in libiPhone-lib.a(info.o)
_FMOD_mapping0_unpack in libiPhone-lib.a(mapping0.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Malloc”, referenced from:
__FMOD_vorbis_block_alloc in libiPhone-lib.a(block.o)
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_vorbis_staticbook_unpack in libiPhone-lib.a(codebook.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_init in libiPhone-lib.a(framing.o)
_FMOD_mdct_init in libiPhone-lib.a(mdct.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Free”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_vorbis_dsp_clear in libiPhone-lib.a(block.o)
_FMOD_vorbis_block_clear in libiPhone-lib.a(block.o)
_FMOD_floor1_free_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_free_info in libiPhone-lib.a(floor1.o)
_FMOD_ogg_sync_clear in libiPhone-lib.a(framing.o)
_FMOD_ogg_sync_destroy in libiPhone-lib.a(framing.o)

ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

Doesn’t matter if I compile in armv6 or armv7… Any help would be appreciated.

I have Lion with Unity 3.4.1f5 trial and XCode 4.1…

Seems to build ok if I build iphone-simulator->iOS Device. But then it will crash when it runs on device: http://answers.unity3d.com/questions/56664/problem-with-deploying-to-devicesimulator.html
So… don’t really know what to do here…

Please extract your stack trace and paste it here. Instruction can be found on troubleshooting page : http://unity3d.com/support/documentation/Manual/TroubleShooting.html#iPhoneTroubleShooting .
Thanks!

Hi Mantas, thanks for your reply and offer to help. My stack trace is as follows:

This GDB was configured as "--host=x86_64-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
target remote-mobile /tmp/.XcodeGDBRemote-38234-40
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11523 thread 0x0]
[Switching to process 11523 thread 0x0]
sharedlibrary apply-load-rules all
warning: Unable to read symbols for /Library/MobileSubstrate/MobileSubstrate.dylib (file not found).
warning: No copy of MobileSubstrate.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/MobileLoader.dylib (file not found).
warning: No copy of MobileLoader.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
2011-10-18 23:51:59.561 mishap[2536:307] MS:Notice: Installing: com.96threeFM.radio [mishap] (550.38)
2011-10-18 23:51:59.769 mishap[2536:307] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/Activator.dylib (file not found).
warning: No copy of Activator.dylib found locally, reading from memory on remote device.  This may slow down the debug session.
2011-10-18 23:52:00.571 mishap[2536:307] -> registered mono modules 0xaa2904
-> applicationDidFinishLaunching()
* Assertion: should not be reached at tramp-arm.c:724

(gdb) thread apply all bt

Thread 4 (thread 12803):
#0  0x30deec98 in mach_msg_trap ()
#1  0x30df0d6a in mach_msg ()
#2  0x349adc3e in __CFRunLoopServiceMachPort ()
#3  0x349ad4c8 in __CFRunLoopRun ()
#4  0x349ad276 in CFRunLoopRunSpecific ()
#5  0x349ad17e in CFRunLoopRunInMode ()
#6  0x34a5c4e8 in RunWebThread ()
#7  0x30e68284 in _pthread_start ()
#8  0x30e5d2b0 in thread_start ()
Current language:  auto; currently c++

Thread 3 (thread 12547):
#0  0x30e6919c in __workq_kernreturn ()
#1  0x30e68796 in _pthread_wqthread ()
#2  0x30e61198 in start_wqthread ()

Thread 2 (thread 12291):
#0  0x30e1b330 in kevent ()
#1  0x30ec4b74 in _dispatch_mgr_invoke ()
#2  0x30ec45c4 in _dispatch_queue_invoke ()
#3  0x30ec4764 in _dispatch_worker_thread2 ()
#4  0x30e68680 in _pthread_wqthread ()
#5  0x30e61198 in start_wqthread ()

Thread 1 (thread 11523):
#0  0x30e66ac8 in __kill ()
#1  0x30e66abe in kill ()
#2  0x30e66ab0 in raise ()
#3  0x30e7b040 in abort ()
#4  0x009db358 in g_logv ()
#5  0x009db398 in g_log ()
#6  0x008f7144 in mono_arch_create_trampoline_code ()
#7  0x008e270c in mono_trampolines_init ()
#8  0x008cd2f4 in mini_init ()
#9  0x008d2298 in mono_jit_init_version ()
#10 0x006180cc in InitializeMonoFromMain (monoPaths=@0x2fffdc20, monoConfigPath=<value temporarily unavailable, due to optimizations>, argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at /Applications/buildAgent/work/842f9557127e852/Runtime/Mono/MonoManager.cpp:2019
#11 0x00499fa0 in UnityInitApplication (appPathName=0x144c380 "/var/mobile/Applications/EB3D41CD-423D-44A7-BA1E-32FFAFA558E1/mishap.app") at /Applications/buildAgent/work/842f9557127e852/PlatformDependent/iPhonePlayer/LibEntryPoint.mm:486
#12 0x00003874 in -[AppController startUnity:] (self=0x140d3c0, _cmd=0xa312a2, application=0x14450a0) at /Users/Al/Programming/Unity/Mishap/Mishap/Classes/AppController.mm:710
#13 0x000034e0 in -[AppController applicationDidFinishLaunching:] (self=0x140d3c0, _cmd=0x32787008, application=0x14450a0) at /Users/Al/Programming/Unity/Mishap/Mishap/Classes/AppController.mm:766
#14 0x315ba4bc in -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] ()
#15 0x315b09e6 in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] ()
#16 0x31609fdc in -[UIApplication handleEvent:withNewEvent:] ()
#17 0x31609900 in -[UIApplication sendEvent:] ()
#18 0x31609336 in _UIApplicationHandleEvent ()
#19 0x311dd04a in PurpleEventCallback ()
#20 0x349bace2 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#21 0x349baca6 in __CFRunLoopDoSource1 ()
#22 0x349ad56c in __CFRunLoopRun ()
#23 0x349ad276 in CFRunLoopRunSpecific ()
#24 0x349ad17e in CFRunLoopRunInMode ()
#25 0x315b0102 in -[UIApplication _run] ()
#26 0x315ae12e in UIApplicationMain ()
#27 0x000057c0 in main (argc=1, argv=0x2ffff3e8) at /Users/Al/Programming/Unity/Mishap/Mishap/Classes/main.mm:21
(gdb)

Assert doesn’t look good. Please submit your unity project as bug report and send me a message with your case number.
Thanks!

+1

I’m having the exact same issue. Here’s my setup:

Unity 3.4.2f2 (note: it is a trial license)
XCode 4.1 (4B110)SDKs:
Installed SDKs:
Mac OS X:
10.6: (10J567)
10.7: (11A511a)
iPhone OS:
4.3: (8H7)
iPhone Simulator:
4.3: (8H7)

I’m building a very simple scene with a single 3D object with the following Player Settings:
SDK Version: iOS Simulator 4.3
Target iOS Version: 4.3

Here are the specific build errors I get when attempting to build in Xcode:
Build target Unity-iPhone

Undefined symbols for architecture i386:
“_mono_aot_module_Assembly_CSharp_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_Assembly_UnityScript_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_System_Core_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_mscorlib_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_Assembly_CSharp_firstpass_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_UnityEngine_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_ficall_flag”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“DecompressDXT1(int, int, int, unsigned long const*, unsigned long*)”, referenced from:
UnpackBlock(void*, unsigned long, unsigned long, unsigned long*)in libiPhone-lib.a(WiiTextureCompression.o)
“_FMOD_OggVorbis_Malloc”, referenced from:
__FMOD_vorbis_block_alloc in libiPhone-lib.a(block.o)
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_vorbis_staticbook_unpack in libiPhone-lib.a(codebook.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_init in libiPhone-lib.a(framing.o)
_FMOD_mdct_init in libiPhone-lib.a(mdct.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Free”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_vorbis_dsp_clear in libiPhone-lib.a(block.o)
_FMOD_vorbis_block_clear in libiPhone-lib.a(block.o)
_FMOD_floor1_free_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_free_info in libiPhone-lib.a(floor1.o)
_FMOD_ogg_sync_clear in libiPhone-lib.a(framing.o)
_FMOD_ogg_sync_destroy in libiPhone-lib.a(framing.o)

“_FMOD_OggVorbis_ReAlloc”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_pagein in libiPhone-lib.a(framing.o)
__fetch_headers in libiPhone-lib.a(vorbisfile.o)
__bisect_forward_serialno in libiPhone-lib.a(vorbisfile.o)
“_FMOD_OggVorbis_Calloc”, referenced from:
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_floor1_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_unpack in libiPhone-lib.a(floor1.o)
_FMOD_vorbis_synthesis_headerin in libiPhone-lib.a(info.o)
_FMOD_vorbis_info_init in libiPhone-lib.a(info.o)
_FMOD_mapping0_unpack in libiPhone-lib.a(mapping0.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Hi Giant Squid.
The problem should be fixed when you upgrade to XCode 4.2. (At least it has been with me).

If you are building for simulator then in Xcode you should pick “Unity-iPhone-simulator” build target instead of “Unity-iPhone”. Otherwise if you want to build for device then in Unity Player Settings you should choose non-simulator SDK.

So I’m getting the same problem:

“_FMOD_OggVorbis_ReAlloc”, referenced from:

__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)

_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)

_FMOD_ogg_stream_pagein in libiPhone-lib.a(framing.o)

__fetch_headers in libiPhone-lib.a(vorbisfile.o)

__bisect_forward_serialno in libiPhone-lib.a(vorbisfile.o)

“_FMOD_OggVorbis_Calloc”, referenced from:

_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)

_FMOD_floor1_look in libiPhone-lib.a(floor1.o)

_FMOD_floor1_unpack in libiPhone-lib.a(floor1.o)

_FMOD_vorbis_synthesis_headerin in libiPhone-lib.a(info.o)

_FMOD_vorbis_info_init in libiPhone-lib.a(info.o)

_FMOD_mapping0_unpack in libiPhone-lib.a(mapping0.o)

_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Malloc”, referenced from:

__FMOD_vorbis_block_alloc in libiPhone-lib.a(block.o)

_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)

_FMOD_vorbis_staticbook_unpack in libiPhone-lib.a(codebook.o)

_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)

_FMOD_ogg_stream_init in libiPhone-lib.a(framing.o)

_FMOD_mdct_init in libiPhone-lib.a(mdct.o)

_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Free”, referenced from:

__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)

_FMOD_vorbis_dsp_clear in libiPhone-lib.a(block.o)

_FMOD_vorbis_block_clear in libiPhone-lib.a(block.o)

_FMOD_floor1_free_look in libiPhone-lib.a(floor1.o)

_FMOD_floor1_free_info in libiPhone-lib.a(floor1.o)

_FMOD_ogg_sync_clear in libiPhone-lib.a(framing.o)

_FMOD_ogg_sync_destroy in libiPhone-lib.a(framing.o)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I’m using Unity version 3.5, Xcode version 4.2.1

Thanks,
Felipe

And the answer is the same :slight_smile:

just remove -all_load from Other Linker Flags in Xcode project settings and it will build ok

None of the solutions given worked for me. Just got Unity3d 3.5, and the same project doesn’t compile anymore in XCode, getting hundreds of Link errors, and I am NOT making a “Simulator” build…

I don’t know where to look or what to do…

Please post your error messages

xcode 4.3, Unity 3.5.0f5, in unity SDK set to iOS latest in build settings, in xcode set to my device iPad 2 if that matters (ie not simulator), removed -all_load from linker settings does not make a difference

Actual errors messages in XCODE if it helps:

Undefined symbols for architecture armv7:
“__restoreCompletedTransactions”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterResetAchievements”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterLoadLeaderboardCategoryTitles”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterIsLoggedIn”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookLogin”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookGetLoggedinUsersName”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterIsGameCenterAvailable”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterAuthenticateLocalPlayer”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__SetRateUrl”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__CheckAndPopupRating”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__registerAd”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookGetFriends”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__isAdReady”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterLogin”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookRestRequest”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterShowOauthLoginDialog”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__flurryLogEvent”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__flurryLogEventWithParameters”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookShowPostMessageDialog”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterShowAchievements”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookIsLoggedIn”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterPlayerAlias”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__SetRateMessage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__flurryStartSession”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterPostStatusUpdateWithImage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__SetRatePreferences”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterIsGameCenterViewVisible”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterPlayerIdentifier”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterRetrieveAchievementMetadata”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__validateReceipt”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookPostMessageWithLink”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__purchaseProduct”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookShowPostMessageDialogWithCustomOptions”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterLoadPlayerData”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterLoggedInUsername”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__getAllSavedTransactions”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterPostStatusUpdate”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterLogout”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterShowLeaderboardWithTimeScope”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterGetHomeTimeline”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterIsUnderage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__canMakePayments”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__setPublisher”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookPostMessage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookGraphRequest”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__showAd”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterReportAchievement”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookInit”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__requestProductData”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterShowLeaderboardWithTimeScopeAndCategoryId”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__ForcePopupRating”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterGetAchievements”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterReportScore”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterInit”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookLogout”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__twitterPerformRequest”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__isAdDisplaying”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookShowPostMessageDialogWithOptions”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookLoginWithRequestedPermissions”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__preloadAd”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookPostImage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookGetFacebookAccessToken”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__gameCenterIsPlayerAuthenticated”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__flurryEndTimedEvent”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__validateAutoRenewableReceipt”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__tapjoyInit”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
“__facebookPostMessageWithLinkAndLinkToImage”, referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

These errors just show that native libraries weren’t properly integrated into Xcode project, but their script interfaces were included into build.

I realize this thread is old but I figure it is one of the few that has actually addressed this problem.
I am getting pretty much the same FMOD errors.
I can build to my device (iPhone 4) with no problem but I get these errors if I try to use the simulator.
I have tried all the various scheme options with no success. If I set the SDK version in unity to iOS Simulator then in Xcode it says that the SDK cannot be found and my only option is iOS Latest which is 7.
I am currently using Unity 3.5.6f4 and Xcode 5.

ld: warning: directory not found for option ‘-L"/Users/richarddean/Desktop/ios_Test2"’
ld: warning: directory not found for option ‘-L"/Users/richarddean/Desktop/ios_Test2/Libraries"’
Undefined symbols for architecture i386:
“_FMOD_OggVorbis_Calloc”, referenced from:
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_floor1_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_unpack in libiPhone-lib.a(floor1.o)
_FMOD_vorbis_synthesis_headerin in libiPhone-lib.a(info.o)
_FMOD_vorbis_info_init in libiPhone-lib.a(info.o)
_FMOD_mapping0_unpack in libiPhone-lib.a(mapping0.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_Free”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_vorbis_dsp_clear in libiPhone-lib.a(block.o)
_FMOD_vorbis_block_clear in libiPhone-lib.a(block.o)
_FMOD_floor1_free_look in libiPhone-lib.a(floor1.o)
_FMOD_floor1_free_info in libiPhone-lib.a(floor1.o)
_FMOD_ogg_sync_clear in libiPhone-lib.a(framing.o)
_FMOD_ogg_sync_destroy in libiPhone-lib.a(framing.o)

“_FMOD_OggVorbis_Malloc”, referenced from:
__FMOD_vorbis_block_alloc in libiPhone-lib.a(block.o)
_FMOD_vorbis_synthesis_init in libiPhone-lib.a(block.o)
_FMOD_vorbis_staticbook_unpack in libiPhone-lib.a(codebook.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_init in libiPhone-lib.a(framing.o)
_FMOD_mdct_init in libiPhone-lib.a(mdct.o)
_FMOD_res0_look in libiPhone-lib.a(res0.o)

“_FMOD_OggVorbis_ReAlloc”, referenced from:
__FMOD_vorbis_block_ripcord in libiPhone-lib.a(block.o)
_FMOD_ogg_sync_buffer in libiPhone-lib.a(framing.o)
_FMOD_ogg_stream_pagein in libiPhone-lib.a(framing.o)
__fetch_headers in libiPhone-lib.a(vorbisfile.o)
__bisect_forward_serialno in libiPhone-lib.a(vorbisfile.o)

“DecompressDXT1(int, int, int, unsigned long const*, unsigned long*)”, referenced from:
UnpackBlock(void*, unsigned long, unsigned long, unsigned long*) in libiPhone-lib.a(WiiTextureCompression.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)