iOS Question Publish app only for Ipad??

Erel

Administrator
Staff member
Licensed User
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.
 

roddy

Member
Licensed User
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?
 

Filippo

Expert
Licensed User
Can this function in B4i version 1.8 are already selected by the ID?
 

Filippo

Expert
Licensed User
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.
B4X:
  #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
 
Top