BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
409 stars 209 forks source link

Error when then trying to build from the Xcode #606

Open anilStartele opened 3 years ago

anilStartele commented 3 years ago

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.

KyronNextLevel commented 2 years ago

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.