akemin-dayo / simject

simject is a command-line tool and iOS dynamic library that allows developers to easily test their tweaks on the iOS Simulator.
BSD 2-Clause "Simplified" License
486 stars 55 forks source link

Another error signing simject during make setup #44

Closed TnnsBeast closed 5 years ago

TnnsBeast commented 5 years ago

here's what I keep getting

iPhone Developer: ambiguous (matches "iPhone Developer: #this is where my email is (68BJHHWDL9)" and "iPhone Developer: #this is where my second email is (6P645ATJN8)" in /Users/tnns_beast22/Library/Keychains/login.keychain-db) make[3]: [/Users/tnns_beast22/simject/simject/.theos/obj/iphone_simulator/debug/simject.dylib] Error 1 rm /Users/tnns_beast22/simject/simject/.theos/obj/iphone_simulator/debug/simject.dylib.7876ddb4.unsigned make[2]: [internal-library-all_] Error 2 make[1]: [simject.all.tweak.variables] Error 2 make: [all] Error 2

PoomSmart commented 5 years ago

Looks like you have redundant developer certificates of the same email. Open Keychain Access app and remove the older/unused one.

snazzey commented 5 years ago

THANK YOU SOOOO MUCH I HAVE TRIED LITERALLY EVERYTHING

p-x9 commented 2 years ago

If multiple certificates exist, the following procedure could be used to specify the desired certificate

  1. Create an identity for the desired certificate See the following link https://support.apple.com/lv-lv/guide/keychain-access/kyca6343b6c9/mac
  2. Set TARGET_CODESIGN_FLAGS in Makefile
    TARGET_CODESIGN_FLAGS = --sign "YOUR IDENTITY"

    Alternatively, you can specify the following

    TARGET_CODESIGN_FLAGS = --sign "Apple Development: XXXXXXXXXXX (TEAMID)"