make error after upgating to MacOs Catalina

make error after upgating to MacOs Catalina

Postby plantenkennis » Mon Oct 14, 2019 10:01 am

Hello group,

Last week I updated my Macboork to MacOs 10.15 (Catalina). Now when I try to compile my program I get an error that my path is not set correctly:
Code: Select all  Expand view  RUN
Symbol not found: _OBJC_IVAR_$_NSFont._fFlags Referenced from: /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
  Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 in /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
make: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch

I try to set the path using:
Code: Select all  Expand view  RUN
/usr/bin/xcode-select -s /Applications

This gives the next message:
Code: Select all  Expand view  RUN
xcode-select: error: --switch must be run as root (e.g. `sudo xcode-select --switch <xcode_folder_path>`).

So I give next command:
Code: Select all  Expand view  RUN
sudo xcode-select --switch /Applications

But the path is still not correct. What should I do
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: make error after upgating to MacOs Catalina

Postby Antonio Linares » Fri Oct 18, 2019 11:01 am

René,

I have not installed Catalina yet.

I am going to test it and also ask Manuel Alvarez who surely may have tested it already...

A quick solution is coming, don't despair :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: make error after upgating to MacOs Catalina

Postby plantenkennis » Sat Oct 19, 2019 7:34 am

Hello Antonio and Manuel,

Thank you for looking into this problem.

BTW, i am using xcode version 9 (version 9.4.1) because some users of my software use an older version of MacOs and they got an error when I compiled with xcode 10 (software not suitable for this version)
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: make error after upgating to MacOs Catalina

Postby Antonio Linares » Sat Oct 19, 2019 8:09 pm

Steps to use OSX Catalina:

1. xcode-select --install

After this FiveMac working fine! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: make error after upgating to MacOs Catalina

Postby plantenkennis » Mon Oct 21, 2019 11:19 am

Hello antonio,

I tried this, but gives the same error:
Code: Select all  Expand view  RUN
make
dyld: Symbol not found: _OBJC_IVAR_$_NSFont._fFlags
  Referenced from: /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
  Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 in /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
make: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
 


What next?

Where do I find xcodebuild
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: make error after upgating to MacOs Catalina

Postby Antonio Linares » Mon Oct 21, 2019 11:32 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: make error after upgating to MacOs Catalina

Postby plantenkennis » Mon Oct 21, 2019 12:18 pm

Hello Antonio,

YES, thank you. Back on track again.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 5 guests