Xcode build/Developer Account

Hello,

First, I'm not a developer. But am smart enough to follow directions. I'm trying to compile and build a piece of open source software from github. When I try this I get the errors in the attached screenshot. When I called apple they said Id have to pay for a developer account if I wanted the software to work beyond a pre-determined testing period. Is this true?

I'm not trying to create an app for the appstore or distribute this in any way. Just need this key piece of software in my music setup. I appreciate any help.

When I called apple they said Id have to pay for a developer account if I wanted the software to work beyond a pre-determined testing period. Is this true?

Only for iOS. You don't need a paid developer account to make Mac apps for personal use.

Based on the information you supplied, the most likely cause of your build errors is the Xcode project is set to use the original developer's signing certificate. You are not the original developer so you don't have access to the certificate.

I recommend setting the development team for the project to None. That will tell Xcode to not use the original developer's signing certificate when building the project. Take the following steps to do this:

  1. Open the project editor by selecting the project from the left side of the project window.
  2. Select the app target from the list of targets on the left side of the project editor.
  3. Click the Signing & Capabilities button at the top of the project editor.
  4. Choose None from the Team menu in the Signing section.

That should fix the first error. Build the project again. If the second error still appears, take the following steps to add your Apple account to Xcode:

  1. Choose Xcode > Preferences to open Xcode's preferences window.
  2. Click the Accounts button at the top of the preferences window.
  3. Click the Add (+) button at the bottom of the list of accounts.
  4. Select Apple ID from the list of account types.
  5. Click the Continue button.
  6. Enter the email of your Apple ID.
  7. Click the Next button.
  8. Enter the password for your Apple ID.
  9. Click the Next button.
  10. A sheet will open with the title Apple ID Security.
  11. Click the Continue button to set up two factor authentication for signing in with this account.

If that does not fix the build error, you are going to provide more information for anyone to be able to help you. Provide a link to the GitHub project you are trying to build. List the steps you took to clone and build the project.

Thanks so much! This worked and I have the app running. Perhaps this is beyond the purview of this forum but is there a way to build the program so I dont have to run xcode each time I want to run it? In other words how do I make it a stand alone?

Thanks again

  1. Choose Product > Archive in Xcode to archive your project.
  2. Open the Organizer by choosing Window > Organizer.
  3. Select your archived project from the list on the left side of the Organizer.
  4. Click the Distribute App button.
  5. Choose Copy App from the list of options.
  6. Click the Next button.
  7. Pick a location to save the app.
  8. Click the Export button.

Optionally you can copy the exported app to your Applications folder. The following article has more details:

https://www.swiftdevjournal.com/running-a-mac-app-outside-of-xcode/

Perfect! Thanks so much

Xcode build/Developer Account
 
 
Q