title: iOS App - Failed to create provisioning profile
body: <p>I was updating iPhone app after iOS 11 release. I got an build error while trying to archive the app with Generic device. The error is </p>
  
  <blockquote>
    <p>"Failed to create provisioning profile. The appID XX cannot be
    registered to your development team. Change your bundle identifier to
    a unique string and try again."</p>
  </blockquote>
  
  <p>I cannot change the bundle identifier, even though it can solve the problem [When changing the bundle identifier, i am getting error because of "No device registered"]. I have a developer account, through which previous versions of app were developed, however old versions were developed in another mac machine.</p>
  
  <p>I am using Xcode 9.2 Also in the account added, i could not see "View details" below my account in Xcode 9.2 as shown in various apple guide for Xcode.</p>
  
  <p>Any help is appreciated.</p>