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 Christophe F · Jul 05, 2010 at 02:50 PM · buildiphonearmv7armv6

iPhone OS 4.0 : Build results in 'incorrect architecture'

My iPhone has been upgraded with version 4.0.

I have tried to build the project from Unity, with OS version 3.2, and at other attempts with OS version 'Unknown'. I also tried with both 'safe and slow' and 'fast' setups.

In accordance with replies to a similar question (an old one though, dated June 24th), I have tried various setups in xCode for the project package and for the project target, to enable armv6 and armv7 architectures, like:

  • switching to "Standard armv6 armv7"
  • switching to iPhone OS 3.2 / iPhone OS 4.0 for the SDK version.

It didn't work for me.

I cannot use the older 3.1.3 version since it is missing, and as far as I can remember what I did last week with 3.2 version was working like a charm.

The best result I could achieve was building and deploying to the iPhone without any warning, but with the iPhone sending the message "Incorrect architecture" to xCode.

Then, when I try any other build, it results in a fatal error that makes Xcode completely unstable.

I am completely stuck! sends an emergency signal to the Unity community

I just hope other Unity iPhone developers out there aren't stuck as I am. Or, that they have been stuck just as I am now, but can send me a quick tip to get out of this mess :)

Note: A possible event would be that the fatal error I receive is due to things that are now 'weak linked'.

The fatal error is:

-[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x2017df5a0

... and I don't have a clue what it could come from.

Comment
Add comment · Show 5
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 Jaywalker · Jul 05, 2010 at 03:00 PM 0
Share

did you: edit the project settings + edit active target + set the active architecture to armv6 on the quick selection button right above the overview in the main window?

if I do al three things it work for me

avatar image Christophe F · Jul 05, 2010 at 03:04 PM 0
Share

Ah, you have a lead here... I did everything except the last thing, and here is why: there is no option to select "armv6" in the quick selection button for me. Only armv7 is available. How could I even manage to no longer have this option, whereas you do have it, and most especially, how could I have it back?

avatar image Christophe F · Jul 05, 2010 at 03:07 PM 0
Share

A quick note : iPhone is 3G, not 3GS, my iPhone should not be armv7 only.

avatar image Christophe F · Jul 05, 2010 at 03:14 PM 0
Share

Found it! Vin could you post an answer so that I could credit you with the finding? to have the option back in the quick selector, I have another thing to do described here : http://forum.unity3d.com/viewtopic.php?t=49414

that is, double click on active target to selected "standard armv6 armv7" THEN check back the quick selector which will display the armv6 option, and select it.

avatar image Jaywalker · Jul 05, 2010 at 03:16 PM 0
Share

sure! great that it worked for you! cheers!

1 Reply

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

Answer by Jaywalker · Jul 05, 2010 at 03:36 PM

Hey, as concluded in the comments:

This thread solves the issue

here's what I do:

Set the project Settings which can be found under: Project > edit project settings To:

  • Base SDK: iPhone Device 4.0

  • Architectures: Standard (armv6 armv7)

Set the active target which can be found under Project > Edit active Target (or doubleclick on the Unity-iPhone in the overview under Targets) To:

  • Base SDK: iPhone Device 4.0

  • Architectures: Standard (armv6 armv7)

Set the active architecture which can be found on the quick select list in the project window right above the overview To:

  • armv6

cheers!

Comment
Add comment · Show 1 · 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 cregox · Jan 10, 2012 at 04:59 PM 0
Share

Nice job. It's always good when we find a solution that elegantly and straightly answers the problem pointed, even if when we look back it all suddenly looks so obvious now. :)

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

1 Person is following this question.

avatar image

Related Questions

Is it necessary to build my iphone app with armv7 architecture? 1 Answer

About Transprent mode 2 Answers

Distribute terrain in zones 3 Answers

Unity Iphone Exporting, armv??? 1 Answer

Can I compile for armv7 only (iPhone)? 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