Xcode - Error creating LLDB target

37,555

Solution 1

Did you use Architectures=$(ARCHS_STANDARD_32_BIT) and run your app on a 64 bit device? (iPhone 5S or iPhone 5S simulator)

Apple seems to be stricter with apps which don't support 64bit. So if there is no specific reason, I think it's better to include arm64 in your build architecture

NOTE ABOUT 64-BIT ARCHITECTURE

An app extension target must include the arm64 architecture in its Architectures build settings or it will be rejected by the App Store. Xcode includes this architecture with its “Standard architectures” setting when you create a new app extension target.

If your containing app target links to an embedded framework, the app must also include the arm64 architecture or it will be rejected by the App Store.

For more information about 64-bit development, see 64-Bit Transition Guide for Cocoa Touch or 64-Bit Transition Guide for Cocoa, depending on your target platform.

Source: https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionCreation.html#//apple_ref/doc/uid/TP40014214-CH5-SW1

Solution 2

This warning is solved by changing Build Settings :

  1. Select Project -> Build Settings
  2. Change 'Architectures' to 'Standard architectures (armv7, arm64) - $(ARCHS_STANDARD)' Step 2

  3. This will prompt an alert stating iOS 5.1.1 and above are supported. Click 'Change Deployment Target to 5.1.1'

Step 3

  1. Repeat steps for Target (if not changed automatically)

Step 4

Also, this is preferred build setting since Apple is forcing developers to build apps on 64 but architecture. Apple document Link

Solution 3

Double Check Build Settings => Valid Architectures for both Project and Target.

Mine used to say: arm64 armv7 i386 (The one causing the error was i386)

I replaced it to : arm64 armv7

I hope that helps.

Share:
37,555
Jake
Author by

Jake

>rm -rf ~/AboutMe rm: ~/AboutMe: Permission Denied >sudo rm -rf ~/AboutMe rm: ~/AboutMe: Operation Not Permitted >killall StackOverflow No matching processes belonging to you were found ... 3 hours later ... >telnet towel.blinkenlights.nl

Updated on July 08, 2022

Comments

  • Jake
    Jake almost 2 years

    I'm getting this error whenever I build in XCode 6 beta 4. It seems to be making my app insanely slow.

    Warning: Error creating LLDB target at path '/***/***/***/***.app'- using an empty LLDB target which can cause slow memory reads from remote devices.

    What exactly does this mean and how do I fix it?
    Thanks in advance!

  • ThomasW
    ThomasW over 9 years
    In particular I think the issue is that you need to support the native architecture of the device you're targeting.
  • nvrtd frst
    nvrtd frst over 9 years
    ok to be fair that documentation is about app EXTENSIONS and not apps.
  • blueether
    blueether over 9 years
    for me the issue was in the 2nd paragraph. I have many nested projects in my main project, some of which were not including arm64
  • Siten
    Siten over 9 years
    Hey @wilforeal why you replaced with arm64 armv7 arm64?
  • Kamil Powałowski
    Kamil Powałowski over 9 years
    @wilforeal you have arm64 twice on your list.
  • dev gr
    dev gr over 8 years
    You also have to include it in 'Valid Architectures' build setting.
  • PeterPurple
    PeterPurple over 8 years
    Damm, now I have a zillion "Conversion loses precision" warnings.