GithubHelp home page GithubHelp logo

fixcode's Introduction

No Maintenance Intended

Xcode 8 does not load unsigned code anymore - see alcatraz/Alcatraz#475, therefore this project is deprecated and only available for historical purposes.

FixCode Logo

FixCode

Fixing the Fix Issue button

This Xcode plugin disables the Fix Issue functionality in Xcode. This way, none of your team members can click this button by mistake and might end up revoking existing certificates and provisioning profiles.

Fix Issue
๐Ÿ”’ Avoid breaking existing profiles when clicking the Fix Issue button
๐Ÿš€ Saves you hours of dealing with code signing
โœจ Super easy installation
๐Ÿ’ป Support for iOS, OS X, watchOS and tvOS projects

Fix Issue

Installation

Using fastlane

Add the install_xcode_plugin to your Fastfile. This way, the plugin gets installed for the whole team, so that no one can revoke your certificate by mistake.

lane :xcode do
  install_xcode_plugin(github: 'https://github.com/FixIssue/FixCode')
end
fastlane xcode

Alcatraz

You can install FixCode using Alcatraz.

First, install Alcatraz using

curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
  • Restart Xcode
  • Click on Window
  • Select Package Manager
  • Search and Install FixCode
  • Restart Xcode

What does this do?

The primary goal of this plugin is to disable the original Fix Issue button, as it has side effects, like sometimes revoking your certificates and with it all its provisioning profiles.

This is especially a big problem when working in a bigger team: Someone clicks the Fix Issue button and revokes the other profiles. This includes Enterprise profiles, resulting in breaking the app on all devices it's installed on.

This Xcode plugin will deactivate the button and replace it with emojis. The button will open the official code signing guide.

You might ask yourself, why the button doesn't just run sigh or cert: Check out the blog post about developer tools by Felix Krause for more information about how developer tools should be transparent and show you what they do.

Fix Issue

Thanks

Need help?

Please submit an issue on GitHub and provide information about your setup

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

This project are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. This tool run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use this tool.

fixcode's People

Contributors

cojoj avatar i-tu avatar krausefx avatar mfurtak avatar neonichu avatar seanlabastille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fixcode's Issues

Serious Issue

Who the fuck takes pictures of their screen and then applies a fucking filter for documentation?

disable fix issue button on capabilities

we recently had problems as one of us hit the "fix issues" on the capabilities screen.
any chance we can disable this too - or atleast have a confirmation dialog?

this is the one i mean.
bildschirmfoto 2016-04-22 um 10 53 16

as this seems to update the appId on itc, wich invalidates provisioning profiles.

What's the best way to tell Xcode to update its provisioning profiles after adding a new device?

Hi,

I'm so glad you guys made FixCode! Thank you for that! Because recently we had the issue that someone pressed the evil "Fix Issue" button and suddenly all our certs and profiles was invalid.

But now after installing FixCode, how do we tell Xcode to update its profiles after adding a new device to the developer portal, so I can deploy on the new device immediately? Xcode is using the iOS Team Provisioning Profile: * (Managed by Xcode) for that right? Or is it using iOS Team Provisioning Profile: <bundleId> (Manged by Xcode)?

Previously there was a refresh button in Xcode, but that one was replaced a crappy "Download All" which does nothing at all.

Current workaround we found was to remove the account and re-add it again, so Xcode will download the updated correct profiles again.

Fix the Fix Issue button when connecting a device

It seems like the title of the Fix Issue button inside the Xcode project settings gets overwritten when connecting a new device. We should find the event that triggers this, as we currently only do this on viewWillAppear

Fix issue button showing up in Xcode 7.3

I installed FixCode 0.3.0 in Xcode 7.3 (7D175) via fastlane install_xcode_plugin and also tried via Alcatraz (remove, install again) but I'm still getting this:
fix-issue-problem

I would assume that this is the kind of stuff FixCode should take care of.

Maybe also helpful: When I started Xcode after installing Alcatraz I was asked if I want to enable that plugin but I was never asked for FixCode.
But I can confirm the existance of /Users/myuser/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin
It also has the same permissions as Alcatraz.xcplugin.

No Issue I want to thank you so so much for this. I just have to get this approved by legal and get all my developers to install this

No Issue I want to thank you so so much for this. I just have to get this approved by legal and get all my developers to install this

I am so so tired of the fix it button it creates nothing but trouble for me at work .
Created certs and AppID and other things.
I will make changes to support out internal process. Thank you so so much for figuring this out.

Steven Fransen

Create a static URL for the `fastlane` download URL

Can you make a designated/static URL for downloading the latest release of FixCode? The version hardcoding here seems bad:

lane :xcode do
  install_xcode_plugin(
    url: "https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip"
  )
end

Getting error when trying to install FixCode via Fastlane

This is the error I receive:

[10:44:20]: -------------------------------------------------
[10:44:20]: --- Step: Verifying required fastlane version ---
[10:44:20]: -------------------------------------------------
[10:44:20]: fastlane version valid
[10:44:20]: ------------------------------
[10:44:20]: --- Step: default_platform ---
[10:44:20]: ------------------------------
[10:44:20]: Driving the lane 'ios xcode' ๐Ÿš€
[10:44:20]: ----------------------------------
[10:44:20]: --- Step: install_xcode_plugin ---
[10:44:20]: ----------------------------------
[10:44:20]: [SHELL COMMAND]: curl -Lso /var/folders/t9/h68fjww93lx4flz80wrtn6b00000gn/T/plugin.zip https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip
[10:44:23]: [SHELL COMMAND]: unzip -qo '/var/folders/t9/h68fjww93lx4flz80wrtn6b00000gn/T/plugin.zip' -d '/Users/jagcesar/Library/Application Support/Developer/Shared/Xcode/Plug-ins'
[10:44:23]: [SHELL]: checkdir:  cannot create extraction directory: /Users/jagcesar/Library/Application Support/Developer/Shared/Xcode/Plug-ins

Anyone else having this issue?

Confusion about `Fix Issue`

Assign role properly will fix it, I mean team member role will never affect distribution certicates and profiles.

FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs

Hello,

i am using FixCode plugin with Fastlane it seems to install

14:32:34: --- Step: install_xcode_plugin ---

14:32:34: $ curl -Lso /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/plugin.zip https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip
14:32:34: $ unzip -qo '/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/plugin.zip' -d '/Users/travis/Library/Application Support/Developer/Shared/Xcode/Plug-ins'
14:32:34: Plugin FixCode.xcplugin installed successfully
14:32:34: Please restart Xcode to use the newly installed plugin

but then later on in my build i get a few errors / warnings like the one below

xcodebuild[1552:6251] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs

do i need to run another command to restart xcode?

Add prefixes to vendored Objective-C symbols

Xcode plugin class names and symbols can clash and should be prefixed, this includes any vendored libraries:

objc[47572]: Class AspectTracker is implemented in both /Users/AshtonWilliams/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin/Contents/MacOS/FixCode and /Users/AshtonWilliams/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin/Contents/MacOS/BBUFullIssueNavigator. One of the two will be used. Which one is undefined.

I think all the Objective-C symbols in Aspects should be prefixed.


See neonichu/BBUDebuggerTuckAway#13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.