0
votes

Im currently making a project in swift and its going allright..

But when I run my app on my device (iPhone 5s -iOS 7.1), XCode returns me the following error

ld: in '/usr/lib/system/libsystem_configuration.dylib', missing required architecture arm64
in file /usr/lib/system/libsystem_configuration.dylib (2 slices) for architecture arm64 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have tried removing derived data but it didn't work and I couldn't find any other answers to that question.

EDIT: Running on simulator with iOS 7 (both 32bit and 64bit sims) works flawlessly.

1
did you add arm64 Achitectures and ValiAchitectures?Mohit
i didn't even touch any of that. It says that Architectures contains armv7 and arm64 and ValidArch contains arm64 armv7 and armv7sThiago Magalhaes
Have you tried setting all architectures for the debug and release settings in build settings?Dhwanit Zaveri
They're all the same.Thiago Magalhaes
Are you using a static library? or any external libraries?bvsss

1 Answers

1
votes

Do u have this architecture type with you under architectures

Do u have this architecture type with you under architectures.Sry had to add image so created a post .

Also did u try setting Build Active architectore only to NO .

Is the arm64 architecture required in ur project?... if u dont need it please check this SO link to edit the architectures.Click this link