Log in or register to post comments

Build iOS and Android targets from the same Unity 3.4 project?

August 22, 2011 - 12:49am #1

Hi,

(I believe this question hasn't been asked on the forum before.. Maybe it's in the docs somewhere, but then I must've missed it).

Now that both the iOS and Android work with Unity 3.4, is it possible to build both targets from the same project? I.e. are all the scripts in the 'Editor\QCAR' and 'Qualcomm Augmented Reality' folders the same, and are only the contents of the Plugins folder different? Or are there subtle differences or is there more to it than this?

Thanks,
Lex

Re: Build iOS and Android targets from the same Unity 3.4 projec

October 10, 2011 - 8:28pm #7

I think MoSR meant "import" rather than "install." The installation order doesn't matter, it's the import order inside a Unity project that matters. The only point here is that the iOS release is newer, and so should be imported last (such that its updates replace the older Android files).

- Kim

Re: Build iOS and Android targets from the same Unity 3.4 projec

October 10, 2011 - 7:46pm #6

If we already have both of the current version iOS and Android QCAR SDK's installed, do we have to remove them first before installing in the order above?

What are the procedures for removing existing installations? Does removing one before the other matter?

Re: Build iOS and Android targets from the same Unity 3.4 projec

September 8, 2011 - 11:25am #5

Try importing the packages in this order:

qcar-unity-android-1-0-6.unitypackage
QCAR-iOS-1.0.0beta1.unitypackage

Accept all file overwrites. The iOS files should overlay the Android ones cleanly and provide the necessary updates. You may need to restart Unity for the changes to take effect. Let us know if you run into any issues!

- Kim

Re: Build iOS and Android targets from the same Unity 3.4 projec

September 7, 2011 - 9:33pm #4

Can you detail the process involved? It seems like the sort of thing that really should be documented.

Re: Build iOS and Android targets from the same Unity 3.4 projec

August 26, 2011 - 1:39am #3

Hi MoSR,

Thanks for your answer. I'm happy to report that we were able to integrate the beta version of the iOS version with the 1.06 release of the Android version. We just had to make a couple of small changes regarding an imported native function and some preprocessor defines.
This is going to save us a lot of work (branching/merging between versions) and should reduce the chance of mistakes by a large amount :-)

Lex

Re: Build iOS and Android targets from the same Unity 3.4 projec

August 23, 2011 - 2:39am #2
lexvandersluijs wrote:

Now that both the iOS and Android work with Unity 3.4, is it possible to build both targets from the same project?

Hi Lex,

With the current Android 1.0.6 release and the up-coming iOS release you should be able to combine them to make a single context from which both iOS and Android apps can be created. This can be done by first installing the Android version, then installing the iOS version. Let us know if you find any problems with that. Note that this may not be the case with future versions when new advice will be given.

Log in or register to post comments