swift - Xcode Error - Undefined symbols for architecture x86_64? -


i'm running swift 4 , xcode 9 beta. errors , have no idea how solve it. don't know mean..

undefined symbols architecture x86_64: "__t0so22avcapturephotosettingsc12avfoundation01_abc16swiftnativetypesacwp", referenced from:       __t014instagramclone26customcameraviewcontrollerc23camerabtn_touchupinsideyypf in customcameraviewcontroller.o   "__t012avfoundation39_avcapturephotosettingsswiftnativetypespaae016availablepreviewc11pixelformatg0says6uint32vgfg", referenced from:       __t014instagramclone26customcameraviewcontrollerc23camerabtn_touchupinsideyypf in customcameraviewcontroller.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) 

any idea how solve this?

it looks project isn't linking against avfoundation. click on project @ top of project navigator, select target, , click "build phases." in "link binary libraries" phase, click add button, select avfoundation list, , add it. should cause project build normally.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -