Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 Ryuuguu · Jan 14, 2010 at 05:06 AM · iphonebuild-errorxcode

CFBundleExecutable of (null) error on Xcode build

I keep getting this error. Once it happens I can not do any builds until it is fixed. I tried rebooting my mac including complete shut down and then turn on again later. Still I get the error. I also tried building to a new directory and overwriting old build directory. Sometimes loading a different project and building it works.

edit - I found that after getting the error if I start using "build" instead of "build & run" the problem goes away.

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

2 Replies

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

Answer by TOROPOT · Jan 28, 2010 at 06:46 PM

Hi, guys,

When Unity-iPhone 1.5.1 released, I believe there are a lot of people had a problem of "CFBundleExecutable of (null), which does not exist" in a popped up windows names "Can't install application".

And there will be some linking bug like "ldr 12-bit displacement out of range" in the Build log.

According to this article from AGON's web site: http://developer.agon-online.com/documentation/latest/sdk_versus_iphone_os.html

I've solved this problem today.

iPhone SDK version is different with iPhone OS, so that's how it is.

In the Unity-iPhone Project setting->Player->iPhone sdk Version, if we choose "iPhone OS 3.1.2", it would choose "iPhone Device 3.1.2" for SDK version (i.e. iPhone SDK 3.1.2), besides, it would caused XCode select your app. deployment and running target on iPhone OS 3.1.2., too.

The solution is so easy, you could still compile your project using SDK 3.1.2 for bug fixed and new features, and still running on OS 3.0 for larger base of customers. Very Happy

You only have to do it one time unless you have deleted your XCode project or cloned setting for distribution.

Here we go:

  1. Select "iPhone OS 3.1.2" in the Unity-iPhone option of "Project setting->Player->iPhone sdk Version"
  2. Select "Build & Run" in Unity. And an Error would happen. It's ok, we will correct it by the following steps.
  3. Click "Unity-iPhone" item in the "Groups & Files" of XCode window, and right-click to select "Get Info".
  4. Be sure "Configurations" is "All Configurations", and click the "Build" tab on the top, searching the "Architectures" setting, you must find out "Base SDK" in its sub items with the value: "iPhone Device 3.1.2". That means, we want to compile our project with SDK 3.1.2.
  5. Searchin the "Deployment" setting, you must find out "iPhone OS Deployment Target" in its sub items with the value: "iPhone OS 3.1.2". That's the reason caused "Can't Install Application" error!! Please change it into "iPhone OS 3.0".
  6. Close info window and exit the XCode.
  7. Return to Unity, and "Build & Run".

This solution would let AGON could be compiled normally in the same time.Wink

Good luck for you!!

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 Kevin Laity · Jan 14, 2010 at 07:26 PM

I asked this question on Stack Overflow for a different project. Does this help?

http://stackoverflow.com/questions/1724136/xcode-falsely-claims-cfbundleexecutable-to-be-null

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 Ryuuguu · Jan 15, 2010 at 02:46 AM 0
Share

Not sure yet but next time it happens I will try. I ma not sure if it is related but int the working project I switch to I am using enhancement pack(EP) so I don't ever use "build & run " from unity but do a build, EP add some files to the Xcode project and then when it is finished I call build in Xcode. So it could be something to do with build and run vs build or maybe not.

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