linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

Error when then trying to build from the Xcode

Open anilStartele opened this issue 3 years ago • 1 comments

I am working with linphone-desktop, linphoneqt.xcodeproj file has been generated inside the build folder, When trying to do the Build and run the current scheme for the first time from the Xcode getting the failed with exit code 1 error.

PhaseScriptExecution Generate\ WORK/stamp/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/sdk-configure build/linphoneqt.build/Debug/sdk-build.build/Script-CCE156970FECEEA62CA42CEE.sh
    cd /Users/startelelogic/Documents/Ayrix/linphone-desktop
    /bin/sh -c /Users/startelelogic/Documents/Ayrix/linphone-desktop/build/linphoneqt.build/Debug/sdk-build.build/Script-CCE156970FECEEA62CA42CEE.sh

CMake Error: Error: generator : Xcode
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
Command /bin/sh failed with exit code 1

I have tried to resolve this issue by locking/unlocking the keychain, by Deleting the contents from the Derived Data folder and installing the pod into the build folder but none worked.

anilStartele avatar May 03 '21 05:05 anilStartele

Hello.

Since 2 years, we don't build anymore with XCode on our CI because it was outrageously slow. Maybe since there could be some errors preventing XCode build to succeed.

Anyway, while we investigate, you can build with Makefiles or Ninja Generator and the build would succeed.

KyronNextLevel avatar Feb 07 '22 15:02 KyronNextLevel