1 Reply Latest reply: Oct 12, 2013 11:16 PM by red_menace
Apple_For_The_Win Level 1 Level 1

Whenever I export an Applescript app from Xcode, in the resources folder, there is the unprotected source code. Someone else has changed the source code a bit and has begun distributing my app as his own. Is there anyway to compile or encrypt this code on export?

Solved by red_menace on Oct 12, 2013 11:16 PM Solved

In your project's build settings there is an OSACompile - Build Options section where you can select the option to Save as Execute-Only.  The run-only script isn't encrypted, but I haven't heard of anyone taking the time to decompile one.  Note that even though the script is no longer easily readable, text strings and variable/method names can still be seen.

  • red_menace Level 6 Level 6
    expertise.desktops
    Desktops

    In your project's build settings there is an OSACompile - Build Options section where you can select the option to Save as Execute-Only.  The run-only script isn't encrypted, but I haven't heard of anyone taking the time to decompile one.  Note that even though the script is no longer easily readable, text strings and variable/method names can still be seen.