Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
2
Question by MikezNesh · Jun 27, 2010 at 01:01 PM · iphonegamexcodeexporthow-to

The game exporting proccess for iPhone....

How do you export an iPhone game? (How do I set up PlayerSettings and iPhoneBundleIdentifier)

(How to set up Xcode...and such things)

Minor Question:

Does it require the newest SDK and such?

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 unity_developer · Aug 26, 2016 at 11:12 AM 0
Share

I have switched my project to ios, but when I click the buid or build and run button,nothing happens. I am using unity 4.6.7 and xcode 6.4. Please let me what could be the reasons for not building and launching the xcode?

2 Replies

· Add your reply
  • Sort: 
avatar image
10
Best Answer

Answer by spinaljack · Jun 27, 2010 at 03:11 PM

The getting started section of the manual gives a very clear step by step of the set up process.

  1. First thing you need to do is get an apple developer license
  2. Make sure you have the latest version of Mac OS (no windows version)
  3. Download the latest iphone SDK and install it
  4. Buy a copy of Unity iPhone Basic or Pro and install it
  5. Go the to the apple developer web site and click on the provisioning portal link
  6. Create and download your certification key
  7. Create a new App ID (com.yourCompany.yourGame)
  8. Add the UDID of your test phone to the device list
  9. Create a provisioning profile using your certificate key and App ID and all the devices you're gonna use for testing.
  10. Connect your phone to your mac and open xcode, click on organise and add the provisioning profile you just made
  11. Make your game in Unity
  12. Click on edit > player settings
  13. Input the App Id you made earlier (com.yourCompany.yourApp) without the unique string of letters and numbers Apple generates
  14. Set all the other settings like icons and display name and code stripping (leave this off if you're unsure) Generally leaving settings on default will be fine for debugging
  15. Click on build and run and unity will start compiling (and maybe compressing textures if you've set it which takes a while the first time)
  16. XCode will launch and compile the code. If there are no errors it'll also install it onto your phone and run it.

If you have additional xcode to add to the game you can do so before you press run in xcode (if you're using in-app purchasing you you'll need to activate it in the provisioning portal and also you need to import the storekit package)

If you get an error like "no phone connected with the correct certificate" it means you need to put the provisioning profile on the phone.

To test the app on other devices you need to add all the UDIDs of the devices to the provisioning profile and drag that and the compiled app into iTunes and sync the device.

Generally you don't need to alter settings in xcode if you're running a normal unity game but make sure you've selected the correct target OS you set in unity and also select run on device as unity doesn't support iphone simulator.

Comment
Add comment · Show 8 · 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
avatar image MikezNesh · Jun 28, 2010 at 12:59 AM 0
Share

very clear. thanks

avatar image MikezNesh · Jun 28, 2010 at 01:06 AM 0
Share

It is ok if you build the game then attach the UDID and stuff right?

avatar image spinaljack · Jun 28, 2010 at 02:13 AM 0
Share

The game wont run without a provisioning profile on the device so there's not much reason to compile it before then. Unless you mean make the game in unity, in which case go nuts.

avatar image J-R-Wood · Mar 18, 2015 at 04:58 PM 0
Share

OIS SD$$anonymous$$ is Xcode correct?

avatar image J-R-Wood · Mar 20, 2015 at 08:29 PM 0
Share

On step 10 so far, thanks a bunch @spinaljack

Show more comments
avatar image
0

Answer by DJohn90 · Mar 19, 2013 at 11:02 AM

why can i not use the windows version?

Comment
Add comment · Show 2 · 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
avatar image Graham-Dunnett ♦♦ · Mar 19, 2013 at 11:02 AM 0
Share

Because your copy of Windows does not have XCode.

avatar image waqasmajeed · Jun 25, 2015 at 01:09 AM 0
Share

What about Admob for App Store and Windows phone. I am using Unity 4.3.4 $$anonymous$$ac OS Pro. Your help is highly appreciated.

I have also posted this question but nothing there till now. link text

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.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How do I play my Unity game on an IPhone? 0 Answers

Screen width problem with iPhone game (Xcode) 0 Answers

Unity iPhone Build gaining 20MB in Xcode 3 Answers

Mix native Objective-C code and Unity3d 0 Answers

Optimizing Projectile Creation and Destruction 2 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