Blckpstv
Blckpstv

Reputation: 117

Xcode 8 PRODUCT_BUNDLE_IDENTIFIER

I get following error when trying to build/test a app on my phone

Showing Recent Issues Bundle identifier is missing. QRCodeReader doesn't have a bundle identifier for the Debug build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.

How can I change this to let the app work. I got the app from a tutorial on appcoda here, I'm trying to build a super easy barcode scanner. My xcode/swift at beginnerslevel. I used the build file to convert it to swift 3 and when simulating it, it worked. But when simulating it on my phone it didn't.

Can I add my own bundle_identifier and where do I sign this up?

I'm working on osx Sierra , Xcode 8

Upvotes: 0

Views: 3111

Answers (1)

Nikita
Nikita

Reputation: 1853

Just go to Target -> Build Settings -> Product Bundle Identifier -> Expand it -> Debug -> put here same bundle id from Release.

Upvotes: 1

Related Questions