18

My problem is that I need to enable the keychain sharing feature to App ID in order to make Facebook login work for iOS10. How to use Facebook iOS SDK on iOS 10

However, I get the below message. enter image description here

I have NO iPhone device. However, I do have a paid for developers account. I don't need a provisioning profile to resolve this error, do I?

How exactly can this be resolved?

Community
  • 1
  • 1
Rohit Tigga
  • 2,373
  • 9
  • 43
  • 81
  • Yes, you need a provisioning profile in the developer portal even if you are only running it on the simulator. – Paulw11 Sep 30 '16 at 01:06
  • @Paulw11 how to get one without a device?? – Rohit Tigga Sep 30 '16 at 05:03
  • Sorry, I said provisioning profile. I should have said app id - as it shows in the screenshot. You can create an app id in the developer portal. – Paulw11 Sep 30 '16 at 05:14
  • 5
    How to add the keychain sharing feature to the App ID though? – Rohit Tigga Sep 30 '16 at 07:09
  • You don't need to worry about adding it to the app id if you are only building for the simulator since there is no code signing performed for simulator builds. You can ignore the "add the keychain Sharing feature to your app id" – Paulw11 Sep 30 '16 at 07:27

2 Answers2

16

Restarting the xcode fixes the issue ! I hate you apple :)

Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
0

Go to the "general" tab and look at the "signing" section. I had been signed in at a Corporate account (which has since expired) and so had to select my correct account from the "Team" drop-down menu. Now the Team can be found in the Account.

The Camster
  • 1,850
  • 1
  • 20
  • 27