Apple OS X Server (Xcode CI service) can't fin

2019-03-11 08:31发布

问题:

I configured dedicated Mac mini with OS X Server for Continuous Integration with XCode5, added git repo and created bots. I am trying to integrate bot and get error

Specified PROVISIONING_PROFILE (29DAD4E2-6155-4395-AF33-2C872BC32504) not 
found and no CODE_SIGN_IDENTITY specified. Ignoring PROVISIONING_PROFILE 
for now. This will become an error in the future.

Server was added to Developer Team and I can see it in member center at special page "Servers". I think that server should retreive profiles from Developer Center for build bots, but it doesn't work.

How can I fix this?

回答1:

I think that problem resolved. I checked server logs (Xcode -> Service log) and find that device list and provisioning profiles are correct downloaded after relogin to team (saved to

/Library/Server/Xcode/Data/ProvisioningProfiles 

(from comments)

With the release of OS X Server 3.2.1, the provisioning profiles have been relocated to /Library/Developer/XcodeServer/ProvisioningProfiles

with _teamserver owner). Server download only automatic generated profiles ("iOS Team Provisionong Profile: bundle id") and you should choose this profile in target settings and commit to your VCS.



回答2:

Adding Developer Account in Xcode->Preferences worked for me.

My environment:

  • Xcode 7.* and Server 5.

  • I have added my server to developer team