如何修复错误:“应用标识符“com.example.apple-samplecode.BreakfastFinder"无法注册到您的开发团队. [英] How to fix the error: 'The app identifier "com.example.apple-samplecode.BreakfastFinder" cannot be registered to your development team.'
问题描述
当我尝试从 Apple 构建BreakfastFinder 示例代码时,它会为模拟器构建它,但不会为我的带有IOS 13(Public Beta 3)的iPhone X 构建.
我尝试取消配对并修复设备,将标识符从"com.example.apple-samplecode.BreakfastFinder"
到 com.
从这里下载项目示例:https://developer.apple.com/documentation/视觉/recognizing_objects_in_live_capture
只有在崩溃后我才更改了构建标识符.
我希望构建完成并运行,但它给了我这些错误.来自 Xcode 的两个错误:
<块引用>- 未能注册捆绑标识符.应用标识符com.example.apple-samplecode.BreakfastFinder"无法注册到您的开发团队.将您的捆绑标识符更改为唯一的字符串再试一次.
- 未找到com.example.apple-samplecode.BreakfastFinder"的配置文件:Xcode 找不到任何 iOS 应用开发配置与com.example.apple-samplecode.BreakfastFinder"匹配的配置文件.
在项目目录中,查找文件 Configuration
> SampleCode.xcconfig
在那里你会看到第 13 行:
SAMPLE_CODE_DISAMBIGUATOR=${DEVELOPMENT_TEAM}
将 ${DEVELOPMENT_TEAM}
替换为您自己的团队名称
SAMPLE_CODE_DISAMBIGUATOR=your_team_name
这对我有用
When I try to build the BreakfastFinder Sample Code from Apple, it will build it for Simulator but not for my iPhone X with IOS 13(Public Beta 3).
I tried Unpair and repair the Device, switching the identifier from
"com.example.apple-samplecode.BreakfastFinder"
to com.<myID>.TestApp2
Downloaded the Project Sample from here: https://developer.apple.com/documentation/vision/recognizing_objects_in_live_capture
and only after a crash I changed the Build Identifier.
I expect the Build to Finish and Run, but it gave me these errors. Both Errors from Xcode:
- Failed to register bundle identifier. The app identifier "com.example.apple-samplecode.BreakfastFinder" 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.BreakfastFinder' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.apple-samplecode.BreakfastFinder'.
In the project directory, look for the file Configuration
> SampleCode.xcconfig
In there you'll see on line 13:
SAMPLE_CODE_DISAMBIGUATOR=${DEVELOPMENT_TEAM}
Replace ${DEVELOPMENT_TEAM}
with your own team name
SAMPLE_CODE_DISAMBIGUATOR=your_team_name
That worked for me
这篇关于如何修复错误:“应用标识符“com.example.apple-samplecode.BreakfastFinder"无法注册到您的开发团队.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!