Attaching to appname Solution

Source: Internet
Author: User

Please note, this is not a sequence of steps. Each one is a possible solution:

1-Restart xcode and/or restart simulator (reset content and settings) and/or restart computer.

2-click on project name in project navigator. in build settings tab, go to packaging and make sure that "Product Name" is the same that the one xcode says simulator is attaching to when running. if they are different, it will
Fail.

3-Go To Your projectname. xcodeproj folder. Inside there delete anything named with your userid. When you reopen xcode those files will be recreated and it shoshould work...

4-manually delete the build directory for your project.

5-go to organizer window. select projects, select your app in the left hand side and then delete over "Derived Data"

6-check launch option is set to "automatically" in product-> edit scheme, "Run" scheme.

7-in project-> "Edit schemes"-> Run. Change the debugger from GDB to none (this doesn't make sense to me ..).

8-kill the process gdb-i386-apple-darwin from activity monitor. This is assuming GDB is not responding.

9-in "product"-> edit scheme. In run, click yourappname. app, choose other, navigate to your. app in your project. Now run.

10-check that you don't have two different info. plist in your project. If you do, remove the bad one.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.