Problems executing iPhone GenericKeychain example

I cannot run the GenericKeychain example. I replaced all 5 occurrences, as indicated in the readme file, from "YOUR_APP_ID_HERE.com.yourcompany" with my own line: se. [Company name]. [Project Name] .demo. The compilation is fine, but when I try to run it on my phone, I get the error message "The executable was signed with invalid rights." And yes, I have a special profile profile installed. I tried adding "Entitlements.plist" with "get-task-allow", but with the same result. Has anyone been able to run this example? If so, please provide me with instructions on how you ran it.

URL: http://developer.apple.com/iphone/library/samplecode/GenericKeychain/index.html

+5
source share
2 answers

Check your KeychainAccessGroups.plist and KeychainAccessGroups2.plist.

Change the keychain-access-item item0 and itme1 groups by doing the following:

  • Go to Organizer → Devices → Profiling (in the upper left corner)
  • Find the Provisioning profile that you use to sign the application and click it
  • Look for "Application ID" in which your application ID

If your application identifier for the initialization file is ABC123CDF456. *,

item0 - ABC123CDF456.com.yourcompany.GenericKeychain2,

item1 is ABC123CDF456.com.yourcompany.GenericKeychainSuite

+4

get-task-allow false/unchecked AdHoc. Info.plist?

0

All Articles