Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38981 closed defect (fixed)

TeXShop3 @3.14 build error - wrong sdk

Reported by: anddam (Andrea D'Amore) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: mountainlion Cc: gallafent
Port: TeXShop3

Description (last modified by anddam (Andrea D'Amore))

While updating TeXShop on my 10.7 system with XCode 4.6.2 I got

/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_TeXShop3/TeXShop3/work/texshop-3.14/Sources/TSToolbarController.m:321:52: error: use of undeclared identifier 'NSImageNameShareTemplate'
       [shareButton setImage: [NSImage imageNamed: NSImageNameShareTemplate]];
                                                   ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_TeXShop3/TeXShop3/work/texshop-3.14/Sources/TSToolbarController.m:337:55: error: use of undeclared identifier 'NSImageNameShareTemplate'
        [shareButtonEE setImage: [NSImage imageNamed: NSImageNameShareTemplate]];
                                                      ^
2 errors generated.

This is due to the NSImageNameShareTemplate having been introduced in 10.8 AppKit API, I tried adding -sdk macosx10.8 to build.pre_args without success.

I'm attaching full log.

Attachments (1)

texshop3_log.txt (867.1 KB) - added by anddam (Andrea D'Amore) 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by anddam (Andrea D'Amore)

Attachment: texshop3_log.txt added

comment:1 Changed 11 years ago by anddam (Andrea D'Amore)

Description: modified (diff)

comment:2 Changed 11 years ago by anddam (Andrea D'Amore)

Description: modified (diff)

comment:3 Changed 11 years ago by dduca@…

I had exactly the same troubles on my MacBook Air under OS X 10.7.5, employing XCode 4.6.2

comment:4 Changed 11 years ago by gallafent

Cc: william@… added

Cc Me!

comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)

Have any of you reported this upstream? TeXShop 3 claims that it supports Lion.

Last edited 11 years ago by larryv (Lawrence Velázquez) (previous) (diff)

comment:6 Changed 11 years ago by mf2k (Frank Schima)

Keywords: xcode removed

comment:7 Changed 11 years ago by anddam (Andrea D'Amore)

I sent an email to the author.

comment:8 Changed 11 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

Corrected upstream, at least this NSImageNameShareTemplate is not in use anymore, done in r105960

comment:9 in reply to:  8 Changed 11 years ago by anddam (Andrea D'Amore)

Replying to jwa@…:

Corrected upstream, at least this NSImageNameShareTemplate is not in use anymore, done in r105960

Check ticket:39062#comment:6.

Note: See TracTickets for help on using tickets.