Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Export Mac App without Developer Program

I am positive that in the past, it has been possible to export an unsigned Mac app from Xcode without enrolling in the Developer Program. However, now I am getting this screen:

WHY?

It is NOT signed. Here's a screenshot of my configuration:

Config

So, the question is, why is the "Export..." button greyed out?

like image 996
Coder-256 Avatar asked Feb 23 '16 22:02

Coder-256


People also ask

Can I distribute IOS app without developer account?

First off, yes, you do still need an Apple Developer account if you want to distribute your app in the App Store. Sorry to get your hopes up, but there's no getting around it. The good news is that you can develop and test your apps on your iOS device without a paid Apple Developer account.

Do you need Apple developer account for Xcode?

With just an Apple ID, you can access Xcode, software downloads, documentation, sample code, forums, and Feedback Assistant, as well as test your apps on devices. If you don't already have an Apple ID, you can create one now. To distribute apps, join the Apple Developer Program.

How can I test my Xcode app on my iPhone without developer?

Xcode Automatic Signing with Personal Team ID You can do it by indicating your Personal Team ID in Unity Settings: Unity > Preferences > External Tools > Xcode Default Settings > Signing Team ID, checking Automatically Sign.


1 Answers

Edit: I wrote this years ago, but to clarify (if I remember correctly), the issue was a conflict between the project-wide build settings and the build settings for the particular target. The solution is to remember when you use the project editor, you have to highlight the right entry in the projects/targets list, remember that bolded settings override the default, and the final value is determined by the most specific override. If you are stuck, select the "Levels" view at the top of the "Build Settings" tab and it will show how each setting is determined. "Levels" mode is ordered left to right in order of decreasing precedence; the leftmost column is the final value, and the rightmost is the default. See the docs for more info.


Actually, it was signed.

The problem lies in the way Xcode manages code signing settings. Simply setting the "Signing" option to "None" in the "Identity" section of the project configuration does not completely change it, and causes tools like CocoaPods to still attempt to sign it.

In order to completely disable code signing, you must set up the "Code Signing Identity" part of your Build Settings like this:

Why is disabling code signing so hard???

like image 135
Coder-256 Avatar answered Oct 07 '22 22:10

Coder-256