iOS Question Publish app only for Ipad??

ilan

Expert
Licensed User
Longtime User
hi,

does anyone know if it is possible to publish my only for Ipads or only for iphone?
and if yes how can i do it?

thanx
 
By default B4i builds universal (iPad + iPhone / iPod) apps.

Currently it is not simple to change it but it is possible.
Close the IDE. Find the file named: project.pbxproj.template in B4i installation folder.
Edit the file and change line 240, from:
TARGETED_DEVICE_FAMILY = "1,2";
To:
TARGETED_DEVICE_FAMILY = "2";

Note that there is a similar line a few lines above so make sure to change the correct one.
 
Upvote 0
Ok thanx erel.
Would be great if you could put this option in b4i setting in the next version

Until then i will do it as you wrote above

Thank you :)
 
Upvote 0
Currently it is not simple to change it but it is possible.
Close the IDE. Find the file named: project.pbxproj.template in B4i installation folder.
Edit the file and change line 240, from:
TARGETED_DEVICE_FAMILY = "1,2";
To:
TARGETED_DEVICE_FAMILY = "2";

I want to my project only for iphone.
chang this line ? => TARGETED_DEVICE_FAMILY = "2"
There are other values?
 
Upvote 0
For which version you planned it?
It's just awkward and faulty manual change.

If few that were possible, it would be a great help.
Code: Copy
  #If Phon
       #CustomBuildAction: 1, c:\windows\system32\cmd.exe, /c copy /Y "C:\Program Files (x86)\Anywhere Software\B4i\project.pbxproj.template_iphone" "C:\Program Files (x86)\Anywhere Software\B4i\project.pbxproj.template"
   #End If

   #If Pad
       #CustomBuildAction: 1, c:\windows\system32\cmd.exe, /c copy /Y "C:\Program Files (x86)\Anywhere Software\B4i\project.pbxproj.template_ipad" "C:\Program Files (x86)\Anywhere Software\B4i\project.pbxproj.template"
   #End If
 
Upvote 0
Back
Top