Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by RandomMeasure · Mar 26, 2010 at 04:49 PM · iphonebuild-errorxcode

iPhone Build Errors

I'm trying to build a test project to the iPhone from unity. I consistently receive the error, "No architectures to compile for (ARCHS=armv6, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64)."

I have zero experience with xcode so I would appreciate some advice on why exactly I am receiving this error.

Comment
Add comment
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

5 Replies

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

Answer by Eric5h5 · Mar 26, 2010 at 06:59 PM

You're trying to build for the simulator, which you can't do in Unity. You have to build for the device.

Comment
Add comment · Show 6 · 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 RandomMeasure · Mar 26, 2010 at 08:32 PM 0
Share

Thanks, bear in $$anonymous$$d, I don't know xcode and this is my first time building from Unity. How do I make sure I'm building for the device?

avatar image Eric5h5 · Mar 26, 2010 at 08:57 PM 0
Share

@Random$$anonymous$$easure: use the popup menu in the upper-left, where you can select the build target.

avatar image RandomMeasure · Mar 30, 2010 at 04:44 PM 0
Share

I assume you are referring to active target. The only option I am given is "Unity-iPhone". I am never given the choice between simulator and iPhone. On the top left of my screen I have three drop-down choices, page, overview, and action.

avatar image Eric5h5 · Mar 30, 2010 at 05:37 PM 0
Share

@Random$$anonymous$$easure: Look here: http://www.starscenesoftware.com/stuff/pics/xcode.png

avatar image RandomMeasure · Mar 31, 2010 at 05:57 PM 0
Share

Thank you, I am now redownloading the iPhone SD$$anonymous$$ because I didn't have any of those SD$$anonymous$$ options. I must have downloaded the wrong version. $$anonymous$$y confusion has been partially explained and hopefully this will solve my problem.

Show more comments
avatar image
0

Answer by touchgamedev · Apr 15, 2010 at 05:56 PM

You will want to view this on the iPhone Developer site: This will walk you through the exact problem you are running into but you need to go further and understand the code signing process or it still will not work and you will not be able to submit you app to the appStore.

http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/120-Running_Applications/running_applications.html

Lots of screen shots to guide you - should make the concept and process easier.

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
avatar image
0

Answer by m_for · Jul 23, 2010 at 06:58 PM

I have downloaded and installed xcode_3.2.3_and_ios_sdk_4.0.1.dmg, I have folders for iPhoneOS3.2.sdk and iPhoneOS4.0sdk but in xcode it always says "Base SDK Missing" in the top left pulldown. In that my options are Active -> Release or Debug, Active Target Unity-iPhone or Unity-iPhone-simulator, greyed out Active Exe, Active Architecture armv7.
project settings in all point to armv6 and iPhone 3.2 but the error is always "There is no SDK with the name or path 'iPhone3.0' and warning:building for deployment target '3.0' requires an armv6 architecture.

the png offered above looks nice but how do I get my xcode to offer up those choices?

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
avatar image
0

Answer by funkyllama · Oct 26, 2010 at 06:36 PM

In your XCode project, in the "Groups & Files" section on the left Double Click the top item in the project to open Project Settings.

Click the Build tab if not already selected. Select Configuration: All Configurations. Under 'Architectures', 'Base SDK' select 'iPhone Device 3.2'

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
avatar image
0

Answer by Jorgos · Mar 31, 2011 at 06:39 PM

I have the same problem. Tried all the things mentioned above but with no success.

I'm using xCode version 3.2.2 64-bit and phonegap 0.9.4 Should I update my xCode?

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.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Building for iPad 1 Answer

XCode error 1 Answer

Beginner user - nothing will compile in Xcode 2 Answers

Xcode: Build and Archive error "No such file or directory" 3 Answers

iPhone Virtual Reality App won't load onto my phone. 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