Opened 7 years ago

Closed 7 years ago

#54906 closed defect (fixed)

TeXShop3 @3.88_0 upgrade fails on macOS Sierra, Xcode 9.0

Reported by: hapaguy (Brian Kurt Fujikawa) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: TeXShop3

Description

After upgrading Xcode and the Command Line Tools to 9.0, I attempted to upgrade TeXShop3 from 3.87_0 to 3.88_0:

$ xcodebuild -version
Xcode 9.0
Build version 9A235
$ sudo port -v selfupdate
$ sudo port clean --all -f TeXShop3
$ sudo port -sv upgrade TeXShop3

The upgrade fails, beginning with the following errors (full main.log is attached):

:info:build 2017-09-26 13:38:23.085 ibtoold[67250:2490515] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration (/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework), error = Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
:info:build   Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

I suspect that the upgrade failure is due to the Xcode 9.0 update.

Attachments (1)

main.log (34.5 KB) - added by hapaguy (Brian Kurt Fujikawa) 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by hapaguy (Brian Kurt Fujikawa)

Attachment: main.log added

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: mps@… removed
Owner: set to Schamschula
Status: newassigned

Yes it is. When I updated TeXShop3, it cleanly built under Sierra.

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

Port: TeXShop3 added

comment:3 Changed 7 years ago by Schamschula (Marius Schamschula)

I have contacted the upstream developer concerning this issue.

comment:4 Changed 7 years ago by Schamschula (Marius Schamschula)

The developer has updated TeXShop3 3.88 to address some Xcode 9 Sierra issues.

However, even with that update,

see: [cf0d071cebdf54b40509db987ab63c7d98cdb310/macports-ports]

I saw the same build issue described in this ticket.

Upon further research, I found the solution to be rather simple: Launch the Xcode App and install the required components.

Afterwards TeXShop3 3.88 cleanly built for me under Sierra, using Xcode 9.

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 in reply to:  4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to Schamschula:

Afterwards TeXShop3 3.88 cleanly built for me under Sierra, using Xcode 9.

...but fails on Sierra using Xcode 8, and all earlier macOS versions.

comment:6 in reply to:  4 Changed 7 years ago by hapaguy (Brian Kurt Fujikawa)

Thank you very much, I confirm that TeXShop3 @3.88_1 builds without issues on macOS Sierra with Xcode 9.0.

Replying to Schamschula:

The developer has updated TeXShop3 3.88 to address some Xcode 9 Sierra issues.

However, even with that update,

see: [cf0d071cebdf54b40509db987ab63c7d98cdb310/macports-ports]

I saw the same build issue described in this ticket.

Upon further research, I found the solution to be rather simple: Launch the Xcode App and install the required components.

Afterwards TeXShop3 3.88 cleanly built for me under Sierra, using Xcode 9.

comment:7 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.