Open stormdragon288 opened 6 years ago
Try the following:
Open keychain access (Search in Spotlight for Keychain Access). Lock the 'login' keychain (top left). Unlock it. Build after doing the above steps and everything works fine now.
Hey @chris249 I am having the same issue when I try using the SwiftKeychainWrapper class in my project, the above method cannot solve the "Command /usr/bin/codesign failed with exit code 1" issue in my code.
As @chris249 explained, the issue has been resolved and my react-native app is successfully running in my phone.
1. Open "Keychain Access"
2. Lock the "login" from the left menu (right-click and lock it)
3. Unlock it (right-click on 'lock' and unlock it) 4. In Xcode, Clean Build Folder and Build it again
Build successfully
CodeSign /Users/xxxadmin/Library/Developer/Xcode/DerivedData/pokemon-webspoof-dkhdbbnvefaqnqfrzlmkxvdpnebh/Build/Products/Debug-iphoneos/Pokemon\ WebSpoof.app cd /var/folders/pz/jp8pyttx3fq_5_66whf6v5t40000gn/T/tmp-31365D3gcm6J6gcpA/xcode-project export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: xxx@gmail.com (2RBWJ93R45)" Provisioning Profile: "iOS Team Provisioning Profile: com.AceSpoofer.pokemon-webspoof" (609e1915-67d6-4289-a458-54ca3b610df1)
/Users/xxxadmin/Library/Developer/Xcode/DerivedData/pokemon-webspoof-dkhdbbnvefaqnqfrzlmkxvdpnebh/Build/Products/Debug-iphoneos/Pokemon WebSpoof.app: unknown error -1=ffffffffffffffff Command /usr/bin/codesign failed with exit code 1
How would one fix this? I had it working for a while, but then I accidentally deleted all my keychains a few month ago but this is an issue since I just tried doing it. Everything is set to standard.