Skip to content

Commit a9f72d6

Browse files
committed
XCodeHelper: if project.xml contains <config:ios device="ipad"/>, default to ipad simulator instead of iphone simulator
1 parent 9d10e10 commit a9f72d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lime/tools/XCodeHelper.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class XCodeHelper
9999

100100
if (currentDevice == null)
101101
{
102-
if (project.targetFlags.exists("ipad"))
102+
if (project.targetFlags.exists("ipad") || project.config.getString("ios.device", "universal") == "ipad")
103103
{
104104
for (device in DEFAULT_IPAD_SIMULATOR_NAMES)
105105
{

0 commit comments

Comments
 (0)