I have updated to OS X Yosemite and also Xcode 6.1 (downloaded from the developer site), from this time I have had the problem with the building as in the log file I see the
As specified in another answer, you can also just not specify the distribution certificate to sign with and it will package correctly.