简体   繁体   English

在iPhone上安装适用于iPad的.IPA

[英]Install .IPA built for iPad on iPhone

Is it possible to install .IPA file in iPhone which is built for iPad ? 是否可以在iPhone中安装.IPA文件? If yes please tell me how to do 如果是,请告诉我该怎么做

Depends how the app is built, you can set it for individual iphone models or ipad models. 取决于应用程序的构建方式,您可以为个人iphone型号或ipad型号设置它。

Setting the Target Devices (iOS Only) The Devices setting identifies the type of devices you want an iOS app to run on. 设置目标设备(仅限iOS)“设备”设置标识您希望iOS应用程序在其上运行的设备类型。 There are two device types: iPhone and iPad. 有两种设备类型:iPhone和iPad。 The iPhone type includes iPhone and iPod touch devices. iPhone类型包括iPhone和iPod touch设备。 The iPad type includes all iPad and iPad mini devices. iPad类型包括所有iPad和iPad迷你设备。

To set the target devices 设置目标设备

In the project navigator, select the project and your target to display the project editor. 在项目导航器中,选择项目和目标以显示项目编辑器。 Click General and, if necessary, click the disclosure triangle next to Deployment Info to reveal the settings. 单击“常规”,然后根据需要单击“部署信息”旁边的显示三角形以显示设置。 From the Devices pop-up menu, choose iPhone, iPad, or Universal (to target both families). 从“设备”弹出菜单中,选择“iPhone”,“iPad”或“通用”(以定位两个系列)。 ../Art/3_target_devices_setting_2x.png For more information on configuring your app for iPhone, iPad, or both device families, see Advanced App Tricks in App Programming Guide for iOS. ../Art/3_target_devices_setting_2x.png有关为iPhone,iPad或两者设备系列配置应用程序的详细信息,请参阅iOS应用程序编程指南中的高级应用程序技巧。

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html

It depends wether your application is Universal app or not. 这取决于你的应用程序是否是Universal应用程序。

If its Universal app & UDID of your iPhone included to the .ipa then it will work else not. 如果你的iPhone的Universal app和UDID包含在.ipa中,那么它将不会工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM