Helpful new software for coding

I’ve released 3 tools for Xojo developers.
You can get them at: HTTP://KCG-Software.com

KCG Xojo API Guard - is a program for dev’s using AI to help them code. Often AI will mingle API 1.0 and API 2.0 even when you tell it not to. This will help find the common API 1.0 issues.

KCG XOJO LOC - is a program to count the Lines Of Code in your program. This is often needed for corporate metrics.

KCG Xojo Unused - is a program to identify potentially unused methods and properties in your program. This helps you remove dead code after numerous iterations of updating. It is especially helpful in large programs.

5 Likes

Respectfully, if anybody needs the Lines Of Code tool, they should quietly start looking for a new job. :wink:

3 Likes

Just a friendly reminder that the IDE can highlight API 1.0 code.

because people like to copy paste source code, it would be useful if AI would mention a lot of duplicates.

method count would be interesting and how often a method is used by other methods.

or a method call hierarchy / tree view.

I just gave this a try. Sequoia 15.6.1 (Intel) rejects it for not being notarized.

It is annoying and should be rectified if possible.

Overriding these warnings is becoming more and more convoluted.

Mac/M1/Sequoia. I would hope this works for Intel as well.

ChatGPT reminded me of the work around which worked for me because I elected to trust the app in this context.

  1. Try to open the app normally (double-click). You’ll see the warning.

  2. Go to System SettingsPrivacy & Security.

  3. Scroll down — you should see a message like:

    “KCG Xojo Unused.app was blocked because it is not from an identified developer.”

  4. Click “Open Anyway”.

  5. Confirm when prompted.

From then on, macOS will remember and allow that app to open normally.

I don’t own a mac. I do my testing on a virtual machine. I refuse to pay Apple for a developer ID. I have not made any money from the applications. It’s a retirement hobby and ti expensive as it is. So I just rely on people to select Run Anyway.

I am aware of this, but chose not to trust. In any case, when distributing to the public, it’s not a good look.

I’m not sure that’s an option anymore on Apple Silicon. But I may give your app another try :slight_smile:

@Jerry_Fritschle

Yes currently it is

Not sure about macOS 16 :woman_shrugging:

Not sure about macOS 16 :woman_shrugging:

macOS 26 :zany_face: - (which I have also not used)

I have not made any money from the applications. It’s a retirement hobby and ti expensive as it is.

I commiserate. I am in the same position. I receive no compensation for my applications. They are a hobby.

This hobby is becoming more and more expensive. The tools (like Xojo, 4D) are increasing prices, reasonable for professional developers but not for many hobby programmers.

I use a Mac. I am willing to pay the Apple Developer Tax, but it is an additional expense. But it is relatively easy to do. :slightly_smiling_face:

For me, the greater problem is figuring out how to jump through all the hoops to make an app “Secure” so the public can download it without being hassled or anxious. This has become increasingly complex. It has pushed me out of making my applications available on PC’s. I just cannot handle the complexity. I have more money than brain bandwidth, so this is the pinch point for me.

This has all become a real hardship for the hobby programmer, giving away “free” tools for the general public good. Twenty years ago, this was all fun and healthy. Now the bad actors and the reactions to those bad actors have killed most of it.

Anyway, I feel your pain. I have wanted a tool like KCG Xojo Unused. I am eager to see if it works for me.

3 Likes

To be fair, code signing on Windows is a thing, too. And Windows will also squawk about installers (if you’re using one) being from an “Unknown Publisher” (“Unidentified Developer” on Mac.)

Your website describes your products as donationware. I respectfully submit that a little more investment in signing/notarization will get you more users–and donations. :slight_smile:

Yes 26 :winking_face_with_tongue:

Just for info, it’s still possible to bypass the un-notarized app warning in macOS 26 Tahoe.

Also don’t forget that, starting with Xojo 2024r4, the IDE will notarize the app for you, so that takes some of the pain away. You still need to be a member of the Apple Developer Program though. Sandboxing, Hardened Runtime and Notarization arrives to the Xojo IDE – Xojo Programming Blog

Just use this in the Terminal:

xattr -d com.apple.quarantine -pathtofile-

When finished, you can launch those apps (Intel and ARM)

FWW I could test KCG Xojo API guard (but it is not a very useful app because it just gives a list of API1 controls etc and proposes the API2 counterpart).

Xojo does this by default.

What I was using KCG Xojo API guard for was to check AI generated code. I just copy the code to the clipboard and check it while it’s still in the clipboard. Then I don’t have to load the buggy code into the Xojo IDE before I tell the AI to fix it’s ccde.