Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App with Swift 2.0 Deploying to a Device Running on Device

Failed to code sign "Fun Facts"? Can't simulate on my own

hey guys,

I'm trying to run the fun facts app on my phone, when I do, I get the message:

"Failed to code sign "FunFacts"

No non–expired provisioning profiles were found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles."

If i choose to fix the issue, it simply says:

"An App ID with Identifier 'com.teamtreehouse.FunFacts' is not available. Please enter a different string."

any ideas guys? Thank you!

2 Answers

Berry Loeffen
Berry Loeffen
4,303 Points

If you click on Funfacts on the top of the navigator -> under identity you can click on resolve issue. This made me put in my login and password of my apple ID. After you do this the app will run.

When I opened the app i got the security warning. This means that your iPhone doesn't trust you as a developer. you can adjust this setting under Settings -> General -> Device Management and then trust you as a developer.

This worked for me.

Try removing the teamtreehouse from the bundle Identifier and use your name instead