• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by dsp4 · Nov 18, 2011 at 11:39 PM · iosbuildpcremote

Remote iOS building

I'm looking for a way to build for iOS remotely. Right now, I have both a PC and a Mac with Unity installed. I do all the work from the PC, and would like to run a script that would take what I'm working on (on the PC), build, and run it on a connected iPhone, without touc$$anonymous$$ng the Mac (unless the build fails, of course).

So far, I thought about sharing the project folder, then use Unity's command line to build & run, but I have no idea how to remotely launch Unity. A quick googling suggests that SSH is the way to do it, but before digging further, I'd like to know how you guys are doing it.

Thanks!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ronronmx · Mar 05, 2012 at 07:44 AM 0
Share

I would be very interested in finding out how to do that as well! Anyone?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by dsp4 · Mar 05, 2012 at 07:23 PM

With a mix of SSH and AppleScript, I was able to get it to build remotely, but it is very slow, for multiple reasons.

The files Unity uses on Windows and Mac are different, and need to be converted from one format to the other. Say you're working on Windows, if you transfer your files to Mac, all your assets and code will be reimported/recompiled, w$$anonymous$$ch takes some time.

Also, just sharing your project folder won't work as two Unity instances can't open the same project at the same time. You need to either copy the project for your Mac build, or use a version control system, commit, then update on the Mac, before each build.

There are a few more issues, like the "run" part not always working due to a difference in how Unity treats its command line versus the actual "Build & Run" button, and some files messing with the build process if you keep Unity open on Windows before committing your files.

In the end, that solution wasn't practical enough, but I'd be definitely interested in hearing what others came up with.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can i build IOS app from my windows 10 pc 2 Answers

Game not building on Mac iOS but works fine on PC 3 Answers

Is Standard Assets compatible on Android or IOS? 0 Answers

Distribute terrain in zones 3 Answers

Override AppController at build time to Xcode 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges