Compiling sourcec-code fails

Internals, experiments, tech stuff
Locked
robert_m_muench
Posts: 12
Joined: Tue Mar 16, 2021 10:44 am

Compiling sourcec-code fails

Post by robert_m_muench » Tue Mar 16, 2021 10:47 am

Hi, trying to compile the source on BigSur, I get:

Code: Select all

** BUILD FAILED **


The following build commands failed:
	CompileC /Users/robby/Library/Developer/Xcode/DerivedData/NimbleCommander-hbpqzmbbxnsidjanuzeagvmggmjj/Build/Intermediates.noindex/Viewer.build/Debug/Viewer.build/Objects-normal/x86_64/History.o /Users/Shared/develop/osx/nimble-commander/Viewer/source/History.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
The application /Users/robby/Library/Developer/Xcode/DerivedData/NimbleCommander-hbpqzmbbxnsidjanuzeagvmggmjj/Build/Products/Debug_Unsigned/NimbleCommander-Unsigned.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3665, _LSFunction=_LSOpenStuffCallLocal}
But it's not clear to me what the problem is. It looks like the compiling works, but somehow the bundling not. Any idea?

robert_m_muench
Posts: 12
Joined: Tue Mar 16, 2021 10:44 am

Re: Compiling sourcec-code fails

Post by robert_m_muench » Sun Mar 28, 2021 8:07 am

Anyone? Or is it normal that this forum has such a low activity level?

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Compiling sourcec-code fails

Post by mike » Sun Mar 28, 2021 4:39 pm

Hi, it's not possible to tell what's happening in your case.
Perhaps the version of Xcode is not the one specified in README.

robert_m_muench
Posts: 12
Joined: Tue Mar 16, 2021 10:44 am

Re: Compiling sourcec-code fails

Post by robert_m_muench » Mon Mar 29, 2021 6:38 am

% system_profiler SPDeveloperToolsDataType
Developer:

Developer Tools:

Version: 12.4 (12D4e)
Location: /Applications/Xcode.app
Applications:
Xcode: 12.4 (17801)
Instruments: 12.4 (64543.2)
SDKs:
iOS:
14,4: (18D46)
iOS Simulator:
14,4: (18D46)
macOS:
11,1: (20C63)
20,2:
tvOS:
14,3: (18K559)
tvOS Simulator:
14,3: (18K559)
watchOS:
7,2: (18S561)
watchOS Simulator:
7,2: (18S561)

It looks like everything gets compiled but the generated .app bundle is empty.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Compiling sourcec-code fails

Post by mike » Wed Mar 31, 2021 8:50 pm

Well, the "(1 failure)" message tells that something went wrong.
Please check with the Xcode version specified in the README file.
At some point I will publish updated source code which is being built with the current Xcode, but it isn't clear when.

Locked