Defining "doesn't work" would help... Is it the 0xE8000001 error?
Have you set up your code signing distributions properly? You shouldn't be building as 'release', you should be building as 'distribution' as described in the docs on the developer site.