0
votes

There's a app can runs in the simulator, but doesn't work in the device. My Xcode version is 5.0.2, and OS X version is 10.9.1. There's the error log:

CodeSign /Users/luke/Library/Developer/Xcode/DerivedData/eRep-hfteeueqsdstlddzcfobqwmsgsio/Build/Products/Debug-iphoneos/eRep.app cd /Users/luke/CoreProgram/eRep_svn_Code/eRep setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" Using code signing identity "iPhone Developer: Zhenghong Zhu (XXX....)" and provisioning profile "LuDevelopment" (XXX....) codesign --force --sign XXX.... --resource-rules=/Users/luke/Library/Developer/Xcode/DerivedData/eRep-hfteeueqsdstlddzcfobqwmsgsio/Build/Products/Debug-iphoneos/eRep.app/ResourceRules.plist - ObjC -all_load --entitlements /Users/luke/Library/Developer/Xcode/DerivedData/eRep-hfteeueqsdstlddzcfobqwmsgsio/Build/Intermediates/eRep.build/Debug-iphoneos/eRep.build/eRep.xcent /Users/luke/Library/Developer/Xcode/DerivedData/eRep-hfteeueqsdstlddzcfobqwmsgsio/Build/Products/Debug-iphoneos/eRep.app ll_load: unknown architecture name Command /usr/bin/codesign failed with exit code 1

ll_load: unknown architecture name

Command /usr/bin/codesign failed with exit code 1

There has no same certificate in the Keychain Access.I built a new app, it can runs in the device with the same certificate. I don't know why only this app doesn't work.

Thanks for your help.

2
I built a new project, and copied all resources to it. The new project can runs on the device.LukeYe
Refreshing worked for me. Xcode 6.user4130696
This is down to a corrupt framework or asset file.UKDataGeek

2 Answers

0
votes

unknown architecture name this is the problem, check your project setting about architecture, or the debug target setting.

0
votes

Have you added your device's UDID to the provisioning profile via the iOS Dev Center?