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:
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:’
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?
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/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users