rayh / xcoder

ruby wrapper for Xcode build tools to aid automating builds
MIT License
412 stars 70 forks source link

Bug with xcode 6, Ruby 0.1.18 Certificate wrong #92

Closed thekingbk90 closed 8 years ago

thekingbk90 commented 9 years ago

I can build iOS app with Ruby/Gem/xcoder 0.1.18 with xcode 5 (Xcloud). When I update xcode 6, I can't use xcoder to build any app. This is issue: "Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“SimiCartDemo_InHouse”) were found". I'm sure about both Certificate and provision file are correct. They were created by developer InHouse account, have not expired, the identify key is compatible with provision file. I think there is a mistake when import certificate to keychain. Can you help me. Thank you.

thekingbk90 commented 9 years ago

Update bugs (Test on my Macbook) /Library/Ruby/Gems/2.0.0/gems/xcoder-0.1.18/lib/xcode/shell/command.rb:93:in `execute': Error (65) executing 'xcodebuild -sdk iphoneos -project "/Users/macretina/Desktop/Archive/SimiCartPluginFW.xcodeproj" -target "SimiCartPluginFW" -config "Release" OBJROOT="/Users/macretina/Desktop/Archive/Build/" SYMROOT="/Users/macretina/Desktop/Archive/Build/Products/" PROVISIONING_PROFILE=fc6f2dde-74d2-4833-8860-26c70746f29e OTHER_CODE_SIGN_FLAGS='--keychain /tmp/xcoder1413346877' CODE_SIGN_IDENTITY="iPhone Distribution: TRUEPLUS VIETNAM JOINT STOCK COMPANY"' (Xcode::Shell::ExecutionError)

thekingbk90 commented 8 years ago

Create new certificate and provision files Done