Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode Build Error - symbol(s) not found for architecture armv7 #7

Open
slender9168 opened this issue Nov 5, 2018 · 5 comments
Open

Comments

@slender9168
Copy link

slender9168 commented Nov 5, 2018

Hi,
This error shows when i build the xcode project ( the unity build works without errors )

Scripting Backend : IL2CPP
iOS/Android Version: target minimum ios 7
Device model: xcode won't build the project ( without any device )
Unity version: 2017.1.5
Host OS version: MacOS Mojave 10.14
The list of the 3rd party plugins you use in the project
Game Analytics
Facebook SDK

Xcode version: 10.1 (latest)

Ld /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/armv7/snakeIO normal armv7 (in target: Unity-iPhone)
cd /Users/air2015/Documents/b_unity_xcode/2018/SnakeIO/2018_11_05_SnakeIOv4dup_after_unity_restart
export IPHONEOS_DEPLOYMENT_TARGET=7.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Products/ReleaseForRunning-iphoneos -L/Users/air2015/Documents/b_unity_xcode/2018/SnakeIO/2018_11_05_SnakeIOv4dup_after_unity_restart -L/Users/air2015/Documents/b_unity_xcode/2018/SnakeIO/2018_11_05_SnakeIOv4dup_after_unity_restart/Libraries -F/Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Products/ReleaseForRunning-iphoneos -filelist /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/armv7/snakeIO.LinkFileList -Xlinker -map -Xlinker /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/snakeIO-LinkMap-normal-armv7.txt -miphoneos-version-min=7.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/armv7/snakeIO_lto.o -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -framework MediaToolbox -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -weak_framework Metal -Xlinker -dependency_info -Xlinker /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/armv7/snakeIO_dependency_info.dat -o /Users/air2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-fuktuvfngaewbagjgdymkyxavkur/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/armv7/snakeIO

Undefined symbols for architecture armv7:
"___lunar_console_destroy", referenced from:
_PlatformIOS___lunar_console_destroy_m456247411 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_Destroy_m267932504 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_destroy_m456247411)
"___lunar_console_action_unregister", referenced from:
_PlatformIOS___lunar_console_action_unregister_m4106613318 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_OnActionUnregistered_m3295390267 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_action_unregister_m4106613318)
"___lunar_console_action_register", referenced from:
_PlatformIOS___lunar_console_action_register_m4048835623 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_OnActionRegistered_m1900775222 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_action_register_m4048835623)
"___lunar_console_hide", referenced from:
_PlatformIOS___lunar_console_hide_m3448988597 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_HideConsole_m3429723875 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_hide_m3448988597)
"___lunar_console_clear", referenced from:
_PlatformIOS___lunar_console_clear_m2836004333 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_ClearConsole_m256278752 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_clear_m2836004333)
"___lunar_console_cvar_register", referenced from:
_PlatformIOS___lunar_console_cvar_register_m2910225370 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_cvar_register_m2910225370)
"___lunar_console_initialize", referenced from:
_PlatformIOS___lunar_console_initialize_m2276595959 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_initialize_m2276595959)
"___lunar_console_show", referenced from:
_PlatformIOS___lunar_console_show_m3549014312 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_ShowConsole_m2136028423 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_show_m3549014312)
"___lunar_console_cvar_update", referenced from:
_PlatformIOS___lunar_console_cvar_update_m1306681731 in Bulk_Assembly-CSharp_3.o
_PlatformIOS_OnVariableUpdated_m43150681 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_cvar_update_m1306681731)
"___lunar_console_log_message", referenced from:
_PlatformIOS___lunar_console_log_message_m2405244582 in Bulk_Assembly-CSharp_3.o
(maybe you meant: _PlatformIOS___lunar_console_log_message_m2405244582)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@slender9168
Copy link
Author

Hi,
Thanks for the reply, unfortunately the troubleshooting guide didn't help
( tried adding the EXPORT_IOS_FILES scripting defined symbol & creating a fresh xcode export )

@slender9168
Copy link
Author

The issue was caused by ProBuilder post processing script, the issue was resolved once i removed proBuilder from the project

@weeeBox
Copy link
Member

weeeBox commented Nov 7, 2018

How did you integrate ProBuilder? Is it through the package manager of through the Asset Store?

@slender9168
Copy link
Author

@weeeBox through the assetstore but deleted it because it interfered with some other plugin

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

No branches or pull requests

3 participants
@weeeBox @slender9168 and others