配置文件与应用程序标识符 com.domainname.helloworld 不匹配
我尝试在客户端设备中运行 HelloWorld 项目,Xcode 中的应用程序标识符是:com.domainname.HelloWorld
,当我创建配置文件时,在 AppID 中,我输入了:com.domainname.helloworld
(小写)。
现在,在 Xcode 中,我尝试将代码签名身份分配给我创建的配置文件,但是,在下拉列表中,我可以看到配置文件,但无法选择它。
我正在关注 本教程,我怀疑我不知道如何不要忘记将新的配置文件添加到 Xcode 中。
你能帮我一下吗?提前致谢。
I try to run a HelloWorld project into my client device, the application identifier in Xcode is: com.domainname.HelloWorld
, and when i created the provisioning profile, in the AppID, i have putted: com.domainname.helloworld
(lower case).
Now, in Xcode, i try to assign the code signing identity to the provisioning profile i have created, however, in the drop list, i can see the provisioning profile but i can't select it.
I am following this tutorial and i have doubt i didn't knew how to Don’t forget to add the new provisioning profile to XCode as well.
Can you please help me there? thanx in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
BundleId 区分大小写。
确保在 Info.plist 中将其命名为
com.domainname.HelloWorld
。来自 Apple 文档:
BundleIds are case-sensitive.
Make sure you call it
com.domainname.HelloWorld
in your Info.plist.From Apple Documentation:
我的应用程序 Extinct Birds 也有同样的问题,Xcode 在应用程序目标 -> 捆绑标识符中添加了带有项目名称的禁用后缀
在项目 Info.plist 中找到它的方法是搜索 CFBundleIdentifier
文件中获得以下文本条目
您可能会从CFBundleIdentifier
com.softwebsys.ExtinctBirds${PRODUCT_NAME:rfc1034identifier}
对我来说,从字符串中删除 ${PRODUCT_NAME:rfc1034identifier} 效果很好。这是我的最终条目
CF包标识符
com.softwebsys.ExtinctBirds
I had the same problem with my application Extinct Birds, Xcode adds disabled suffix with project name in Application Target->Bundle Identifier
Way to find this in your project Info.plist is by searching for CFBundleIdentifier
You may get the following text entry form the file
CFBundleIdentifier
com.softwebsys.ExtinctBirds${PRODUCT_NAME:rfc1034identifier}
For me removing ${PRODUCT_NAME:rfc1034identifier} from the string worked well. Here is my final entry
CFBundleIdentifier
com.softwebsys.ExtinctBirds