iOS Build Environment Help Center

Deployment Info change iOS builder

append delete KZ

Hello,

Is there a way to change Deployment info in iOS builder?

I'd like to untick the iPad support, also what about which version deployment target iOS is supported from.

Thank you

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

I'm not sure I understand your request. Could you be more explicit please ?

append delete #2. KZ

https://imgur.com/a/tnY23au

For example I was wondering if I uncheck iPad it wont be supported and won't have to do the screenshots etc on the app store for it.

append delete #3. Pierre-Marie Baty

It's true that the builder currently only *builds* Xcode project. It cannot yet change all the Xcode options for these projects. It's on my TODO list but there are so many project options to handle, I have to prioritize, and I need time (or means to buy some).

You can still however do that "by hand" by editing the Xcode project file if you know what you are doing (*make backups!*)

To do that, you need to edit your project.pbxproj project file with a text editor.

Look for the lines that say:

% in Unity-iPhone.xcodeproj\project.pbxproj
TARGETED_DEVICE_FAMILY = "1,2";
%

Warning: there are several of them. Change them to:

% in Unity-iPhone.xcodeproj\project.pbxproj
TARGETED_DEVICE_FAMILY = "1";
%

The value to put for iPhone/iPod touch is "1", iPad is "2", and universal (iPhone and iPad) is "1,2".

For information about the other variables in this section, see https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html (warning: this online document, although still relevant, is no longer maintained by Apple).

I totally admit that having a nice UI to select all these variables from drop-down lists would be nice... if only I had the time to do that someday. Anyway, you should be able to do what you want using the technique I described.

Let me know if you need more help.

append delete #4. KZ

Thank you that helped. I also had to change the Bundle id which I found in Info.plist <key>CFBundleVersion</key>

I decided to only release this build for iPhone as the iPads screen only turns black when the app is loaded.

append delete #5. Pierre-Marie Baty

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty