iPhone app with Spotify crashes after resigning .ipa file

1.1k Views Asked by At

When I try to resign .iPA file with different key and mobile provisioning profile my App crashes due to Spotify.

Is that because of "appkey.c" file or is there any relation between Spotify credentials and Apple provisioning profiles and keys which causes the app to crash?

If yes, what is the workaround to resolve this crash and to make my app work after resigning .ipa file?

Here are the crashlogs for keychain.

Feb 12 14:17:51 iPhone securityd[87] <Error>:  securityd_xpc_dictionary_handler MyApp[7338] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Feb 12 14:17:51 iPhone MyApp[7338] <Warning>: *** Assertion failure in NSString* base::deviceIdFromKeychain()(), /Users/spotify-buildagent/buildAgent/work/1e0ce8a77adfb2dc/client/base/_apple/_ios/os_ios.mm:287
Feb 12 14:17:51 iPhone MyApp[7338] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Keychain error when fetching device ID, nonrecoverable'

Crash log:

enter image description here

1

There are 1 best solutions below

1
On

set your user header search paths for release to include: "$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include" for more refer this Link :)

and also check out this link

How to read crash log? How to find why the app crashes in system library? What means EXC_CRASH (SIGABRT)?

This link explains the basic causes of the EXC_CRASH(SIGABRT) crashes and also it explains that you need a dSym files to symbolicate your crash log.

Hope this helps you.

Also this links are very helpful. Please check them out:

Xcode 4 failure to symbolicate Crash Log

How to diagnose EXC_CRASH?