Skip to content

Build Instructions

Maurice Parker edited this page Oct 31, 2021 · 2 revisions

You can build and test Humboldt without a paid developer account.

git clone https://github.com/vincode-io/Humboldt.git

You can locally override the Xcode settings for code signing by creating a DeveloperSettings.xcconfig file locally at the appropriate path. This allows for a pristine project with code signing set up with the appropriate developer ID and certificates, and for dev to be able to have local settings without needing to check in anything into source control.

Make a directory SharedXcodeSettings next to where you have this repository.

The directory structure is:

aDirectory/
  SharedXcodeSettings/
    DeveloperSettings.xcconfig
  Humboldt
    Humboldt.xcodeproj

Example:

If your Humboldt Xcode project file is at: /Users/Shared/git/Humboldt/Humboldt.xcodeproj

Create your DeveloperSettings.xcconfig file at /Users/Shared/git/SharedXcodeSettings/DeveloperSettings.xcconfig

Then create a plain text file in it: SharedXcodeSettings/DeveloperSettings.xcconfig and give it the contents:

CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
DEVELOPMENT_TEAM = <Your Team ID>
CODE_SIGN_STYLE = Automatic
ORGANIZATION_IDENTIFIER = <Your Domain Name Reversed>
PROVISIONING_PROFILE_SPECIFIER =

Set DEVELOPMENT_TEAM to your Apple supplied development team. You can use Keychain Access to find your development team ID. Set ORGANIZATION_IDENTIFIER to a reversed domain name that you control or have made up. Note that PROVISIONING_PROFILE_SPECIFIER should not have a value associated with it.

You can now open the Humboldt.xccodeproj in Xcode.

Now you should be able to build without code signing errors and without modifying the Humboldt Xcode project.

If you have any problems, we will help you out in Discussions.

Originally written for the NetNewsWire project.

Clone this wiki locally