在开发设备上测试 Ad Hoc 分发
我正在尝试使用Ad Hoc Distribution profile
创建我的应用程序的版本。我非常确定 provision profile
是正确的,并且已在其中添加了客户端 DeviceID
。我的项目中还有 Entitlements.plist
。
此外,代码还使用临时分发配置文件在目标级别进行签名。
我正在发送配置文件和 app.ipa 文件,但客户仍然抱怨他无法通过 itunes 安装该版本,并引发错误:
应用程序“”未安装在 iPhone 上” “因为签名者无效。
我尝试过:
1.签名者无效错误
2.签名者无效
3.http://www.iphonedevsdk.com/forum/iphone-sdk-development/68731-signer-not-valid-error.html
4.iphone 安装 Ad Hoc Distribution
我只有 1 台设备,我用它进行开发。我也删除了所有配置文件和应用程序,然后尝试从 iTunes 安装该应用程序,并且安装成功。
但是,它对我的客户不起作用。那么我如何在将其发送给客户端之前测试此构建???
I'm trying to create my app's build using Ad Hoc Distribution profile
. i'm dead sure that the provision profile
is correct and have the client DeviceID
added in it. I also have the Entitlements.plist
in my project.
Also the code is Signed at the Target level with Ad Hoc Distribution Profile.
I'm sending both the provision profile as well as the app.ipa file, but the client still complains that he cannot install the build through itunes and it fires the error :
The Application "" was not installed on the iPhone "" because the signer is not valid.
I've tried :
3.http://www.iphonedevsdk.com/forum/iphone-sdk-development/68731-signer-not-valid-error.html
4.iphone installing Ad Hoc Distribution
I have only 1 device and i use it for development. I've deleted all the profiles and apps as well and then tried to install the app from itunes and it installed successfully.
But,It does not work for my Client. So how can i test this build before sending it to the client???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想尝试两件事:
构建并存档应用程序 ->前往组织者 ->共享应用程序,使用您的分发证书 + 临时配置文件对其进行签名
确保您已在项目的构建设置和项目的目标设置中选择了临时配置文件发布配置->使用构建配置构建 ->找到构建产品->将构建产品 + 供应配置文件发送给您的客户
我个人而言,我绝对推荐第一个选项。它更干净,因为每次将新设备添加到配置文件时,您不需要调整构建设置并重建应用程序。此外,它还允许您向客户发送一个方便的 .ipa 文件,而不是构建 + 配置文件,并且它使您能够使用 Testflight 等服务。
但是,如果您(无论出于何种原因......)坚持使用第二个选项,请记住,每次修改配置文件时,其 ID 都会发生变化。这意味着您需要在项目和构建设置中再次选择它,即使它看起来就像仍然选择了正确的配置文件!
You might want to try two things:
Build and archive the app -> head to the organizer -> share the app, signing it with your distribution cert + ad hoc provisioning profile
Make sure you've selected the ad hoc provisioning profile in the build settings of both the project and the target settings for the release configuration -> build using build configuration -> locate build product -> send build product + provisioning profile to your client
Personally, I'd absolutely recommend the first option. It is cleaner, because you don't need to adjust the build settings and rebuild your app each time you're adding a new device to your provisioning profile. Additionally, it will allow you to send your client one handy .ipa file instead of build + profile and it enable you to use services like Testflight.
If you're (for whatever reason...) stuck with the second option however, keep in mind that each time you modify a provisioning profile, its ID will change. This means you will need to select it again in the project and build settings, even if it appears like the proper profile is still selected!!