Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3243742
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:28:08+00:00 2026-05-17T18:28:08+00:00

I wanted to do some Memory-Leak tracking on my App, but somehow I am

  • 0

I wanted to do some Memory-Leak tracking on my App, but somehow I am not able to run Clang Static Analyzer because I always get an error message saying “command not found” when executing it with the terminal.

There was no “.bash_profile” file on my mac, so I created one. Is there anything missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:28:09+00:00Added an answer on May 17, 2026 at 6:28 pm

    With your new profile, the system is now finding scan-build, but scan-build cannot run without being able to find perl. Your PATH variable is preventing the system from finding perl and xcodebuild. If you want to add /Users/Kay/bin/clang to your path, do this in your profile instead:

    export PATH="$PATH:$HOME/bin/clang"
    

    This will append that path to the pre-existing search list.

    Xcode can run the static analyzer for you. Open the project build settings, search for “analyzer”, then check the checkbox next to “Run Clang static analyzer.” The results are presented by Xcode both in the Details tab and as annotations on your project source code.

    Also, note that the Clang static analyzer is exactly that: a static analyzer. It will not observe the dynamic, runtime behavior of your application. For that, you should use Instruments: within Xcode, go to Run > Run with Performance Tool > Leaks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to create some subdirectories inside my blob. But it is not working
I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )
I know the topic I started is too subjective. But I just wanted some
This is going to be a quick discussion, but I just wanted some feedback
Just wanted to write some recursion but can't check if the child is in
I wanted to add some analytics functionnalities to my app so I created an
I've inherited some code and wanted to run this modification by you all, my
My iPad app is developed in MonoTouch, because I wanted to avoid all the
I wanted to test something that uses a User objects. But for some reason
I wanted some of those spiffy rounded corners for a web project that I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.