I have a .p12 certificate and a provisioning profile installed. When I run a project created in Objective-C, it works fine on my iOS device (version 7.1), but when I run Project created in Swift, it gives me an error with a code sign like:
Failed to encode / Users / sulabh / Library / Developer / Xcode / DerivedData / FacebookTutorial -fcrwkfacnatqsfcowdihbdhybvhz / Build / Products / Debug-iphoneos / FacebookTutorial.app / Frameworks / libswiftCore.dylib: code failed with exit code 1 Command / Applications / Codecode. app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / bin / swift-stdlib-tool failed with exit code 1
I tried reinstalling xcode and removing the certificate from keychain by changing the Build setting. but nothing works for the Swift project. What is the problem and how can I solve it?
source
share