Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

It appears that your application still contains the default signing identifier

The flutter app was working completely fine. After few days when i tried to run in ios device it said like this "open xcode and try product -> run and try fixing it . After doing this and still showed me the same error".

Product -> run , flutter clean , flutter packages get , open ios/Runner.xcworkspace , signing in General(target) ->select team

like image 489
abhinandan_12 Avatar asked May 17 '19 10:05

abhinandan_12


3 Answers

If anyone had their app running before and faced this error, what worked for me was (note I am using a Macbook pro), was to open up the terminal first.

Then navigate to the project folder and typing in open ios/Runner.xcworkspace. This command will open up your xcode. From there you can select you device on the top (emulator or physical ios device), and click on run.

Once it builds and runs successfully, it will fix the issue you are facing, now you can go to VS code or android studio and try flutter run and it should work.

like image 141
Harsh Phoujdar Avatar answered Oct 21 '22 08:10

Harsh Phoujdar


If you see this error when trying to run your app on your iPhone for the first time, it's because your xCode signing identifier contains a default one and needs updating.

Here's how to solved this issue:

  1. In VsCode, right click the ios folder and click Xcode.
  2. In XCode, click Runner , The top option on the left then 'Signing & Capabilities'
  3. Click 'Automatically manage signing'
  4. Select your Team, if you don't have one setup, click 'Add an account' and continue to the next step.
  5. Select "Add your Apple ID"
  6. Click Manage Certificates then click the '+' button located in the corner , then click 'Apple Development' to add a signing certificate.
  7. Click Done. Signing Certificate should display 'Apple Development: yourAppleID..."
  8. Select your connected iPhone from the build destination dropdown - see screenshotscreenshot
  9. Click the big play button to run the build in xCode
  10. Trust your iPhone - Open your iPhone settings > General > Device Management or VPN & Device Management > Under Developer APP, select Apple Development : your appleID > Click Trust "Apple Development: "your apple id...."
  11. Open vsCode and run flutter clean && flutter run.
like image 3
Sharon Avatar answered Oct 21 '22 08:10

Sharon


To Fellow up with Harsh, if you have no paid Apple Developer license, your certificate runs out after a week.

In my case, I needed again to trust my developer certificate on my iPhone, again. Before that, I also received your error. If you open up your app with Xcode, you will see the real error message.

like image 2
w461 Avatar answered Oct 21 '22 09:10

w461