adamwaite / iOS-Build-Kit

☠️ BuildKit is a modular command line interface for automating iOS project builds. Bundled build tasks include: Increment app version • Xcode build • Overlay version number on icon files • Run unit tests • Create .ipa artefact.
MIT License
568 stars 54 forks source link

ipa builds with wrong provisioning profile even when specifying path to provisioning profile #24

Closed vinnybad closed 10 years ago

vinnybad commented 10 years ago

I'm seeing that the wrong profile (app store) is selected even though I specifically tell it to pick the adhoc profile. I also have to refresh my xcode profiles each time a profile is updated. Do you have any idea why this is the case?

Here's the relevant part of my config file:

:configuration:

...

:build_configuration: "TestFlight"

:scheme: "SendOutCardsApp_CI"

:sdk: "iphoneos"

:provisioning_profile: "../Provisioning/App_AdHoc_Profile.mobileprovision"

:code_sign: "iPhone Distribution: SOC, LLC"

:icon_dir: "BuildKit/Icon/"

:build_dir: "Builds"

:preferences:

:reports: "Reports"

Here is the log and it mentions arguments are properly set:

Arguments: embed=../Provisioning/App_AdHoc_Profile.mobileprovision verbose=1

The profile in the Provisioning folder is up to date. Thank you and I appreciate your help in advance!

adamwaite commented 10 years ago

Hey Vinny. I'm unsure what's going on here if I'm honest.

So let me get this straight. You want to create an app using your TestFlight build configuration, which requires the Ad-Hoc profile (../Provisioning/App_AdHoc_Profile.mobileprovision) but for some reason it's selecting a different profile?

Does the build task succeed and generate an ipa?

adamwaite commented 10 years ago

You still having trouble?

vinnybad commented 10 years ago

Due to time constraints, I ended up switching the underlying build tool.