TESTEVERYTHING

Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Wednesday, 11 February 2015

How to Re-Sign an iOS App from an External Developer/



iReSign allows iDevice app bundles (.ipa) files to be signed or resigned with a digital certificate from Apple for distribution. This tool is aimed at enterprises users, for enterprise deployment, when the person signing the app is different than the person(s) developing it.


If you ever work with 3rd party developers, you know that getting the final project into production can take two different routes. You can either let the developer push the code/project into production or they hand it over to your internal team to release. There are pros and cons for each, but I always prefer to publish things ourselves since it reduces security concerns and gives us more control. The Apple App Store is no different, and it is actually really simple to take a developer app and turn it into an App Store version for submission.

Note: You can use this exact same process to resign the app to your developer certificate and profile, so you can install it on your own registered developer devices.

Step 1: Pull the latest iResign code from Github “$ git clone https://github.com/maciekish/iReSign.git

Step 2: Build the code from Xcode

Step 3: In the window that appears “Enter the path to valid provisioning profile”, “Leave the fields to .plist file blank” and “Enter the build identifier from application”

Step 4: From the drop-down "Select valid developer profile” and click on "ReSign!” button.



Note: Resigned file will be saved to same directory as of original application.

Advantage:


  • We now have to ask from client just .ipa file for automating on iOS platform, same as we require just .apk file for automating on android platform

Refer the below link for more reference

https://github.com/maciekish/iReSign

http://dev.mlsdigital.net/posts/how-to-resign-an-ios-app-from-external-developers/


Tuesday, 13 January 2015

HOW TO UNINSTALL JENKINS

How to uninstall Jenkins on Mac system

1.    Execute from terminal
          /Library/Application Support/Jenkins/Uninstall.command
2.    Or use Finder to navigate into that folder and double-click on Uninstall.command.
3.    If the uninstallation script cannot be found, use:
      sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
      sudo rm /Library/LaunchDaemons/org.jenkins-ci.plist
      sudo rm -rf /Applications/Jenkins "/Library/Application Support/Jenkins"     /Library/Documentation/Jenkins
4.    if you want to get rid of all the jobs and builds:
  sudo rm -rf /Users/Shared/Jenkins
5.  to delete the jenkins user and group (if you chose to use them):
       sudo dscl . -delete /Users/jenkins
       sudo dscl . -delete /Groups/jenkins


  Baby Products

Wednesday, 7 January 2015

To know all devices connected to machines / simulator information on mac machine

Open the terminal type following command:

$ instruments -s deivces


Known Devices:
mobileQA’s Mac mini [303FD57A-BA31-5AF8-BBC4-85D1F3FF38A3]
Resizable iPad (8.0 Simulator) [5C7AFC61-6B75-49DE-9B28-4CCD125A1F24]
Resizable iPhone (8.0 Simulator) [D88F397A-98B4-4CE7-A625-230A56730086]
iPad 2 (7.0.3 Simulator) [C2C72D3E-147C-4796-90DD-682E4DBD469E]
iPad 2 (7.1 Simulator) [696557BE-7723-49A3-ADA6-46090B2576FB]
iPad 2 (8.0 Simulator) [3395DD16-17E6-4A69-BAB2-D7414759E04B]
iPad Air (7.0.3 Simulator) [1432341A-C3DD-47B8-95D4-5F17C08BF4A7]
iPad Air (7.1 Simulator) [14C9A977-4D56-404A-897F-F5DE8F5F7208]
iPad Air (8.0 Simulator) [F92E44D9-8E3F-43D2-9124-00C688126AED]
iPad Retina (7.0.3 Simulator) [4FFA8E0D-290A-47BB-B7D6-806641AFAEF7]
iPad Retina (7.1 Simulator) [76F3CC43-0E3A-4ADD-9520-AA1E20F8DD71]
iPad Retina (8.0 Simulator) [DC9C5DFA-988B-40A5-8E81-3F3FB0D11043]


 

Wednesday, 17 December 2014

Mac terminal cursor commands

·         Meta-d to delete a word starting from the current cursor position
·         Ctrl-a to jump to start of the line
·         Ctrl-e to jump to end of the line
·         Ctrl-k to kill the line starting from the cursor position
·         Ctrl-y to paste text from the kill buffer
·         Ctrl-r to reverse search for commands you typed in the past from your history
·         Ctrl-s to forward search (works in zsh for me but not bash)
·         Ctrl-f to move forward by a char

·         Ctrl-b to move backward by a char

Monday, 22 September 2014

INSTALL IDEVICEINSTALLER ON MAC MACHINE

ideviceinstaller

ideviceinstaller is a tool to interact with the installation_proxy of an iOS device allowing to install, upgrade, uninstall, archive, restore, and enumerate installed or archived apps.

1     Software Requirement
1. Homebrew
Refer the previous post for installation of homebrew
http://testeverythingqtp.blogspot.in/2014/09/mobile-webapplication-automation.html
1.1 Install HomeBrew 1. Homebrew, “the missing package manager for OS X,” allows you to easily install hundreds of open-source tools. The full instructions are available on the Homebrew Wiki, but you should only need to run the command that’s listed at the bottom of the Homebrew site:
       $ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
2.       Once the installation is successful, run the following command:
$ brew doctor

Install ideviceinstaller

Open the terminal and type following commands
       $ brew uninstall ideviceinstaller     
      $ brew install --HEAD ideviceinstaller

Which one is right ?

Translate







Tweet