So, I'm trying to make a whole script that would make most of the steps of running an app built from phonegapp almost automatically.
I'm actually trying to automate the process of adding certificates and provisioning profile. But I'm not even sure if it is possible or not.
I'm looking for answers using the phonegapcommands in terminal if it is possible. If not, I'm wondering which files I would have to modify (for example in Xcode ?) in order to add these.
The point really is to run one script from the terminal, and both the certificate and the provisioning profile would be added so that the user can run on a device without having to manage anything else.
Thanks.
Related
Is it possible to have an Xcode project run without a signing profile. I am submitting code for a competition and would like the judges to not have to worry about signing. This app will never be distributed anywhere, only run from Xcode.
Basically: Can somebody download and run a project without touching this stuff:
Thanks
Check the instructions for the competition. There is some chance that they provide the UUID of a few test iPads in which case you might be expected to do an AdHoc build for them.
As the other answer stated they can just run in the simulator but it is also easy for them to change the bundle ID to a profile they have themselves. In this case, just make sure you never actually access you own bundle ID at runtime and do something with it.
As long as they load the project through the simulator it should be fine. Otherwise if you want your project to be loaded on a physical device you will need a signing certificate
I'm setting up a CI machine and the problem I'm facing is that the build fails with a profile/signing error when built using the bot.
However if I manually clone the project onto the CI machine and build it manually from within XCode on the build machine then it is successful - this shows that the CI machine's keychain is correctly set up and the profiles/signing setting of the project are all ok.
That fact that I can manually build it on my dev machine and on the CI machine but not using the bot suggests to me that the bot is running as a different user?
So my question is how do I set up the X Code server account / bot to be the correct user? The Apple Xcode CI document isn't very clear on this area, I've followed the instructions for configuring the server, configuring the bot, adding group members to the XCode server etc. but something must have been incorrectly configured. Trouble is I've followed the documentation step by step but don't know where I could have gone wrong.
Anybody know of a good alternative bot tutorial as an alternative to Apple's documentation or have an idea what the problem might be?
Copy the relevant provisioning profiles from
~/Library/MobileDevice/Provisioning Profiles
to
/Library/Server/Xcode/Data/ProvisioningProfiles
and it'll build fine.
You might need admin permission to access that folder, though.
And if that doesn't work, copy the relevant certificates/private keys from the login keychain to the System keychain.
The reason behind this is because..Xcode only downloads provisioning profiles that are managed by Xcode, which are the Team Provisioning profiles.
So you would only need to copy the ones that are not managed, like Adhoc Distribution profiles, and other custom provisioning profiles that are not created by default after creating a new Application ID.
I've been browsing the internet for a solution to this issue and have found plenty of threads about the same problem, but there was either no solution found or the ones proposed didn't work.
I followed along with the tutorial linked in the iOS text file in the Air project template for FlashDeveop. Since I do not currently have an iOS device, I've been sending the IPA to a coworker to have him test it. When he attempts to load the application onto the iTouch, he gets an "app failed to install" with no further information on why it failed. Does anyone know what could cause this?
Here's what I've already done/checked:
made sure the app ID in the apple portal matched the ID in the application.xml
sent my co-worker the provision profiled used to create the IPA
tried the test targets (fast test, fast debug, etc) as well as an "ad-hoc" build
recreating the certificates
Its also worth noting that the app runs fine on my Android device, so I'm fairly certain that I've missed something in the certification process for iOS.
Yeah sounds like a provisioning problem. Make sure the UDID of all devices you are targeting are in each listed provisioning profile (Note: You will need to add any additional UDID's added to the developer portal again to any provisioning profile).
Although I strongly recommend using Testflight for your circumstance, makes sending an .ipa extremely easy. https://testflightapp.com/
I know there are a lot of questions similar to mine on this site, but none seem to be what I am looking for with a few environment changes.
I'm running an osx Dumb Slave set up using Java Web Start. I'm not running as root, nor a specific user entitled 'jenkins,' but rather a normal user. I've installed the xcode plug-in on Jenkins. Everything seems to start up fine, and it's loading the files on the slave server, however, once I begin to build (post-clean), I run into this error:
Provisioning profile '<uuid>' can't be found
I've set the certificate to both login AND system and just login and just system. I copied the .p12 certificates that I was currently using on another machine. I'm at a loss. If anyone can possibly help or even link me to maybe some stackoverflow question I have yet to try, that would be great.
Thanks!
I had to search through my project.pbxproj to all the provisioning profiles. It seemed there was an old number and a new number (used in different apps). I had to realign the provisioning number to the new one.
I just finished my first black berry app and I'm assuming I must codesign it before sub.
On my eclipse there is a option to install new signature keys. How do I get a signature key? I could not find no options in eclipse to then sign the project.
You will be able to run your application in the simulator without signing it, but in order to run it on a real device you will indeed have to get signing keys and sign your application. In order to get code signing keys, you will have to fill out a registration form here. BlackBerry recently simplified this process, but there are still several steps to it and once you fill out that application you'll still need to wait for RIM to give you your keys and further instructions. Once you have your keys, you can use the eclipse option to install them and use them when building your application, so that you can deploy it to a real device (this option is available in the preferences for the blackberry plugin).