> On 20 May 2026, at 07:43, FZiegler <[email protected]> wrote: > > Hi all, > > I use a self-compiled BibDesk, as I need to change ONE WORD in the source > (see [1]). As with 64-bit in 2020 [2], an arch change forced me to rebuild > today. > > The instructions at [3] say “Xcode 3.1.1 or higher is required but Xcode 4 is > currently not supported”, so no surprise, none of what I see in current Xcode > (26.3!) matches the subsequent instructions; at least I couldn’t get an > active button to build. So I tried the command line instead: >
Those Wiki pages have not been touched for a very long time, so they probably are far out of date. > 1°) After downloading a snapshot at [4], > > $ xcodebuild -list -project Bibdesk.xcodeproj > Command line invocation: > /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list > -project Bibdesk.xcodeproj > > Information about project "Bibdesk": > Targets: > BibDesk > HeaderDoc > DiskImage > relaunch > > Build Configurations: > Debug > Release > > If no build configuration is specified and -scheme is not passed then > "Release" is used. > > Schemes: > BibDesk > BibImporter > DiskImage > HeaderDoc > relaunch > > $ xcodebuild -project Bibdesk.xcodeproj -scheme BibDesk -configuration > Release build > > results in 6 errors about missing frameworks. > > 2°) These are solved by doing > > $ ln -s ../bibdesk_vendorsrc vendorsrc > $ xcodebuild -project Bibdesk.xcodeproj -scheme BibDesk -configuration > Release build > > which then still complains about a missing SkimNotesBase.framework. > > 3°) This is solved by downloading a snapshot at [5] and doing > > $ ln -s ../../skim-app-code-r16294-trunk/SkimNotes SkimNotes > $ ln -s ../../skim-app-code-r16294-trunk/SkimNotes SkimNotesBase > $ xcodebuild -project Bibdesk.xcodeproj -scheme BibDesk -configuration > Release build > > which then results in the error > > BibDocument_Search.m:189:79: error: no visible @interface for > 'NSArray<BibItem *>' declares the selector 'indexForField:’ > You should not have to do all this. You probably did not properly install the sources, the externals are missing. Did you get the sources using svn? It certainly used to be that externals were also included when you do an svn checkout. > 4°) Finally this is solved, and a successful build results (with 17 warnings) > if I comment out the offending lines 188-189: > > else if ([self hasGroupTypeSelected:BDSKExternalGroupType]) > skIndex = [[[[self selectedGroups] firstObject] publications] > indexForField:field]; > > > QUESTION: Can you suggest a more correct fix than just commenting out? > You should not comment out. The problem is not so much that the code is wrong, but the compiler complains too much, as it does not know the class that is returned. You can fix this by typing the return value so the compiler knows: skIndex = [(BDSKPublicationArray *)[[[self selectedGroups] firstObject] publications] indexForField:field]; I’ve already changed that in the source. > Thanks in advance, > Francois > -------- > [1] https://sourceforge.net/p/bibdesk/mailman/message/28421183/ > [2] https://sourceforge.net/p/bibdesk/mailman/message/36936875/ > [3] https://sourceforge.net/p/bibdesk/wiki/BuildingFromSVN/ > [4] https://sourceforge.net/p/bibdesk/svn/HEAD/tree/trunk/ > [5] https://sourceforge.net/p/skim-app/code/HEAD/tree/ Christiaan
_______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
