当我尝试在我的设备上运行时收到此消息:
A valid provisioning profile matching the application's Identifier 'my app bundle ' could not be found
我可以在 iPhone 模拟器上毫无问题地运行该应用程序。
我之前可以连接到设备,我不知道发生了什么......
我已经删除了所有内容并再次尝试,即使在门户网站上创建了一个新的 App ID,但它也没有用。
我只是不知道如何在我的设备上运行该应用程序?
最佳答案
A valid provisioning profile matching the application's Identifier 'my app bundle ' could not be found
请确保标识符与您在开发者门户上为配置文件创建的 App ID 一致。
例如,如果您创建了应用 ID “A1B2C3D4E5.com.yourdomain.*” 并将其分配给您的配置文件,则您的应用必须具有类似 “com.yourdomain”的捆绑标识符.someapp" 这样它就可以正确签名。
此外,我认为标识符中不允许使用空格字符。参见 Information Property List Key Reference :
The bundle ID string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
您可以引用:
- > "Creating and Configuring App IDs"在 iOS 团队管理指南中。
- > Bundle Identifier and Provisioning Profile
关于iphone - 配置文件问题,我无法在设备上运行我的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10491484/