AppleScript Studio apps not Universal?

I am using XCode 2.3 on a PowerBook G4 running Mac OS X 10.4.7.
I have an application I have written in AppleScript Studio in that the only code I have written is all AppleScript code.
I have set the Architectures in XCode to include BOTH PowerPC and Intel and the Target SDK is Mac OS X 10.4 Universal. I am running the "Deployment" build.
According to http://developer.apple.com/documentation/MacOSX/Conceptual/universalbinary/universal_binary_compiling/chapter_2_section3.html this should be sufficient to produce a "Universal Binary". However the resulting Binary stubbornly shows itself as Application (PowerPC) in the Finder instead of Application (Universal).
What am I doing wrong? Or is it that pure AppleScript Studio will always result in PowerPC as the benefit from Intel nativeness is so slight.
Ah ha! Found the answer, I had to select "Upgrade All Targets in Project to Native" in the Project menu. This was not mentioned in the Apple documentation above.
Message was edited by: John Lockwood

Found answer myself. Need to select Upgrade All Targets in Project to Native.

Similar Messages

  • Applescript Studio app crashes with link error (dyld) image not found

    I've built a small Applescript studio app that works fine on the development machine but when I run it on other machines it crashes with a dyld error, specifically:
    Link (dyld) error:
    Library not loaded: /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/ZeroLink
    Referenced from: /Volumes/Discover Your Mac Spotlight movie/Table of Contents Viewer.app/Contents/MacOS/Table of Contents Viewer
    Reason: image not found
    Does any one know why this happens and how I can fix it?
    Thanks very much in advance...
    iMac G5 20   Mac OS X (10.4.2)  

    Rick,
    looks like you built the application in "Development" mode - switch the build style to "Deployment" and most probably things will be fine in the other machine.
    Andreas

  • Applescript studio app and plist???

    Hi everyone!
    If I have an Applescript studio app and I don't write anything to a plist is it still possible the app will make it's own plist for any reason? Seems to be but I can't tell for sure because seems not to be consistent. Any help would be great!
    Thanks,
    Reg

    On second thought, the plist file might be created if
    you display something. I just did a clean install so
    everything's new. Let me check with one of the apps
    that displays a an open dialog or something.
    Yes there are certain things in AS Studio that will write to a plist file. One example I know of is if you give any of your windows an "Auto Save Name" (in the "Attribute" pane of IB's inspector pane). The "Auto Save Name" will be used as the key to a plist entry that auto-saves the window's size and position on screen. When you re-run your app the window will be opened with the size and location stored in the plist.
    I believe kel may also be correct that if your app displays an open or save dialog then some state information about those dialogs will be saved to your plist.
    You can always use "plutil" to convert the plist file from binary to xml and then display the contents to see what's in there...
    <pre>
    plutil -convert xml1 /path/to/file.plist
    cat /path/to/file.plist
    </pre>
    Steve

  • Starting an applescript studio app

    I have written an applescript. I want to incorporate it into an applescript studio app........mainly to make use of the progress bar indicator. How do I get the script to start without having to click on any buttons. Thanks.

    Hook up your window (or the progress indicator) to the "awake from nib" handler in Interface Builder and insert your existing applescript code into the "on awake from nib theObject" handler that gets created in the AS Studio script.
    Steve

  • Starting mysql daemon hangs applescript studio app

    hi,
    i am currently writing a small application with applescript studio that starts an apache server and a mysql database.
    Starting apache via a 'do shell' command is no problem at all but starting mysql with this command
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions &"
    hangs my application.
    Executing the command in a shell works well.
    I guess the problem is that firing the command (in the terminal) causes the terminal to return to the command prompt (username:~ username$ ) pretty immediatley. But after one or two seconds there are some more information echoed to the shell ('Starting mysqld daemon with databases from pathto_datadir').
    Maybe this confuses my app and it starts waiting for things that will never end.
    My current workaround is to open the terminal and to execute the command there:
    tell application "Terminal"
      do script "pathto/mysqldsafe --port=3023 --somemoreoptions &"
      delay 1
      if terminalwasopen is equal to false then
        quit
      else
        close window 1
      end if
    end tell
    Any ideas how to get rid off this wokaround and how to manage this with a simple 'do shell script'?
    Thanks in advance.
    i++
    PowerBook Pro 15"   Mac OS X (10.4.7)  

    This issue is discussed in the do shell script technote.
    Specifically, even though you tell the process to background (by appending the &), AppleScript still holds onto the process' stdout and stderr, waiting for the output of the command.
    The solution is to suppress or redirect stdout and stderr, e.g.:
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions > /dev/null 2>&1 &"
    The '> /dev/null' suppresses stdout (which could go to a file if you prefer), and '2>&1' sends stderr to the same place as stdout.
    Incidentally, I assume you have some check to ensure apache and/or mysql aren't already active, right? This would cause a problem if mysql is already running.

  • Final Cut Studio apps not opening on your Intel Mac - Universal Prokit?

    Motion and other Final Cut Studio applications stopped opening on my Intel iMac, and the problem was that the Prokit.framework file wasn't universal binary. I did some Google-ing and found this topic regarding the universal Prokit.framework file.
    http://forum.insanelymac.com/index.php?showtopic=15003&st=0
    Find the Rapidshare link and download it. Follow the instructions in that topic.
    Enjoy! I hope it solves the problem for you!

    didn'y know there was such a big 'underground' FCP on a PC faction ...< </div>
    Sheesh, now we have to completely restructure our knee-jerk responses to "Is there a PC version of Final Cut?" posts.
    bogiesan

  • Applescript studio app just quits

    hi, i made a cocoa app written in applescript using Xcode. but when i send the app to other computers, the app just opens then quits right away. but it works fine on my computer. any ideas?

    http://discussions.apple.com/thread.jspa?threadID=475738
    …loads OK here, there may be something amuck in the system? The first thing you should try is to Set Active Build Configuration on the Project Menu to 'Release,' then build your app. You should then find a release executable in your project folder that you can send instead of the debug.

  • AppleScript Studio Location?

    I downloaded the Xcode tools volume specifically for the Applescript Studio app. The only problem is, i can't seem to locate that app in particular in the volume . There are a dozen or so packages can anyone tell me which one contains it? I'd rather not install a whole bunch of stuff that i'm probably won't use or just test each one. I have all ready installed the Developer tools.pkg and it wasn't in there. Any help would be greatly appreciated.

    Hey,
    AppleScript Studio is a part of Xcode and not a seperate application. To create an AppleScript Studio project simply launch Xcode and select AppleScript Application as the project type when asked. If you are new to AppleScript Studio you might want to try googling for AppleScript Studio.

  • Applescript Studio: Lion

    Before you tell me, I realize that Applescript Studio is not longer supported in xcode 4.0 (which *****).   But I was wondering if it would be possible to download an earlier version of xcode, that still has applescript studio, and if that would work.  That would be really great if that is possible.
    Alternatively, if anyone has any alternatives to Applescript Studio that would also be nice.  I know that ASOC (applescript objc) is an alternative, but from what I've seen, it looks really different from applescript. 
    Thanks in advanced, Boboonski

    Xcode 3.2.6 (some people still prefer it) can be installed on Lion with a little trickery - a Google search comes up with several solutions.  AppleScriptObjC is way superior to AppleScript Studio though, with the main difference being in the way that Cocoa is used.  Figuring out the appropriate Cocoa classes and methods is the biggest pain in either one, but the AppleScript parts are still AppleScript.

  • Create UI elements dynamically in AppleScript Studio?

    I'd like to create an applescript studio app that can create UI elements (radio buttons, checkboxes, etc) dynamically based on certain other criteria. I've been writing applescripts for a while but am somewhat new to applescript studio, so I don't know where to look for this, other than here. Any help would be greatly appreciated.

    that's what I thought. Unfortunately I'd like to have the ability to have no prior knowledge of what UI elements are needed, and call them into being at any time. So I'm gonna infer that that just isn't possible.
    Related question: can I set up a UI element, let's say a checkbox, and dynamically tell the UI element how many checkboxes I need and what their names/values should be? Or once again do I need to have prior knowlege of how many checkboxes I need?

  • Known Issue: How to Install Visual Studio Tools for Universal Windows App Development (Windows 10 Insider Preview SDK and tools, April 2015 release)

    The Visual Studio Tools for Universal Windows App Development are not installed by default. If they are not installed, in the New Project dialog in Visual Studio 2015, you will see only a template “Download Windows Universal Tools”.
    For additional known issues with using Visual Studio 2015 RC, see
    https://support.microsoft.com/kb/3025133/

    Additional Installation Known issues:
    Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later
    https://social.msdn.microsoft.com/Forums/en-US/de06c7c0-4248-4d68-bfcb-4b9a23fae1c0
    You cannot install the Visual Studio Tools for Universal Windows Apps on a pre-RC build of Visual Studio 2015
    https://social.msdn.microsoft.com/Forums/en-US/25d0b000-3ebb-4032-a786-99caf0390e9b
    Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
    https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/
    Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps
    https://social.msdn.microsoft.com/Forums/en-US/bfc4fcc0-cb48-4bb0-aab3-5797e31b08e0
    Fatal error when installing the Windows emulators: 2147023293
    https://social.msdn.microsoft.com/Forums/en-US/5485554c-e7e8-414e-a542-d1f7c0b6291c
    Do not install Visual Studio Express 2015 for Windows 10 on a Machine with Visual Studio Community, Professional, or Enterprise
    https://social.msdn.microsoft.com/Forums/en-US/94a29b17-baaf-4318-98ff-1cfc90a54bad/
    How to enable your Windows 10 device for development
    https://social.msdn.microsoft.com/Forums/en-US/6e34c9f0-5e3a-4b44-9aae-586ba94f8a28/

  • Known Issue: Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later (Windows 10 Insider Preview SDK and tools, April 2015 release)

    The Visual Studio Tools for Universal Windows Apps requires Windows 10 build 10074 or later. If you use an earlier build of Windows 10, you will see a notification in Visual Studio, the XAML designer will not be available, and you will get the following
    error when deploying apps to your local machine:
    Error : DEP0700 : Registration of the app failed. Deployment Register operation with target volume C: on Package
    <package ID> from: (<path_to_AppxManifest.xml>) failed with error 0x80073CFD. See
    http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. (0x80073cfd)

    To work around this issue, either
    Use Windows 8.1 and deploy to the Windows Mobile Emulator
    Or, update your computer from an earlier Windows 10 flight to build 10074 or later. To do this,
    in Settings, open the Update & security section, and select the
    Windows Update tab. Then click Check for updates.

  • Apps for Universal Crossword puzzle does not recognize server.

    I am using a Officejet Pro 8500A and Windows 7 on a wireless network. I have downloaded some Apps from ePrint. The other Apps work fine, "Forms(Proposals)", "News". The App for Universal Crossword doesnot function in that I get an error message "the printer was unable to connect to the server." Is there some problem with this App that others don't have?
    This question was solved.
    View Solution.

    Hi jcope10248. That error is specific to the printer connecting to web services, and not necessarily the App itself. I recommend contacting HP Cloud services @1-855-785-2777 since they will have real time information about the service. The number is toll free and the service is free and doesn't require that your printer be in warranty.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Option+Return does not work in applescript studio

    Fresh install of osx 10.4.6 Tiger, newest release of xcode.
    I start an applescript studio application project, when editing in Xcode Option+Return does not insert the continue line character.
    I can open the same .applescript in the Applescript Editor and Option+Return does work.
    Also, Option+Return works in my desktop installation of Xcode. No idea what's different here or how to fix it, but it's really messing with my work flow.

    Moved to .NET SDK forum.
    Search here, lots of post on IIS and setting Printer Access Permissions for your application.
    Also search MSDN on what is required to for IIS to access local Printers.
    Also search for ActiveX Controls and Browser permissions, you'll likely have problems there also since most Browsers will not or do not recommend allowing any ActiveX control.
    Don

  • Building a stand-alone AppleScript Studio application

    I’m taking a crack at building my first stand-alone application with AppleScript Studio. After many attempts to locate the needed “build” information in the various documentation resources I’m still pretty much poking around in the dark ...
    My application runs fine in the Xcode IDE. No problems. The application that Xcode saves in the project’s Debug folder runs too, (well, on the computer I developed it on) even if I move it out of its folder ...
    However, the app. doesn’t run on other macs. When double-clicked and it sorta fizzles without ever opening — wondering if the debug version relies on some resources within the project. I've installed it on a PowerBook and iBook, both running Mac OS 10.4
    I tried Build/Release. This also produced an application (in the Build/Release folder) which when failing to launch and causes the OS to burp, “You cannot open the application “My First App” because it may be damaged or incomplete.” This app will not run on my development computer or other laptops (PowerBook and iBook.)
    Build/Release also invoked three Xcode compiler error messages that seem to indicate that I need to change the NIB settings:
    /usr/bin/ld: warning /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Cocoa.framework/Coco a cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
    /usr/bin/ld: warning /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/AppleScriptKit.frame work/AppleScriptKit cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
    /usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
    Also got this warning(?):
    /usr/bin/ld: Undefined symbols:
    __keymgr_dwarf2_registersections
    _cthread_initroutine
    _atexit
    _errno
    _exit
    mach_initroutine
    _ASKInitialize
    _NSApplicationMain
    collect2: ld returned 1 exit status
    Also tried Clean All. Same result.
    I'm sure there's a simple step ... which I will remember well, 'cause I'm learning it the hard way.
    John

    However, the app. doesn’t run on other macs. When
    double-clicked and it sorta fizzles without ever
    opening — wondering if the debug version relies on
    some resources within the project. I've installed it
    on a PowerBook and iBook, both running Mac OS 10.4
    You're right. You can't move a debug version of the app to another computer unless you copy the entire project folder. The debug version of the app requires access to other by-products of the build process in order to run.
    Build/Release also invoked three Xcode compiler error
    messages that seem to indicate that I need to change
    the NIB settings:
    The following errors are not related to your NIB file. They indicate you're trying to link against the 10.3.9 frameworks on an intel CPU. The 10.3.9 frameworks are PPC only.
    /usr/bin/ld: warning
    /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Framew
    orks/Cocoa.framework/Cocoa cputype (18, architecture
    ppc) does not match cputype (7) for specified -arch
    flag: i386 (file not loaded)
    /usr/bin/ld: warning
    /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Framew
    orks/AppleScriptKit.framework/AppleScriptKit cputype
    (18, architecture ppc) does not match cputype (7) for
    specified -arch flag: i386 (file not loaded)
    /usr/bin/ld: warning fat file:
    /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSyst
    em.dylib does not contain an architecture that
    matches the specified -arch flag: i386 (file
    ignored)
    [snip]
    Take a look at the suggestions I made in this thread to make sure your project is set up to build a universal binary and to ensure that you're linking against the 10.4 universal frameworks.
    Steve

Maybe you are looking for

  • Accrual Engine- Open Item Gl Account

    Hi In case of Accrual engine , I am trying to post to target account which is Open item managed . I know system will not allow to post to OI . Is there a workaround for this ?? Regards Ram

  • Threading with Java 1.4.2_05-b04??

    Hi! Could some please tell me that what has happened with the threading model on Java 1.4.2?? I mean, I have applications that has been developed with 1.3.1_b24, and everything worked OK. Now that I updated to this newer Java version 1.4.2_05-b04, my

  • FTP Broken in Dreamweaver CS6 and CC

    I have been unable to ftp into 1 of 3 websites that I maintain ever since upgrading to Dreamweaver CS6 (and now CC). The problem appears to be that the site's root directory name as reported by a PWD command is shorter than the name required to be is

  • How to insert embedded files in PDF

    Does anyone know how to embed files in a PDF file? I have a Word document where I inserted clickable files (ie, Outlook email message, another word document) but when I convert them to PDF, they are not clickable, meaning they can't be opened. I do n

  • Hello, I have IPhone 4. its not working properly,

    Hello My IPhone 4 its blocking a lot of times during day, the problem is when I access to any application works, but when I want to back to the main menu I press a lot times the bottom but its blocking and take a lot time to back to the main menu. I