DSmith
DSmith

Reputation: 159

Build Fail for iOS Device

Every time I try to build my XCode project on my device I am met with build failure.

I have tried solutions on Build on device fails with exit code 1

These are last two lines of the error log

libswiftCoreLocation.dylib: errSecInternalComponent

error: Failed with exit code 1

Upvotes: 0

Views: 2230

Answers (1)

rpecka
rpecka

Reputation: 1229

I have seen this error before when trying to code sign. If your build succeeds when you set the destination to a simulator, then you probably have a problem with your code signing keychain.

If that is the case, try signing out and signing back in to your developer profile through Xcode and also make sure that your project has the correct signing settings and that your team is set to what you are expecting.

Upvotes: 1

Related Questions