2018-10-14 10:17:20 +00:00
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
2014-11-18 00:21:03 +00:00
\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;\f2\fswiss\fcharset0 ArialMT;
2013-04-19 09:04:16 +00:00
\f3\fnil\fcharset0 Menlo-Regular;\f4\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;\red186\green0\blue0;\red14\green14\blue255;\red245\green245\blue245;
2018-04-27 10:31:19 +00:00
\red0\green0\blue0;\red255\green255\blue255;\red246\green246\blue246;}
2018-01-25 13:34:22 +00:00
{\*\expandedcolortbl;;\csgenericrgb\c72941\c0\c0;\csgenericrgb\c5490\c5490\c100000;\csgenericrgb\c96078\c96078\c96078;
2018-04-27 10:31:19 +00:00
\cssrgb\c0\c0\c0;\csgray\c100000;\csgenericrgb\c96471\c96471\c96471;}
2015-04-20 12:26:51 +00:00
\margl1440\margr1440\vieww14780\viewh11840\viewkind0
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2005-03-11 15:22:30 +00:00
2008-04-04 05:32:16 +00:00
\f0\b\fs28 \cf0 Building BOINC Client and Manager on Macintosh OSX\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2005-03-11 15:22:30 +00:00
2007-11-14 13:27:01 +00:00
\b0\fs24 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2005-03-31 03:16:17 +00:00
\cf0 Written by Charlie Fenton\
2019-01-24 08:59:48 +00:00
Last updated 1/22/19\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2005-03-31 03:16:17 +00:00
\cf0 \
2018-10-14 10:17:20 +00:00
This document applies to BOINC version 7.15.0 and later. It has instructions for building the BOINC Client and Manager for Macintosh OSX. Information for building science project applications to run under BOINC on Macintosh OSX can be found {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/BuildMacApp"}}{\fldrslt here}}. \
2006-02-22 11:18:36 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2012-07-10 09:28:17 +00:00
\b \cf0 Note:
\b0 the information in this document changes from time to time for different versions of BOINC. For any version of BOINC source files, the corresponding version of this document can be found in the source tree at:\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-10-03 08:52:39 +00:00
2007-11-14 13:27:01 +00:00
\f1\fs26 \cf0 boinc/mac_build/HowToBuildBOINC_XCode.rtf\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-10-03 08:52:39 +00:00
2007-11-14 13:27:01 +00:00
\f0\fs24 \cf0 \
2006-02-27 10:09:28 +00:00
Contents of this document:\
2007-11-14 13:27:01 +00:00
\'95 Important requirements for building BOINC software for the Mac.\
2008-04-08 02:33:37 +00:00
\'95 Cross-Platform Development.\
2012-07-17 11:22:05 +00:00
\'95 Building BOINC Manager with embedded BOINC Client.\
2007-11-14 13:27:01 +00:00
\'95 Building BOINC Manager Installer.\
2012-06-26 08:56:40 +00:00
\'95 Code Signing the BOINC Manager Installer and Uninstaller\
2007-11-14 13:27:01 +00:00
\'95 Debugging and BOINC security.\
2008-05-09 07:00:36 +00:00
\'95 Debugging into wxWidgets.\
2012-07-06 12:11:28 +00:00
\'95 Installing and setting up Xcode.\
2006-02-23 02:58:36 +00:00
\
2018-10-14 10:17:20 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
\b \cf0 Note:
\b0
\f1\fs26 setupForBoinc.sh
\f0\fs24 (described late in this document) runs
\f1\fs26 buildWxMac.sh
\f0\fs24 to build the wxWidgets library used by BOINC Manager. If you built the wxWidgets library with an earlier version of
\f1\fs26 buildWxMac.sh
\f0\fs24 , then you must rebuild it with the
\f1\fs26 buildWxMac.sh
\f0\fs24 included in the newer source tree. Otherwise, the BOINC Manager build will fail with linker (
\f1\fs26 ld
\f0\fs24 ) errors.\
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2005-07-22 08:09:59 +00:00
2007-11-14 13:27:01 +00:00
\b\fs28 \cf0 Important requirements for building BOINC software for the Mac
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-22 11:18:36 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
2018-10-14 10:17:20 +00:00
\cf0 As of version 6.13.0, BOINC does not support Macintosh PowerPC processors. As of 7.15.0, BOINC is built entirely for 64-bit Intel, including the BOINC libraries.\
2015-03-22 09:43:17 +00:00
You need to take certain steps to ensure that you use only APIs that are available in all the OS versions BOINC supports for each architecture. The best way to accomplish this is to use a single development system running OS 10.8.x or later and cross-compile for the various platforms. The remainder of this document describes that process.\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2008-04-04 05:32:16 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
2005-08-23 06:58:50 +00:00
2012-12-11 10:59:24 +00:00
\b \cf0 The above requirements apply not only to BOINC itself, but also to the WxWidgets, c-ares, cURL, openSSL, freetype, ftgl and SQLite3 libraries, as well as all project applications
2012-07-06 12:11:28 +00:00
\b0 . \
2011-10-26 12:13:00 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2007-12-04 13:46:35 +00:00
\cf0 Be sure to follow the directions in this document to ensure that these requirements are met.\
2012-01-27 00:42:45 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
2019-01-24 08:59:48 +00:00
\cf0 Starting with version 7.15.0, the BOINC screensaver supports only Mac OS 10.7.0 and later.\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\qc\partightenfactor0
2008-04-04 05:32:16 +00:00
\b\fs28 \cf0 Cross-Platform Development
2010-10-08 08:41:36 +00:00
\f2\fs32 \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
2008-04-04 05:32:16 +00:00
2017-06-05 10:10:14 +00:00
\f0\b0\fs24 \cf0 Apple provides the tools necessary to build BOINC on any Mac running OS 10.8.x or later.\
You get these tools, including the GCC or Apple LLVM compiler and system library header files, by installing the Xcode Tools package. \
2018-01-25 13:34:22 +00:00
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
2011-10-26 12:13:00 +00:00
2018-01-25 13:34:22 +00:00
\b \cf0 Building BOINC now requires Xcode Tools version 6.0 or later.
2015-04-07 10:16:17 +00:00
\b0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2008-01-11 03:11:07 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
\cf0 You can download Xcode from Apple's App Store (it is large: over 4 GB). If you are a member of Apple's Mac Developer Program, you can also download it from Apple's web site: {\field{\*\fldinst{HYPERLINK "http://developer.apple.com"}}{\fldrslt
2013-04-19 09:04:16 +00:00
\f1\fs26 http://developer.apple.com}}\cf2 .\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2013-04-19 09:04:16 +00:00
\cf0 Source files are now archived using git. For details, see:\
{\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/SourceCodeGit"}}{\fldrslt
\f1\fs26 http://boinc.berkeley.edu/trac/wiki/SourceCodeGit}}\
2007-04-27 11:24:07 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2005-05-15 14:42:34 +00:00
2008-04-04 05:32:16 +00:00
\b\fs28 \cf0 Building BOINC Manager with embedded Core Client\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2005-07-01 08:52:22 +00:00
2007-11-14 13:27:01 +00:00
\b0\fs24 \cf0 \
2014-02-12 12:54:28 +00:00
Note: building BOINC Manager 7.3.0 and later requires the OS 10.8 SDK or later.\
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\cf0 BOINC depends on seven third-party libraries: wxWidgets-3.1.0, c-ares-1.13.0, curl-7.58.0, openssl-1.1.0g, freetype-2.9, ftgl-2.1.3~rc5 and sqlite-3.22.0. You can obtain the source files from the following URLs. Clicking on the first URL of each pair will download the tar file. The second URL will open the third party\'92s home web page. On Mac OS X the tar file will usually be downloaded into the Downloads folder. You will need to expand the tar files by double-clicking on them, which will create a folder and place the appropriate files into that folder. You will need to move these folders later.\
2005-07-01 08:52:22 +00:00
\
2018-01-25 13:34:22 +00:00
wxWidgets-3.1.0 (needed only if you are building the BOINC Manager):\
{\field{\*\fldinst{HYPERLINK "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2"}}{\fldrslt
\f1\fs26 https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2}}
2007-11-14 13:27:01 +00:00
\f1\fs26 \
2006-02-22 11:42:03 +00:00
2015-04-20 11:38:10 +00:00
\f0\fs24 {\field{\*\fldinst{HYPERLINK "http://www.wxwidgets.org"}}{\fldrslt
\f1\fs26 http://www.wxwidgets.org}}
2007-11-14 13:27:01 +00:00
\f1\fs26 \
2007-04-13 05:25:16 +00:00
2012-12-11 10:59:24 +00:00
\f0\fs24 \
2018-01-25 13:34:22 +00:00
sqlite-3.22.0 (needed only if you are building the BOINC Manager):\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-12-11 10:59:24 +00:00
2018-01-25 13:34:22 +00:00
\f1 \cf0 {\field{\*\fldinst{HYPERLINK "https://www.sqlite.org/2018/sqlite-autoconf-3220000.tar.gz"}}{\fldrslt
\fs26 https://www.sqlite.org/2018/sqlite-autoconf-3220000.tar.gz}}
2016-01-06 08:41:36 +00:00
\f0 \
2012-12-11 10:59:24 +00:00
2016-01-06 08:41:36 +00:00
\f1 {\field{\*\fldinst{HYPERLINK "http://www.sqlite.org/"}}{\fldrslt
2015-04-20 11:38:10 +00:00
\fs26 http://www.sqlite.org/}}
2012-12-11 10:59:24 +00:00
\fs26 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-12-11 10:59:24 +00:00
2012-12-11 11:11:37 +00:00
\f0\fs24 \cf0 \
2019-01-24 08:59:48 +00:00
curl-7.58.0:\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2006-02-22 11:42:03 +00:00
2018-01-25 13:34:22 +00:00
\f1\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "https://curl.haxx.se/download/curl-7.58.0.tar.gz"}}{\fldrslt https://curl.haxx.se/download/curl-7.58.0.tar.gz}}\
2015-04-20 11:38:10 +00:00
{\field{\*\fldinst{HYPERLINK "http://curl.haxx.se"}}{\fldrslt http://curl.haxx.se}}\
2008-01-29 11:18:45 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2008-01-29 11:18:45 +00:00
2018-01-25 13:34:22 +00:00
\f0\fs24 \cf0 c-ares-1.13.0 (used by curl):\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2008-01-29 11:18:45 +00:00
2018-01-25 13:34:22 +00:00
\f1\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz"}}{\fldrslt https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz}}\
2015-04-20 11:38:10 +00:00
{\field{\*\fldinst{HYPERLINK "http://daniel.haxx.se/projects/c-ares/"}}{\fldrslt http://daniel.haxx.se/projects/c-ares/}}\
2012-01-26 23:38:54 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-06-26 07:54:38 +00:00
2018-01-25 13:34:22 +00:00
\f0\fs24 \cf0 openssl-1.1.0g\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-06-26 07:54:38 +00:00
2018-01-25 13:34:22 +00:00
\f1\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "https://www.openssl.org/source/openssl-1.1.0g.tar.gz"}}{\fldrslt https://www.openssl.org/source/openssl-1.1.0g.tar.gz}}\
2015-04-20 11:38:10 +00:00
{\field{\*\fldinst{HYPERLINK "http://www.openssl.org/"}}{\fldrslt http://www.openssl.org/}}\
2012-06-26 07:54:38 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-08-03 22:08:27 +00:00
2018-01-25 13:34:22 +00:00
\f0\fs24 \cf0 freetype-2.9 (needed only if you are building the BOINC default screensaver or a project screensaver):\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-08-03 22:08:27 +00:00
2018-01-25 13:34:22 +00:00
\f3\fs22 \cf3 \CocoaLigature0 {\field{\*\fldinst{HYPERLINK "https://sourceforge.net/projects/freetype/files/freetype2/2.9/freetype-2.9.tar.bz2"}}{\fldrslt https://sourceforge.net/projects/freetype/files/freetype2/2.9/freetype-2.9.tar.bz2}}\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2015-04-20 11:38:10 +00:00
2016-01-06 08:41:36 +00:00
\f1\fs26 \cf0 \CocoaLigature1 {\field{\*\fldinst{HYPERLINK "http://www.freetype.org/"}}{\fldrslt
2013-04-19 09:04:16 +00:00
\f3\fs22 \cf3 \CocoaLigature0 http://www.freetype.org/}}
\f3\fs22 \cf3 \CocoaLigature0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2015-04-20 11:38:10 +00:00
2012-08-03 22:08:27 +00:00
\f0\fs24 \cf0 \CocoaLigature1 \
ftgl-2.1.3~rc5 (needed only if you are building the BOINC default screensaver or a project screensaver):\
2015-04-20 11:38:10 +00:00
{\field{\*\fldinst{HYPERLINK "http://sourceforge.net/projects/ftgl/files/FTGL%20Source/2.1.3~rc5/ftgl-2.1.3-rc5.tar.gz"}}{\fldrslt http://sourceforge.net/projects/ftgl/files/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz}}\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-08-03 22:08:27 +00:00
2015-04-20 11:38:10 +00:00
\f1\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "http://sourceforge.net/projects/ftgl"}}{\fldrslt
\f3\fs22 \cf3 \CocoaLigature0 http://sourceforge.net/projects/ftgl}}\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2012-12-11 10:59:24 +00:00
2015-04-20 11:38:10 +00:00
\f0\fs24 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
2019-01-24 08:59:48 +00:00
\cf0 XCode will automatically check compatibility back to OS 10.7 if the following are defined during compilation:\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2011-10-26 12:13:00 +00:00
2019-01-24 08:59:48 +00:00
\f1\fs26 \cf0 MAC_OS_X_VERSION_MAX_ALLOWED=1070\
MAC_OS_X_VERSION_MIN_REQUIRED=1070\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2011-10-26 12:13:00 +00:00
2011-10-27 00:04:30 +00:00
\f0\fs24 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
\cf0 These are not done automatically by either the Xcode projects which come with wxWidgets-3.1.0, nor the AutoMake scripts supplied with wxWidgets-3.1.0, c-ares-1.13.0, curl-7.58.0, openssl-1.1.0g, freetype-2.9, ftgl-2.1.3~rc5 and sqlite-3.22.0. So be sure to use our special scripts to build these packages.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2015-04-20 11:38:10 +00:00
\cf0 [1] Make sure you are logged into the Mac using an account with administrator privileges. Create a parent directory within which to work. In this description; we will call it BOINC_dev, but you can name it anything you wish.\
2005-05-13 07:49:19 +00:00
\
2015-04-20 11:38:10 +00:00
[2] Move the following 7 directories from the Downloads folder into the BOINC_dev folder (omit any you don't need):\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2008-04-08 02:33:37 +00:00
2011-07-06 11:02:50 +00:00
\f1\fs26 \cf0 c-ares-
2018-01-25 13:34:22 +00:00
\fs24 1.13.0
2014-02-12 12:54:28 +00:00
\fs26 \
2018-01-25 13:34:22 +00:00
curl-7.58.0\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\cf0 openssl-1.1.0g\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
\cf0 wxWidgets-3.1.0\
freetype-2.9\
2012-08-03 22:08:27 +00:00
ftgl-2.1.3~rc5\
2012-12-11 10:59:24 +00:00
2018-01-25 13:34:22 +00:00
\fs24 sqlite-3.22.0
2012-12-11 10:59:24 +00:00
\fs26 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2008-04-08 02:33:37 +00:00
\f0\fs24 \cf0 \
2015-04-20 11:38:10 +00:00
Important: do not change the names of any of these 7 directories. Remember that the names are case sensitive.\
2012-07-06 12:11:28 +00:00
\
2015-04-20 11:38:10 +00:00
[3] If you have not yet done so, install Xcode and launch it once to accept the license agreement and complete the installation.\
\
[4] Get the BOINC source tree from the repository, and put it in the same BOINC_dev folder. To do this, type the following in Terminal (if you have problems, you may need to enter
\f1\fs26 sudo
\f0\fs24 and a space before the
\f1\fs26 git
\f0\fs24 command):\
2006-02-22 11:18:36 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2005-05-15 14:42:34 +00:00
2017-06-05 10:10:14 +00:00
\f1\fs26 \cf0 cd \{path\}/BOINC_dev/\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2017-06-05 10:10:14 +00:00
\cf0 \cb4 git clone \cb1 https://github.com/BOINC/boinc.git \cb4 boinc
2013-04-19 09:04:16 +00:00
\f0\fs24 \cb1 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-22 11:18:36 +00:00
\cf0 \
2008-04-08 02:33:37 +00:00
(You may change the name of the
\f1\fs26 boinc
2013-04-19 09:04:16 +00:00
\f0\fs24 directory to anything you wish.) \
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2015-04-20 11:38:10 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2015-04-20 11:38:10 +00:00
\cf0 The command above retrieves the source code from the HEAD / MASTER (TRUNK) or development branch of the git repository. For more information on getting the BOINC source code, see:\
2013-04-19 09:04:16 +00:00
{\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/SourceCodeGit"}}{\fldrslt
\f1\fs26 http://boinc.berkeley.edu/trac/wiki/SourceCodeGit}}\
2006-02-22 12:27:03 +00:00
\
2015-04-20 11:38:10 +00:00
[5] Run the script to build the c-ares, curl, openssl, wxWidgets, freetype, ftgl and sqlite3 libraries as follows:\
2005-05-13 09:09:47 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2005-07-22 08:09:59 +00:00
2007-11-14 13:27:01 +00:00
\f1\fs26 \cf0 cd \{path\}/BOINC_dev/boinc/mac_build/\
2006-02-22 12:27:03 +00:00
source setupForBoinc.sh -clean
2007-11-14 13:27:01 +00:00
\f0\fs24 \
2005-08-23 06:58:50 +00:00
\
2006-02-22 12:27:03 +00:00
If you don't wish to force a full rebuild of everything, omit the -clean argument.\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-22 11:18:36 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2012-07-10 09:28:17 +00:00
\b \cf0 Note 1:
\b0 Be sure to run the script using the
\f1\fs26 source
\f0\fs24 command. Do not double-click on the scripts or use the
\f1\fs26 sh
\f0\fs24 command to run them.\
\b Note 2:
2018-01-25 13:34:22 +00:00
\b0 This script tries to build all seven third-party libraries: wxWidgets-3.1.0, c-ares-1.13.0, curl-7.58.0, openssl-1.1.0g, freetype-2.9, ftgl-2.1.3~rc5 and sqlite-3.22.0. When the script finishes, it will display a warning about any libraries it was unable to build (for example, if you have not downloaded them.) To make it easier to find the error messages, clear the Terminal display and run the script again without
2015-04-20 11:38:10 +00:00
\f1 -clean
\f0 .\
2015-04-08 11:56:28 +00:00
2018-10-14 10:17:20 +00:00
\b Note 3:
\b0
\f1\fs26 setupForBoinc.sh
\f0\fs24 runs
\f1\fs26 buildWxMac.sh
\f0\fs24 to build the wxWidgets library used by BOINC Manager. If you built the wxWidgets library with an earlier version of
\f1\fs26 buildWxMac.sh
\f0\fs24 , then you must rebuild it with the
\f1\fs26 buildWxMac.sh
\f0\fs24 included in the newer source tree. Otherwise, the BOINC Manager build will fail with linker (
\f1\fs26 ld
\f0\fs24 ) errors.\
\b Note 4:
2015-04-20 11:38:10 +00:00
\b0 The \{path\} must not contain any space characters.\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2015-04-08 13:11:16 +00:00
\b \cf0 Hint:
2015-04-20 11:38:10 +00:00
\b0 You don't need to type the path to a file or folder into Terminal; just drag the file or folder icon from a Finder window onto the Terminal window.\
2015-09-12 02:13:43 +00:00
2018-10-14 10:17:20 +00:00
\b Note 5:
2019-01-24 08:59:48 +00:00
\b0 To be compatible with OS 10.7, the screensaver must be built with Garbage Collection (GC) supported (and without Automatic Reference Counting) , but Xcode versions later than 5.0.2 do not allow building with GC. To allow building with newer versions of Xcode while keeping backward compatibility to OS 10.7, the GIT repository includes the screensaver executable built with GC, while the Xcode project builds the screensaver with ARC (for newer versions of OS X.) The
2017-06-05 10:10:14 +00:00
\f1\fs26 release_boinc.sh
\f0\fs24 script (described later in this document) adds both the GC and ARC builds of the screensaver to the installer; the installer code selects the correct screensaver for the target version of OS X at install time.\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2015-04-08 13:11:16 +00:00
\cf0 \
2015-04-20 11:38:10 +00:00
[6] Build BOINC as follows:\
2005-07-22 08:09:59 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
2008-01-10 11:28:11 +00:00
\cf0 BOINC itself is built using the
\b boinc.xcodeproj
2011-10-26 12:13:00 +00:00
\b0 file. You can either build directly in Xcode
2008-01-10 11:28:11 +00:00
\b
\b0 (more information below) or run the
\b BuildMacBOINC.sh
\b0 script:\
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2005-03-31 03:16:17 +00:00
2007-11-14 13:27:01 +00:00
\f1\fs26 \cf0 cd \{path\}/BOINC_dev/boinc/mac_build/\
2006-02-22 11:18:36 +00:00
source BuildMacBOINC.sh
2007-11-14 13:27:01 +00:00
\f0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2005-03-31 03:16:17 +00:00
\cf0 \
2006-02-22 11:18:36 +00:00
The complete syntax for this script is\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2005-05-20 09:05:01 +00:00
2016-03-02 12:37:41 +00:00
\f1\fs26 \cf0 source BuildMacBOINC.sh [-dev] [-noclean] [-all] [-lib] [-client] [-libc] [-c++11] [-help]
2007-11-14 13:27:01 +00:00
\f0\fs24 \
2005-05-20 09:05:01 +00:00
\
2006-02-22 11:18:36 +00:00
The options for BuildMacBOINC.sh are:\
2019-01-24 08:59:48 +00:00
-dev build the development (debug) build. \
default is deployment (release) build.\
2005-05-20 09:05:01 +00:00
\
2006-02-22 11:18:36 +00:00
-noclean don't do a "clean" of each target before building.\
default is to clean all first.\
\
The following arguments determine which targets to build\
-all build all targets (i.e. target "Build_All" -- this is the default)\
2005-05-20 09:05:01 +00:00
\
2015-04-20 12:26:51 +00:00
-lib build the six libraries: libboinc_api.a, libboinc_graphics_api.a, libboinc.a, libboinc_opencl.a, libboinc_zip.a, jpeglib.a\
2005-05-20 09:05:01 +00:00
\
2012-07-17 11:22:05 +00:00
-client build two targets: boinc client and command-line utility {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/wiki/Boinccmd_tool"}}{\fldrslt boinccmd}}\
2006-02-22 11:18:36 +00:00
(also builds libboinc.a, since boinc_cmd requires it.)\
2016-03-02 12:37:41 +00:00
\
-libc build using libc++ instead of libstdc++ (requires OS 10.7 or later)\
\
-c++11 build using c++11 language dialect instead of default\
2006-02-22 11:18:36 +00:00
\
2015-04-20 12:26:51 +00:00
Both -lib and -client may be specified to build eight targets (no BOINC Manager or screensaver.)\
2005-05-20 09:05:01 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-23 02:58:36 +00:00
2012-07-10 09:28:17 +00:00
\b \cf0 Note 1:
2013-11-15 13:43:04 +00:00
\b0
2007-11-14 13:27:01 +00:00
\b boinc.xcodeproj
2016-03-02 12:37:41 +00:00
\b0 in the BOINC_dev/boinc/mac_build/ directory builds BOINC. It can be used either with the
\f1 BuildMacBOINC.sh
\f0 script or as a stand-alone project. The
2008-04-08 02:33:37 +00:00
\i Development
\i0 build configuration builds only the native architecture and is used for debugging. The
\i Deployment
2011-10-26 12:13:00 +00:00
\i0 build configuration builds a universal binary and is suitable for release builds. If there are any other build configurations, they should not be used as they are obsolete. \
2010-10-11 11:59:05 +00:00
\
2006-02-23 02:58:36 +00:00
2012-07-10 09:28:17 +00:00
\b Note 2:
2018-01-25 13:34:22 +00:00
\b0 To perform a release build under Xcode 6 or later when not using the
2016-03-02 12:37:41 +00:00
\f1 BuildMacBOINC.sh
2018-01-25 13:34:22 +00:00
\f0 script, select "Build for Profiling" from Xcode's Product menu. To save disk space, do
2011-10-26 12:13:00 +00:00
\b not
\b0 select "Archive."\
\
2012-07-10 09:28:17 +00:00
\b Note 3:
\b0 Using the
\f1\fs26 BuildMacBOINC.sh
\f0\fs24 script is generally easier than building directly in Xcode. The script will place the built products in the directory
2015-03-23 09:25:47 +00:00
\f1\fs26 BOINC_dev/boinc/mac_build/build/Deployment/
2012-07-10 09:28:17 +00:00
\f0\fs24 or
2015-03-23 09:25:47 +00:00
\f1\fs26 BOINC_dev/boinc/mac_build/build/Development/
2018-10-14 10:17:20 +00:00
\f0\fs24 where they are easy to find. Building directly in Xcode places the built products in a somewhat obscure location. To determine this location, control-click on
\i Products
\i0 in Xcode's Project Navigator and select "Show in Finder." \
2012-07-10 09:28:17 +00:00
\
2015-09-12 04:51:11 +00:00
2016-03-02 12:37:41 +00:00
\b Note 4:
2018-10-14 10:17:20 +00:00
\b0 As of version 7.15.0, BOINC is always built using libc++. Project applications built for libstdc ++ with newer versions of Xcode will not link properly with BOINC libraries built for libc++. \
2016-03-02 12:37:41 +00:00
\
2015-09-12 04:51:11 +00:00
\b Hint:
\b0 You can install multiple versions of Xcode on the same Mac, either by putting them in different directories or by renaming Xcode.app of different versions. You can then specify which version the
\f1\fs26 BuildMacBOINC.sh
\f0\fs24 script should use by setting the
\f1\fs26 DEVELOPER_DIR
\f0\fs24 environment variable using the
\f1\fs26 env
2018-01-25 13:34:22 +00:00
\f0\fs24 command. For example, if you have installed Xcode 6.2 in the Applications directory and renamed
2015-09-12 04:51:11 +00:00
\f1\fs26 Xcode.app
\f0\fs24 to
2018-01-25 13:34:22 +00:00
\f1\fs26 Xcode_6_2.app
2015-09-12 04:51:11 +00:00
\f0\fs24 , you can invoke the script with:\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2015-09-12 04:51:11 +00:00
2018-01-25 13:34:22 +00:00
\f1\fs26 \cf0 env DEVELOPER_DIR=/Applications/Xcode_6_2.app/Contents/Developer sh BuildMacBOINC.sh
2015-09-12 04:51:11 +00:00
\f0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2015-09-12 04:51:11 +00:00
\cf0 \
2012-07-10 09:28:17 +00:00
The BOINC Xcode project has built-in scripts which create a text file with the path to the built products at either
2015-03-23 09:25:47 +00:00
\f1\fs26 BOINC_dev/boinc/mac_build/Build_Deployment_Dir
2012-07-10 09:28:17 +00:00
\f0\fs24 or
2015-03-23 09:25:47 +00:00
\f1\fs26 BOINC_dev/boinc/mac_build/Build_Development_Dir
2012-07-10 09:28:17 +00:00
\f0\fs24 . These files are used by the
\f1\fs26 release_boinc.sh
\f0\fs24 script, but you can also use them to access the built products directly as follows; open the file with TextEdit and copy the path, then enter command-shift-G in the Finder and paste the path into the Finder's dialog.\
\
2018-10-14 10:17:20 +00:00
The standard release of BOINC version 7.15.0 and later builds only for Macintosh computers with 64-bit Intel processors. The executables and libraries are built only for the x86_64 architecture.\
2011-10-27 00:04:30 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2006-02-23 02:58:36 +00:00
2007-11-14 13:27:01 +00:00
\b\fs28 \cf0 Building BOINC Manager Installer
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-23 02:58:36 +00:00
\cf0 \
2015-04-20 11:38:10 +00:00
In order to execute BOINC Manager, you must install it using BOINC Manager Installer. Otherwise, you will encounter an error prompting for proper installation.\
2010-10-08 11:10:26 +00:00
\
2007-12-04 13:46:35 +00:00
To build the Installer for the BOINC Manager, you must be logged in as an administrator. If you are building BOINC version number x.y.z, type the following in Terminal, then enter your administrator password when prompted by the script:\
2006-02-23 02:58:36 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2006-02-23 02:58:36 +00:00
2007-11-14 13:27:01 +00:00
\f1\fs26 \cf0 cd \{path\}/BOINC_dev/boinc/\
2006-02-27 12:48:08 +00:00
source \{path\}/BOINC_dev/boinc/mac_installer/release_boinc.sh x y z\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\partightenfactor0
2006-02-23 02:58:36 +00:00
2011-10-27 00:04:30 +00:00
\f0\fs24 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
\cf0 Substitute the 3 parts of the BOINC version number for x y and z in the above. For example, to build the installer for BOINC version 7.9.0, the command would be\
\pard\pardeftab720\partightenfactor0
2006-02-23 02:58:36 +00:00
2018-01-25 13:34:22 +00:00
\f1\fs26 \cf0 source \{path\}/BOINC_dev/boinc/mac_installer/release_boinc.sh 7 9 0\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-23 02:58:36 +00:00
2018-01-25 13:34:22 +00:00
\f0\fs24 \cf0 This will create a directory "BOINC_Installer/New_Release_7_9_0" in the BOINC_dev directory, and the installer will be located in '
\f1\fs26 \{path\}/BOINC_dev/BOINC_Installer/New_Release_7_9_0/boinc_7.9.0_macOSX_x86_64
2015-04-09 07:22:58 +00:00
\f0\fs24 '.\
\
2015-04-20 11:38:10 +00:00
The installer script uses the deployment (release) build of BOINC; it won't work with a development (debug) build.\
2015-04-09 07:22:58 +00:00
You can find the current version number in the file
\f1\fs26 \{path\}/BOINC_dev/boinc/version.h
\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-06-28 07:59:25 +00:00
2013-04-19 09:04:16 +00:00
\f4 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2012-06-26 08:56:40 +00:00
\f0\b\fs28 \cf0 Code Signing the BOINC Manager Installer and Uninstaller
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2012-06-26 08:56:40 +00:00
2013-04-19 09:04:16 +00:00
\f4 \cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-02-23 02:58:36 +00:00
2012-07-17 11:22:05 +00:00
\f0 \cf0 Mac OS 10.8 introduces a security feature called Gatekeeper, whose default settings won't allow a user to run applications or installers downloaded from the Internet unless they are signed by a registered Apple Developer. The
2012-06-26 08:56:40 +00:00
\f1\fs26 release_boinc.sh
\f0\fs24 script looks for a file
2018-04-27 10:31:19 +00:00
\f1\fs26 ~/BOINCCodeSignIdentities.txt
2012-06-26 08:56:40 +00:00
\f0\fs24 containing the name of a valid code signing identity stored in the user's Keychain. If this is found, the script will automatically sign the BOINC installer and BOINC uninstaller using that identity. For example, if your user name is John Smith, the first line of
2018-04-27 10:31:19 +00:00
\f1\fs26 ~/BOINCCodeSignIdentities.txt
2012-06-26 08:56:40 +00:00
\f0\fs24 would be something like the following:
\f1\fs26 \
Developer ID Application: John Smith\
\
2018-04-27 10:31:19 +00:00
\pard\tx543\pardeftab543\pardirnatural\partightenfactor0
2012-06-26 08:56:40 +00:00
2018-04-27 10:31:19 +00:00
\f0\fs24 \cf5 \cb6 If you wish to also code sign the installer package, add a second line to
\f1\fs26 ~/BOINCCodeSignIdentities.txt
\f0\fs24 with the installer code signing identity. This \cf0 \cb1 would be something like the following:\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
\f1\fs26 \cf0 Developer ID Installer: John Smith\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
\f0\fs24 \cf0 If there is no
\f1\fs26 ~/BOINCCodeSignIdentities.txt
2015-04-09 07:22:58 +00:00
\f0\fs24 file, then the script will not sign the installer or uninstaller. Code signing is not necessary if you won't be transferring the built software over the Internet. For more information on code signing identities see the documentation for the {\field{\*\fldinst{HYPERLINK "https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/codesign.1.html"}}{\fldrslt
2018-04-27 10:31:19 +00:00
\f1\fs26 codesign}} utility, Apple's {\field{\*\fldinst{HYPERLINK "https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/"}}{\fldrslt Code Signing Guide}} and {\field{\*\fldinst{HYPERLINK "https://developer.apple.com/library/content/technotes/tn2206/_index.htm"}}{\fldrslt Tech Note 2206}}.\
2012-06-26 08:56:40 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2006-06-28 07:59:25 +00:00
2007-11-14 13:27:01 +00:00
\b\fs28 \cf0 Debugging and BOINC security
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2006-06-28 07:59:25 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
2008-04-08 02:33:37 +00:00
\cf0 Version 5.5.4 of BOINC Manager for the Macintosh introduced new, stricter security measures. For details, please see the file
2015-03-23 09:25:47 +00:00
\f1\fs26 BOINC_dev/boinc/mac_installer/Readme.rtf
2008-04-08 02:33:37 +00:00
\f0\fs24 and {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/sandbox.php"}}{\fldrslt http://boinc.berkeley.edu/sandbox.php}} and {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/SandboxUser"}}{\fldrslt
2007-11-14 13:27:01 +00:00
\f1 http://boinc.berkeley.edu/trac/wiki/SandboxUser}}\
2006-09-02 23:40:05 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\tx10560\tx11520\tx12480\tx13440\tx14400\tx15360\tx16320\tx17280\tx18240\tx19200\tx20160\tx21120\tx22080\tx23040\tx24000\tx24960\tx25920\tx26880\tx27840\tx28800\tx29760\tx30720\tx31680\tx32640\tx33600\tx34560\tx35520\tx36480\tx37440\tx38400\tx39360\tx40320\tx41280\tx42240\tx43200\tx44160\tx45120\tx46080\tx47040\tx48000\tx48960\tx49920\tx50880\tx51840\tx52800\tx53760\tx54720\tx55680\tx56640\tx57600\tx58560\tx59520\tx60480\tx61440\tx62400\tx63360\tx64320\tx65280\tx66240\tx67200\tx68160\tx69120\tx70080\tx71040\tx72000\tx72960\tx73920\tx74880\tx75840\tx76800\tx77760\tx78720\tx79680\tx80640\tx81600\tx82560\tx83520\tx84480\tx85440\tx86400\tx87360\tx88320\tx89280\tx90240\tx91200\tx92160\tx93120\tx94080\tx95040\tx96000\pardirnatural\partightenfactor0
\cf0 \CocoaLigature0 The LLDB debugger can't attach to applications which are running as a different user or group so it ignores the S_ISUID and S_ISGID permission bits when launching an application. To work around this, the BOINC
2008-04-08 02:33:37 +00:00
\i \CocoaLigature1 Development
2018-01-25 13:34:22 +00:00
\i0 \CocoaLigature0 build does not use the special boinc_master or boinc_project users or groups, and so can be run under the debugger from Xcode. This also streamlines the development cycle by avoiding the need to run the installer for every change. (To generate the development build under Xcode, choose "Build" from the product menu, or enter command-B on the keyboard.)\
2006-06-28 07:59:25 +00:00
\
2018-01-25 13:34:22 +00:00
To restore the standard ownerships and permissions, run the installer or run the {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/mac_build/Mac_SA_Secure.sh"}}{\fldrslt Mac_SA_Secure.sh}} shell script in Terminal (the comments in this script have instructions for running it.)\
2012-01-27 00:42:45 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\pardeftab720\sa260\partightenfactor0
2018-04-27 10:31:19 +00:00
\cf0 \cb7 \CocoaLigature1 For information on interpreting crash dumps and backtraces, see {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/MacBacktrace"}}{\fldrslt \cf2 Mac Backtrace}}.\cb1 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2008-05-09 07:00:36 +00:00
\b\fs28 \cf0 Debugging into wxWidgets
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2008-05-09 07:00:36 +00:00
\cf0 \
2018-01-25 13:34:22 +00:00
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\tx10560\tx11520\tx12480\tx13440\tx14400\tx15360\tx16320\tx17280\tx18240\tx19200\tx20160\tx21120\tx22080\tx23040\tx24000\tx24960\tx25920\tx26880\tx27840\tx28800\tx29760\tx30720\tx31680\tx32640\tx33600\tx34560\tx35520\tx36480\tx37440\tx38400\tx39360\tx40320\tx41280\tx42240\tx43200\tx44160\tx45120\tx46080\tx47040\tx48000\tx48960\tx49920\tx50880\tx51840\tx52800\tx53760\tx54720\tx55680\tx56640\tx57600\tx58560\tx59520\tx60480\tx61440\tx62400\tx63360\tx64320\tx65280\tx66240\tx67200\tx68160\tx69120\tx70080\tx71040\tx72000\tx72960\tx73920\tx74880\tx75840\tx76800\tx77760\tx78720\tx79680\tx80640\tx81600\tx82560\tx83520\tx84480\tx85440\tx86400\tx87360\tx88320\tx89280\tx90240\tx91200\tx92160\tx93120\tx94080\tx95040\tx96000\pardirnatural\partightenfactor0
2017-06-05 10:10:14 +00:00
\cf0 \CocoaLigature0 The BOINC Xcode project links the BOINC Manager with the non-debugging (Deployment) build of wxWidgets for the Deployment build configuration of the Manager, and with the debugging (Development) build of wxWidgets for the Development build configuration of the Manager. You should use the Development build of the Manager and wxWidgets for debugging; this allows you to step into internal wxWidgets code. With the Development build, you can even put breakpoints in wxWidgets; this is most easily done after stepping into a function in wxWidgets source file containing the code where you wish to put the breakpoint.\
2012-07-06 12:11:28 +00:00
\
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\partightenfactor0
2012-07-06 12:11:28 +00:00
\b\fs28 \cf0 \CocoaLigature1 Installing and setting up Xcode
\b0\fs24 \
2018-01-25 13:34:22 +00:00
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
2012-07-06 12:11:28 +00:00
\cf0 \
2015-04-20 11:38:10 +00:00
If Xcode is obtained from the Apple Store then it will be installed automatically into the Applications folder. Double-click on the installed Xcode icon to run Xcode. Xcode will display a dialog allowing you to finish the installation; you must do this before running BOINC's build scripts. (Some versions of Xcode may not display this dialog until you open a file with Xcode.)\
2005-03-11 15:22:30 +00:00
}