Sample Code "Scanning and Detecting 3D Objects" Failed

I downloaded from Apple Developer the sample code ""Scanning and Detecting 3D Objects".

When I go to: Xcode > Window >"Scanning and Detecting 3D Objects" is there.

But showm the error:

"Singin for "Scanning App" requires a developmentteam. Select a development team in the Signing & Capabilities editor"

I did and the Error still there

Replies

Select the project at the top of the navigation pane (extreme left panel)

Slect the target in TARGETS section (below PROJECT) in the second panel


If XCode 11, select "Signing & Capabilities tab at the top of the 3rd panel)

If XCode 10, select General tab in 3rd panel


You will see a signing section, with a Team field.

Select the appropriate team there.

I did that procedure but still showing the same ERROR

Thanks

Have you a developer paid licence ?

Yes

Of course, did you clean build folder ? (option-clean)


And possibly reboot the Mac.

Yes, I did

I downloaded to test.

It compiles, but crashes on simulator (XCode 11.1) because ARKit is missing.


I got the error message, but had no effect on compilation. Setting the team cleared the message.

-- Read the note of the readMe:

ARKit requires an iOS device with A9 processor or later. ARKit is not supported in iOS Simulator.


When do you get the error:

"Singin for "Scanning App" requires a developmentteam. Select a development team in the Signing & Capabilities editor"


When you compile ?

Did you try on device ?

I am trying to compile on iPhone X from iMac. I just tryied to compile on Macbook too and return the same error

You did not answer my question:


You said:

I am trying to compile on iPhone X from iMac.

In fact you compile on Mac and generate for iPhoneX on device. Exact ?


Do you succed to compile or not ?

Or do you crash when you run on device ?


I succeed to compile.

I deleted and downloaded again the "ScanningAndDetecting3DObjects" again from https://developer.apple.com/documentation/arkit/arobjectscanningconfiguration.


Now when I compile it on my iMac returns "Build Failure" and the following errors:


ScanningApp Group

Error Group

Failed to register bundle identifier. The app identifier "com.example.apple-samplecode.ARKitScanner" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.

No profiles for 'com.example.apple-samplecode.ARKitScanner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.apple-samplecode.ARKitScanner

Did you do an option - clean build folder ?

yes, I did

hey ,Did you install it successfully? i have same problem....