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

iPhone Developer: no identity found #52

Closed lucaIz-ldx closed 4 years ago

lucaIz-ldx commented 4 years ago

[bin/resim bin ==> Cleaning… ==> Cleaning…

Making all for tool resim… ==> Compiling resim.mm (x86_64)… ==> Linking tool resim (x86_64)… ==> Generating debug symbols for resim… ==> Merging tool resim… ==> Signing resim… Copying binaries... /Users/XXXX/github/simject/resim/.theos/obj/macosx/debug/resim -> ../bin/resim Making all for tweak simject… ==> Preprocessing simject.xm… ==> Compiling simject.xm (x86_64)… ==> Linking tweak simject (x86_64)… ld: warning: OS version (7.0.0) too small, changing to 8.0.0 ==> Generating debug symbols for simject… rm /Users/XXXX/github/simject/simject/.theos/obj/iphone_simulator/debug/x86_64/simject.xm.mm ==> Merging tweak simject… ==> Signing simject… iPhone Developer: no identity found make[3]: [/Users/XXXX/github/simject/simject/.theos/obj/iphone_simulator/debug/simject.dylib] Error 1 rm /Users/XXXX/github/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](url)

I am using Xcode 11.2 on macOS Catalina 10.15.1. I am suspecting the problem could be new certificate Apple introduces in Xcode 11 which replaces old iOS development certificates.

I've tried reinstalling Xcode but no luck. Anyone seeing this problem? I'll appreciate someone could help.

lucaIz-ldx commented 4 years ago

Notice there are no options like "iOS development" mentioned in instruction in new Xcode. image

lucaIz-ldx commented 4 years ago

Ok, I found there is a temporary workaround. Export iOS development certificate in old Xcode and import it into keychain.