Can i run a leopard compiled Studio app on Tiger

G’day

I’ve written a nice little App on my Leopard intel iMac, but it won’t run on my friends intel power mac with Tiger.

I’ve built it under PPC architecture as well, but still no success.

Is there anything I should do to make it compatible, or am I wasting my time?

Regards

Santa

Hey Santa,

Perhaps some of the interface items you added were Leopard only?

Try this, in Interface Builder, open your .nib file(s) and for each of them, at the top in the toolbar you should see an “i” info button. Click on this button (at least I have one in XCode 3.1) and it will give you a “Deployment Target” pop up menu. There choose the target OS you want to be the minimum for your program to run. If you have an NSToolbar, for example, it will tell you, in all target OSes below 10.5 that “Class Unavailable” and things like missing attributes.

Perhaps that will give you more information. Let us know what you find out!

Best,

K. M. Lawson

Thanks km. I did that and everything seemed OK.

I downloaded Studio 2.5 last night and re-built the app from the ground up.

Unfortunately I’ve struck a problem. The part of my script that successfully addresses illustrator in leopard bombs in 2.5 during compilation.

The offending lines are commented out in the following script. Can anyone tell me please what to change them to?

Regards

Santa


if (integer value of button "AppendName" of theWindow) = 1 then
				set theInitials to (content of text field "Initials" of window 1) & " " & (content of text field "String" of window 1) as text
				tell application "Adobe Illustrator"
					--set PageOrigin to visible bounds of document 1
					set theText to make new text frame at beginning of document 1 with properties {kind:point text, contents:tempName & "  " & theInitials, position:{(item 1 of PageOrigin) + 1, (item 2 of PageOrigin) + 80}}
					--rotate theText angle 90 about top left
					--set properties of the text of theText to {text font:text font "Geneva", size:14}
				end tell
			end if
			if (integer value of button "Auto Append" of theWindow) ≠ 1 then
				tell application "System Events" to tell process "Adobe Illustrator"
					set frontmost to true -- activates Illustrator
					click menu item "Save As..." of menu 1 of menu bar item "File" of menu bar 1
					delay 0.2
					tell window 1
						keystroke tempName as text
					end tell
				end tell
				my Showmessage("Please enter the correct name for the file, and select the correct file type.")
				my SetSound()
			else
				tell application "Adobe Illustrator"
					activate
					set savePath to FilePath & tempName & ".EPS" as text
					--save current document in file savePath as eps  with options {class:EPS save options, compatibility:Illustrator 8, preview:color Macintosh , embed linked files:true , include document thumbnails:true  , embed all fonts:true , CMYK PostScript:true , PostScript:level 2}
					--close current document saving no
				end tell
			end if

Hi Santa,

this doesn’t solve your problem, but the coercion police tells you to omit all useless text coercions :wink:

set theInitials to (content of text field "Initials" of window 1) & " " & (content of text field "String" of window 1) -- contents of a text field IS text
keystroke tempName -- keystrokes ARE text
set savePath to FilePath & tempName & ".EPS" -- I guess FilePath is also text already

G’day all

I started paring down the App by removing successive types of objects, and in the end ended up with a blank window without any attached script. It still flickers onto the screen, then disappears. Won’t mount at all.

I’m seeing in my Apps info window that it’s a universal App, so the build must be set OK.

Is there anything obvious as a newbie to Studio that I might have overlooked, or would the problem lie with the other end (an intel power mac running Tiger). What should he have installed to run the Studio App?

Any thoughts welcome

Regards

Santa

Model: intel 24" iMac
Browser: Safari 525.20
Operating System: Mac OS X (10.5)

They’ve just sent the crash log. I don’t understand it, but one of you might be able to help out. TIA

Date/Time: 2008-06-04 11:08:06.610 -0500
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4

Command: Illustrator automator
Path: /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator
Parent: WindowServer [58]
Rosetta: Yes

Version: 1.0 (1.0)

PID: 2339
Thread: Unknown

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x4e534195

Thread 0:
0 com.apple.ASApplication 0xb80a564f 0xb8000000 + 677455
1 com.apple.ASApplication 0xb809fb15 0xb8000000 + 654101
2 com.apple.ASApplication 0xb80bd72e 0xb8000000 + 775982
3 com.apple.ASApplication 0xb811e403 spin_lock_wrapper + 1985

Thread 1:
0 com.apple.ASApplication 0xb822fa6b strchr + 72
1 com.apple.ASApplication 0xb81cb487 pthread_cond_wait + 3114
2 com.apple.ASApplication 0xb816765e catch_exception_raise_state_identity + 318
3 com.apple.ASApplication 0xb8166b9a CallPPCFunctionAtAddressInt + 177124
4 com.apple.ASApplication 0xb8166a91 CallPPCFunctionAtAddressInt + 176859
5 com.apple.ASApplication 0xb816775c catch_exception_raise_state_identity + 572
6 com.apple.ASApplication 0xb8200c00 pthread_create + 1124

Unknown thread crashed with i386 Thread State:
eax: 0x00000020 ebx: 0xb80a5628 ecx:0x4e534175 edx: 0x0000000c
edi: 0x4e534195 esi: 0x80d034f0 ebp:0xb7fff9f8 esp: 0xb7fff9c0
ss: 0x0000001f efl: 0x00010206 eip:0xb80a564f cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs:0x00000000 gs: 0x00000037

Binary Images Description:
0x1000 - 0x1fff com.apple.ASApplication 1.0 /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator
0x8fc00000 - 0x8fc50fff dyld 46.16 /usr/lib/dyld
0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901c0fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90218000 - 0x9021dfff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021f000 - 0x90261fff com.apple.CoreText 1.1.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90289000 - 0x9036dfff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x90396000 - 0x90758fff com.apple.CoreGraphics 1.258.78 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x907e7000 - 0x908befff com.apple.CoreFoundation 6.4.11 (368.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90905000 - 0x90905fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90907000 - 0x90a10fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a61000 - 0x90ae4fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90b0d000 - 0x90b7ffff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bf2000 - 0x90bfdfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90c02000 - 0x90c77fff com.apple.framework.IOKit 1.4.8 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c8d000 - 0x90ca1fff libauto.dylib /usr/lib/libauto.dylib
0x90ca7000 - 0x90f72fff com.apple.CoreServices.CarbonCore 682.28 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90fcf000 - 0x91048fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x9108b000 - 0x910ccfff com.apple.CFNetwork 129.22 (129.23) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x910e0000 - 0x910f4fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91100000 - 0x91192fff com.apple.SearchKit 1.0.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x911ce000 - 0x911eefff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x911fb000 - 0x9120afff libz.1.dylib /usr/lib/libz.1.dylib
0x9120d000 - 0x913c2fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x914bf000 - 0x914c8fff com.apple.DiskArbitration 2.1.2 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x914cf000 - 0x914d7fff libbsm.dylib /usr/lib/libbsm.dylib
0x914db000 - 0x91503fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91515000 - 0x9158efff com.apple.audio.CoreAudio 3.0.5 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x915d8000 - 0x915d8fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x915da000 - 0x9160dfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x91623000 - 0x91700fff com.apple.ColorSync 4.4.10 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9173f000 - 0x917c0fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917fd000 - 0x918affff com.apple.QD 3.10.25 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x918e4000 - 0x9193afff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91962000 - 0x9197cfff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x9198a000 - 0x919aafff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x919b7000 - 0x919f3fff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x91a0b000 - 0x91a19fff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91a21000 - 0x91a5ffff com.apple.ImageIO.framework 1.5.7 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91a74000 - 0x91b37fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b82000 - 0x91b97fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b9c000 - 0x91bbcfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91bc1000 - 0x91c21fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c33000 - 0x91c37fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c39000 - 0x91ca6fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91cab000 - 0x91cebfff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91cf1000 - 0x91d0cfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d11000 - 0x91d13fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d15000 - 0x91e03fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e22000 - 0x91e22fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e24000 - 0x91f0afff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91f12000 - 0x91f31fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91f9d000 - 0x92029fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x92035000 - 0x920ccfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x920e5000 - 0x92692fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x926c5000 - 0x929f0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92a20000 - 0x92b0ffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92b12000 - 0x92b98fff com.apple.DesktopServices 1.3.7 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x92bda000 - 0x92e0efff com.apple.Foundation 6.4.10 (567.37) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f31000 - 0x92f51fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f5c000 - 0x92fb8fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fce000 - 0x92fcefff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fd0000 - 0x92fe5fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92ff6000 - 0x93001fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x93009000 - 0x93012fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x9301a000 - 0x930adfff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x930c2000 - 0x930c7fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x930cb000 - 0x930edfff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x93101000 - 0x93109fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x93110000 - 0x93179fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x931a2000 - 0x931eafff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x93214000 - 0x93225fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x9322e000 - 0x93235fff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x9323b000 - 0x93562fff com.apple.HIToolbox 1.4.10 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x93697000 - 0x936a4fff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93710000 - 0x93710fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93712000 - 0x93d80fff com.apple.AppKit 6.4.10 (824.48) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94108000 - 0x9417cfff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x941b6000 - 0x94275fff com.apple.audio.toolbox.AudioToolbox 1.4.7 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x942b9000 - 0x942b9fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x942bb000 - 0x9446efff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x944b7000 - 0x944f7fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x944ff000 - 0x94543fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9454a000 - 0x94564fff com.apple.CoreVideo 1.4.2 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x94575000 - 0x94597fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x95291000 - 0x9534ffff com.apple.WebKit 4525.18 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x953bd000 - 0x954a5fff com.apple.JavaScriptCore 4525.17 /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x954e1000 - 0x95bb3fff com.apple.WebCore 4525.18.1 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
0x95f6b000 - 0x95fabfff com.apple.AppleScriptKit 1.4.1 (64) /System/Library/Frameworks/AppleScriptKit.framework/Versions/A/AppleScriptKit
0x95fd9000 - 0x9600ffff com.apple.OSAKit 1.0.1 (43) /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
0x9602e000 - 0x9603bfff libexslt.0.dylib /usr/lib/libexslt.0.dylib
0x9603e000 - 0x96066fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x9bcb5000 - 0x9bcb7fff Interposers.dylib /usr/libexec/oah/Shims/Interposers.dylib
0xb8000000 - 0xb82d6fff com.apple.ASApplication 1.0 /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator

Translated Code Information:

Rosetta Version: 17.26
Args: /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator -psn_0_37224449
Exception: EXC_BAD_ACCESS (0x0001)

Thread 0: Crashed (0xb7fff9c0, 0xb80a564f)
0x00000062: /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator : + 0x62
0x00001fb4: /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator : _main + 0x1c
0x00001f44: /Users/UEIArtEmail/Desktop/Illustrator automator.app/Contents/MacOS/Illustrator automator : start + 0x44
0x0c0700b8: No symbol

PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x95f6bcb4 ctr: 0x95f6bc84
r00: 0x00001fb4 r01: 0xbffff880 r02: 0x00000001 r03: 0x95faaea0
r04: 0x95fa1874 r05: 0x00000000 r06: 0xbffff9a4 r07: 0x00000062
r08: 0x00000069 r09: 0x00000010 r10: 0x5e5e6172 r11: 0x6a041874
r12: 0x4e534175 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0xbffff970 r27: 0x0000000c
r28: 0xbffff974 r29: 0x00000002 r30: 0x00000000 r31: 0x95f6bc8c

Model: intel 24" iMac
Browser: Safari 525.20
Operating System: Mac OS X (10.5)