• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Tweaking Apps

  • About
  • Portfolio
  • Privacy Policy

Archives for March 2012

Provisioning iPhone 4S for deploying and testing Apps

March 31, 2012 By Ravi Shankar 1 Comment

Listed below are detail steps for provisioning iPhone 4S for deploying and testing Apps. The steps have been broadly classified in to the following topics.

  • Requesting Development Certificate
  • Submit Certificate in iOS Provisioning Portal
  • Installing Certificate
  • Registering Device to Provisioning Portal

Requesting Development Certificate

Requesting development certificate requires you to generate a Certificate Signing Request (CSR). The CSR can be generated using the KeyChain app available as part of the Mac OS. You can quickly launch keychain using spotlight search. Apart from generating the CSR, the Keychain app also generates the public and private key.

201203311214.jpg

Select Keychain Access preferences from the menu list and navigate to Certificates tab.

201203311227.jpg

Turn off the Online Certificate Status Protocol (OCSP).

201203311229.jpg

Now to request Certificate, click the Keychain Access menu, select Request a certificate from a Certificate Authority under the Certificate Assistant.

201203311244.jpg

In the Certificate Assistant window, enter your email address, name and mark the radio option with caption as Saved to disk also the check box with label as Let me specify key pair information.

201203311250.jpg

Save the generated certificate to your desktop.

201203311318.jpg

Then for the Key Pair information, select Key Size as 2048 bits and Algorithm as RSA.

201203311319.jpg

On clicking the continue button will display the following confirmation message.

201203311439.jpg

The login section under Keychain Access would display the generated Public key and Private key.

201203311440.jpg

Submitting Request in Provisioning Portal

Login to the members account with your Apple user id and password. Click the iOS Provisioning Portal link available under Developer Program Resources section.

201203311444.jpg

In the Provisioning Portal, navigate to Certificates section and click the Request Certificate button under Development.

201203311443.jpg

This would display a screen with option to submit the CSR.

201203311446.jpg

Choose the required CSR and click the Submit button. After submitting the status would initially be displayed as Pending issuance and later a download link would appear.

201203311447.jpg

201203311448.jpg

Now install the WWDR certificate and iOS developer Certificate on your Mac system

201203311449.jpg

201203311450.jpg

You can verify the installation of certificates by navigating to My Certificates in Keychain Access App.

201203311451.jpg

Registering Device to Provisioning Portal

You can use Xcode for registering the Device ID and this process also create the App ID. Launch Xcode, click the Window menu option and select Organizer from the menu list.

201203311454.jpg

This would display the list of available Devices that have been connected to the Mac system,

201203311455.jpg

When the device is connected, a green status light will be displayed. Now select iPhone 4S and click the Use for Development button. If your Device and Mac system are out of sync with the iOS SDK then you will get the message to keep both of them in sync.

201203311501.jpg

Once the device and Mac system are in sync, you can add the device to Provisioning Portal by right clicking on the device and selecting Add Device to Provisioning Portal.

201203311503.jpg

Xcode will request permission for accessing your Keychain, click Always Allow button and sign-in with your Apple Developer Account credentials. Also allow code sign to sign using your key in keychain.

201203311506.jpg

Now you can test your app on iPhone 4S by selecting the device from Active Scheme list.

201203311508.jpg

Filed Under: Develop, ios Tagged With: Apple, Blogging, deploying, iphone, Provisioning

How to insert math symbols in Word 2010

March 13, 2012 By Ravi Shankar Leave a Comment

Word users can use the insert equation option to add mathematical equation to a document. Similarly to add any Math’s Symbol, you can use Insert –> Symbol feature. This is quite useful when you are preparing Mathematics Questionnaire using Word 2010.

For example, if you want to add non equality operation, then navigate to Insert menu, click the Symbols option and pick non equality symbol from the drop down list.

insert symbols in Word 2010

If you can not find the symbols in the above list then you can click the More Symbols menu option and pick the extended list.

more symbols in Word 2010

Another alternative way to add mathematic operation in a Word document is by using the insert Object option. Navigate to Text section under Insert menu and click the Object menu option.

image

Then from the Object window, select Microsoft Equation 3.0 from the Object Type list and click the OK button.

Insert Microsoft Equation

Now you can select the required symbols from the Equation window.

image

del.icio.us Tags: Word 2010,mathematical,insert symbols,Operation,math equation

Filed Under: Office 2010, Word 2010 Tagged With: insert symbols, math equation, mathematical, Operation, Word 2010

Apple Mach-O-Linker Id Error – OBJC_CLASS_$_MFMailComposeViewController

March 11, 2012 By Ravi Shankar Leave a Comment

Xcode displays the Apple Mach-O undefined symbols for architecture error when the library referred in the code is not included as part of Build Phases. For example, I was instantiating MFMailComposeViewController in one of my project

  MFMailComposeViewController *mc = [[MFMailComposeViewController alloc] init];

And while trying to compile the code, the build failed and displayed the following error.

Undefined symbols for architecture i386:   

“_OBJC_CLASS_$_MFMailComposeViewController”, referenced from:

objc-class-ref in RootViewController.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I was able to fix this issue by including the MessgeUI.framework library as part of the Build Phases.

In Xcode, navigate to Project Summary screen then to the Build Phases tab

201203110834.jpg

Click the Add Items (+ sign) under Link Binary With Libraries section then select MessageUI.frameework from the list and click the Add button.

201203110836.jpg

201203110842.jpg

Similarly by including the relevant libraries you can resolve the obj-class-ref errors.


Filed Under: Apple Tagged With: Apple, Apple Mach, Linked Error

How to start new browser session in Internet Explorer 10

March 10, 2012 By Ravi Shankar Leave a Comment

I just came across a New Session feature on Internet Explorer 10 Consumer Preview. Generally we had to close the browser to start a new session and this would mean that all the open web pages has to be closed. But now using the New Session option, users can keep all open tabs and start a fresh session in a separate browser window.

You can start a new session by clicking the File menu then selecting New Session from the menu list.

image

del.icio.us Tags: Internet Explorer 10,new session,browser session

Filed Under: Browsers, Internet, Internet Explorer Tagged With: browser session, Internet Explorer 10, new session

How to convert Keynote slides in to images

March 7, 2012 By Ravi Shankar 1 Comment

This article is about the feature that allows Apple Keynote users to convert the slides in to .PNG, .JPEG and .TIFF image files.

Step 1: Launch the Keynote App and open the Keynote presentation

Step 2: Click File menu and select Export from the menu list.

201203071115.jpg

Step 3: Navigate to Images section and select the Slides that needs to be exported to images.

201203071116.jpg

You have the option to specify all slides or range of slides. Similarly you are allowed to select the image format (JPEG, PNG, TIFF) from the drop down. After specifying the required details, click the Next button.

Step 4: Then click the Export button after providing a name and location for the images.

201203071122.jpg

Filed Under: Apple, Keynote Tagged With: Apple, convert, Export, Image, Keynote, Slides

Primary Sidebar

Recent Posts

  • We have blocked all requests from this device – Firebase Phone Authentication
  • iPhone is not available error message in Xcode
  • Clear CocoaPods cache, re-download and reinstall all pods
  • PDFKit – View, Annotate PDF file in Swift
  • Tab Bar Controller with WebView

Archives

  • September 2020
  • April 2020
  • December 2019
  • November 2019
  • October 2019
  • February 2019
  • October 2017
  • June 2017
  • May 2017
  • March 2017
  • September 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • November 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • April 2011
  • March 2011
  • January 2011
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • July 2009
  • March 2008

Copyright 2020 © rshankar.com