Google Contacts – I can’t find any of my Contacts any more

I have all my contacts in Google Contacts.

If I want to find someone I usually type their name in the Google Contacts search box and I can find them in seconds.

This has all changed now.

The latest version of Google Contacts now searches Google+. E.g. take a look at this:

Google Contactshttp://www.snowcrash.eu/wp-content/uploads/2015/04/Google-Contacts-588x487.png 588w, http://www.snowcrash.eu/wp-content/uploads/2015/04/Google-Contacts.png 622w" sizes="(max-width: 300px) 100vw, 300px" />

Here’s a search I did recently for someone called Mark.

Why does Google think it makes any sense whatsoever to search all the Marks in the entire world?

I’ve tried clicking all the menu options at the top and on the left such as “Frequently contacted”, etc.

I have literally no idea how to search my Contacts any more. Fortunately, I have my contacts synced with my iPhone and now do all my searches using the Contact app there.

 

Spotlight Search Results Not Working in iOS 8 on the iPhone 6

I did a search for an app in Spotlight on my new iPhone 6 Plus. I knew it existed on the phone but the search wasn’t returning it at the top of the list of search results. I fixed this by going into Settings and re-arranging the order of results. Now it appeared at the top of the results.

Next day I did the same search but it didn’t appear. Neither did any app. Very odd.

I found a page discussing this http://osxdaily.com/2014/10/26/spotlight-not-working-blank-search-results-ios-fix/

but the suggested solutions are kind of nonsensical. Like sending yourself an email would suddenly fix Spotlight. Some people think it’s RAM (it isn’t), some say scrolling through your apps then attempting the search fixes the problem.

The truth is none of these are actual fixes. What’s going on is an indexing issue. Spotlight is updating its index and there’s a bug that prevents results from being shown correctly until the index finishes.

What all of these answers have in common – and they worked for the user that tried them – is time. By the time you’ve sent yourself an email the index has finished. So, it seems as if that action has fixed Spotlight. It hasn’t. The actual answer is waiting until the index has completed.

I’m experiencing this with iOS 8.1.2 so I assume a future release will fix this.

Apple Xcode license

Funny – I wanted to use ‘git status’ to check my current repo and found, as I’d updated Xcode, I had to agree to a license before being able to use git.

That’s a first!

Here’s the full license in all its gory detail:

You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.

Hit the Enter key to view the license agreements at ‘/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf’

IMPORTANT: BY USING THIS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE FOLLOWING APPLE TERMS:

A. MAC SDK AND XCODE AGREEMENT

B. iOS SDK AGREEMENT

APPLE INC.

MAC SDK AND XCODE AGREEMENT

PLEASE READ THIS MAC SDK AND XCODE AGREEMENT (“LICENSE”) CAREFULLY BEFORE USING THE DEVELOPER SOFTWARE (DEFINED BELOW). BY USING THE DEVELOPER SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS LICENSE.  IF YOU ARE ACCESSING THE DEVELOPER SOFTWARE ELECTRONICALLY, SIGNIFY YOUR AGREEMENT TO BE BOUND BY THE TERMS OF THIS LICENSE BY CLICKING THE “AGREE ” BUTTON.  IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE DEVELOPER SOFTWARE AND CLICK “DISAGREE”.

IMPORTANT NOTE: To the extent that this software may be used to reproduce materials, it is licensed to you only for reproduction of non-copyrighted materials, materials in which you own the copyright, or materials you are authorized or legally permitted to reproduce. If you are uncertain about your right to copy any material, you should contact your legal advisor.

1. General.

A. The Apple software, tools, utilities, sample or example code, documentation, interfaces, content, data, and other materials accompanying this License, whether on disk, print or electronic documentation, in read only memory, or any other media or in any other form, (collectively, the “Developer Software”) are licensed, not sold, to you by Apple Inc. (“Apple”) for use only under the terms of this License.  Apple and/or Apple’s licensors retain ownership of the Developer Software itself and reserve all rights not expressly granted to you. The terms of this License will govern any software upgrades provided by Apple that replace and/or supplement the original Developer Software, unless such upgrade is accompanied by a separate license in which case the terms of that license will govern.

B. Title and intellectual property rights in and to any content displayed by or accessed through the Developer Software belongs to the respective content owner. Such content may be protected by copyright or other intellectual property laws and treaties, and may be subject to terms of use of the third party providing such content. This License does not grant you any rights to use such content nor does it guarantee that such content will continue to be available to you.

2. Permitted License Uses and Restrictions.

A. License. Subject to the terms and conditions of this License, you are granted a limited, non-exclusive license to use the Developer Software on Apple-branded computers to develop and test application and other software. You may make only as many internal use copies of the Developer Software as reasonably necessary to use the Developer Software as permitted under this License and distribute such copies only to your employees whose job duties require them to so use the Developer Software; provided that you reproduce on each copy of the Developer Software or portion thereof, all copyright or other proprietary notices contained on the original.

B. Other Use Restrictions. The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Developer Software on any non-Apple-branded computer, or to enable others to do so. Except as otherwise expressly permitted by the terms of this License or as otherwise licensed by Apple: (i) only one user may use the Developer Software at a time, and (ii) you may not make the Developer Software available over a network where it could be run or used by multiple computers at the same time. You may not rent, lease, lend, sell, sublicense or otherwise redistribute the Developer Software or exploit any services provided by or through the Developer Software in any unauthorized way.

C. No Reverse Engineering; Limitations. You may not, and you agree not to or to enable others to, copy (except as expressly permitted by this License), decompile, reverse engineer, disassemble, attempt to derive the source code of, decrypt, modify, create derivative works of the Developer Software or any services provided by or through the Developer Software or any part thereof (except as and only to the extent any foregoing restriction is prohibited by applicable law or to the extent as may be permitted by licensing terms governing use of the  Open-Sourced Components or Sample Code).

D. Sample Code. Certain portions of the Developer Software consist of sample or example code provided by Apple (“Sample Code”). You may use, reproduce, modify and redistribute such Sample Code only in accordance with the licensing terms accompanying such Sample Code or related project(s).

E. QuickTime Development Software. You may use the QuickTime development software only to develop application software that is compatible with, and runs only on supported OS X and/or Windows platforms with QuickTime installed. Your software application may not interfere with the functionality of QuickTime Player or the QuickTime Plug-in, including but not limited to file type or MIME type associations that are registered to QuickTime.

F. Use of System-Provided Images. The system-provided images owned by Apple and documented as such in Apple’s Human Interface Guidelines for OS X and iOS (“System-Provided Images”) are licensed to you solely for the purpose of developing OS X and iOS applications, respectively, using the Developer Software. Upon termination of this License, you may continue to distribute the System-Provided Images as used within software you developed using the Developer Software; however, you agree to provide to Apple, at Apple’s request, a copy of any software you developed using the Developer Software that incorporates any of the System-Provided Images so Apple may determine, in its sole discretion, whether your use of the System-Provided Images complies with these terms.

G. Location Services; Consents.

1. Apple may enable you to access certain location-based application programming interfaces (APIs) (e.g., Core Location) documented by Apple (“Location APIs”) through the Developer Software.  Subject to these terms and conditions, you may use such APIs and services only to enable software programs you develop for use on OS X (“Applications”) to access location data (e.g. the real-time geographic location of a user’s computer) from users who consent to such access. For Applications that use Location APIs or otherwise provide location-based services, you agree that such Applications may not be designed or marketed for automatic or autonomous control of vehicle behavior, or for emergency or life-saving purposes. In addition, Applications that offer location-based services or functionality must notify and obtain consent from an individual before his or her location data is collected, transmitted or otherwise used by the Application. For Applications that use Location APIs for real-time navigation (including, but not limited to, turn-by-turn route guidance and other routing that is enabled through the use of a sensor), you must have an end-user license agreement that includes the following notice: YOUR USE OF THIS REAL TIME ROUTE GUIDANCE APPLICATION IS AT YOUR SOLE RISK. LOCATION DATA MAY NOT BE ACCURATE.

2. You agree that neither you nor your Applications will disable, override or otherwise interfere with any Apple-implemented system alerts, warnings, display panels, consent panels and the like, including, but not limited to, those that are intended to notify the user that the user’s location data is being collected, transmitted, maintained, processed or used, or intended to obtain consent for such use.  If consent is denied or withdrawn, neither you nor your Applications may collect, transmit, maintain, process or utilize the user’s location information or data through the Location APIs. You understand and agree that you and your Applications must comply with all applicable criminal, civil and statutory laws and regulations (including privacy, data collection and location service laws and regulations) in any jurisdictions in which your Applications may be delivered.  You shall be solely responsible for, and Apple shall have no responsibility or liability whatsoever with respect to, any and all claims, suits, liabilities, losses, damages, costs and expenses arising from, related or attributable to, or otherwise involving your Application, including but not limited to your Application’s use of the Location APIs.

H. Xcode Server. If you access the Xcode Server feature of the Developer Software (e.g., via the command line tools), then you may use the Xcode Server feature for your own personal use or for internal use within your company or organization. You may not provide a service to third parties that integrates with or leverages services or information provided by Xcode Server or uses the Xcode Server feature in any way.  As a condition to using the Xcode Server feature of the Developer Software, you represent and warrant to Apple that you (and any user of a client-computer that you permit to access Xcode Server on your behalf) are appropriately licensed to use the applicable services, features or functionality of the Developer Software, the iOS SDK and/or the Apple Developer Program account accessed through the Xcode Server feature (e.g., you agree that anyone attempting to gain access to your Apple Developer certificates stored on Xcode Server must be a member of your Apple Developer Program team). You agree to monitor and will be responsible for all such use by any user of a client-computer that you permit to access Xcode Server and their compliance with the terms of this License and other applicable license agreements.

I. Compliance with Laws. You agree to use the Developer Software and the services in compliance with all applicable laws, including local laws of the country or region in which you reside or in which you download or use the Developer Software or services.

3. Transfer. You may make a one-time permanent transfer of all of your license rights to the Developer Software (in its original form as provided by Apple) to another party, provided that: (a) the transfer must include all of the Developer Software, including all its component parts and this License; (b) you do not retain any copies of the Developer Software, full or partial, including copies stored on a computer or other storage device; and (c) the party receiving the Developer Software accepts the terms and conditions of this License. You may not transfer any Developer Software that has been modified or replaced under Section 13 below. All components of the Developer Software are provided as part of a bundle and may not be separated from the bundle and distributed as standalone applications.

4. Consent to Use of Data.

A. Diagnostic and Usage Data. If you choose to allow diagnostic and usage collection, you agree that Apple and its subsidiaries and agents may collect, maintain, process and use diagnostic, technical, usage and related information, including but not limited to unique system or hardware identifiers, information about your computer, system and application software, and peripherals, that is gathered periodically to provide and improve Apple’s products and services, facilitate the provision of software updates, product support and other services to you (if any) related to the Developer Software, and to verify compliance with the terms of this License. You may change your preferences for Diagnostics & Usage collection at any time by going to the Diagnostics & Usage setting on your computer and deselecting the checkbox. The Diagnostics & Usage setting is found in the Security & Privacy pane within System Preferences. Apple may use this information, as long as it is collected in a form that does not personally identify you, for the purposes described above. To enable Apple’s partners and third party developers to improve their software, hardware and services designed for use with Apple products, Apple may also provide any such partner or third party developer with a subset of diagnostic information that is relevant to that partner’s or developer’s software, hardware and/or services, as long as the diagnostic information is in a form that does not personally identify you.

B. Privacy Policy. At all times your information will be treated in accordance with Apple’s Privacy Policy, which is incorporated by reference into this License and can be viewed at: http://www.apple.com/legal/privacy/.

5. Services; Mac Developer Program.

A. Apple may provide access to services by or through the Developer Software for you to use.  Use of these services may require an Apple ID, may require you to accept additional terms and may be subject to additional fees. If you elect to use such services in conjunction with the Developer Software, your usage of such services will be subject to those additional terms and conditions (e.g., your use of Developer IDs obtained from your Apple Developer Program account will be subject to the applicable Apple Developer Program terms for Developer IDs), but this License will continue to apply to your use of the Developer Software licensed hereunder. If you would like to submit Applications you develop to the Mac App Store, then you must apply to join the Mac Developer Program. More information about Apple’s Developer Programs is available at http://developer.apple.com/. Apple reserves the right to refuse admission to any of its Developer Programs at any time in its sole discretion.

B. You agree that the services contain proprietary content, information and material that is owned by Apple and its licensors, and is protected by applicable intellectual property and other laws, and that you will not use such proprietary content, information or materials in any way whatsoever except for permitted use of the services or in any manner that is inconsistent with the terms of this License or that infringes any intellectual property rights of a third party or Apple. Except to the extent expressly permitted in the applicable terms for the services, You agree not to reproduce, modify, rent, lease, lend, sell, distribute, or create derivative works based on the services, in any manner, and you shall not exploit the services in any unauthorized way whatsoever, including but not limited to, using the services to transmit any malware, or by trespass or burdening network capacity.

C. In addition, services that may be accessed, linked to or displayed through the Developer Software may not be available in all languages or in all countries. Apple makes no representation that any such services would be appropriate or available for use in any particular location. Apple reserves the right to change, suspend, remove, or disable access to any services at any time. In no event will Apple be liable for the removal of or disabling of access to any such services or for any updates, maintenance, warranty, technical or other support for such services. Apple may also impose limits or other restrictions on the use of or access to the services, in any case without notice or liability.  You acknowledge and agree that Apple reserves the right to revoke or remove your access to any services provided by or through the Developer Software at any time in its sole discretion.

6. Termination. This License is effective until terminated. Your rights under this License will terminate automatically or cease to be effective without notice from Apple if you fail to comply with any term(s) of this License. In addition, Apple reserves the right to terminate this License if a new version of Apple’s operating system software or the Developer Software is released which is incompatible with this version of the Developer Software. Upon the termination of this License, you shall cease all use of the Developer Software and destroy all copies, full or partial, of the Developer Software. Section 2B, 2C, 4, 5B, and 6 through 13 of this License shall survive any termination.

7. Disclaimer of Warranties.

A.      YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT, TO THE EXTENT PERMITTED BY APPLICABLE LAW, USE OF THE DEVELOPER SOFTWARE AND ANY SERVICES PERFORMED BY OR ACCESSED THROUGH THE DEVELOPER SOFTWARE IS AT YOUR SOLE RISK AND THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND EFFORT IS WITH YOU.

B.      TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE DEVELOPER SOFTWARE AND SERVICES ARE PROVIDED “AS IS” AND “AS AVAILABLE”, WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND, AND APPLE AND APPLE’S LICENSORS (COLLECTIVELY REFERRED TO AS “APPLE” FOR THE PURPOSES OF SECTIONS 7 AND 8) HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH RESPECT TO THE DEVELOPER SOFTWARE AND SERVICES, EITHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, QUIET ENJOYMENT, AND NON-INFRINGEMENT OF THIRD PARTY RIGHTS.

C.      APPLE DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE DEVELOPER SOFTWARE AND SERVICES, THAT THE FUNCTIONS CONTAINED IN, OR SERVICES PERFORMED OR PROVIDED BY, THE DEVELOPER SOFTWARE WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE DEVELOPER SOFTWARE OR SERVICES WILL BE UNINTERRUPTED OR ERROR-FREE, THAT ANY SERVICES WILL CONTINUE TO BE MADE AVAILABLE, THAT THE DEVELOPER SOFTWARE OR SERVICES WILL BE COMPATIBLE OR WORK WITH ANY THIRD PARTY SOFTWARE, APPLICATIONS OR THIRD PARTY SERVICES, OR THAT DEFECTS IN THE DEVELOPER SOFTWARE OR SERVICES WILL BE CORRECTED. INSTALLATION OF THIS DEVELOPER SOFTWARE MAY AFFECT THE USABILITY OF THIRD PARTY SOFTWARE, APPLICATIONS OR THIRD PARTY SERVICES AS WELL AS OTHER APPLE PRODUCTS OR SERVICES.

D.      YOU FURTHER ACKNOWLEDGE THAT THE DEVELOPER SOFTWARE AND SERVICES ARE NOT INTENDED OR SUITABLE FOR USE IN SITUATIONS OR ENVIRONMENTS WHERE THE FAILURE OR TIME DELAYS OF, OR ERRORS OR INACCURACIES IN THE CONTENT, DATA OR INFORMATION PROVIDED BY, THE DEVELOPER SOFTWARE OR SERVICES COULD LEAD TO DEATH, PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE, INCLUDING WITHOUT LIMITATION THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, LIFE SUPPORT OR WEAPONS SYSTEMS.

E.      NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE OR AN APPLE AUTHORIZED REPRESENTATIVE SHALL CREATE A WARRANTY. SHOULD THE DEVELOPER SOFTWARE OR SERVICES PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR LIMITATIONS ON APPLICABLE STATUTORY RIGHTS OF A CONSUMER, SO THE ABOVE EXCLUSION AND LIMITATIONS MAY NOT APPLY TO YOU.

8. Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT SHALL APPLE BE LIABLE FOR PERSONAL INJURY, OR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, CORRUPTION OR LOSS OF DATA, FAILURE TO TRANSMIT OR RECEIVE ANY DATA OR INFORMATION, BUSINESS INTERRUPTION OR ANY OTHER COMMERCIAL DAMAGES OR LOSSES, ARISING OUT OF OR RELATED TO YOUR USE OR INABILITY TO USE THE DEVELOPER SOFTWARE OR SERVICES OR ANY THIRD PARTY SOFTWARE, APPLICATIONS, OR SERVICES IN CONJUNCTION WITH THE DEVELOPER SOFTWARE OR SERVICES, HOWEVER CAUSED, REGARDLESS OF THE THEORY OF LIABILITY (CONTRACT, TORT OR OTHERWISE) AND EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR PERSONAL INJURY, OR OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY TO YOU. In no event shall Apple’s total liability to you for all damages (other than as may be required by applicable law in cases involving personal injury) exceed the amount of fifty dollars ($50.00). The foregoing limitations will apply even if the above stated remedy fails of its essential purpose.

9. Export Control. You may not use or otherwise export or re-export the Developer Software except as authorized by United States law and the laws of the jurisdiction(s) in which the Developer Software was obtained. In particular, but without limitation, the Developer Software may not be exported or re-exported (a) into any U.S. embargoed countries or (b) to anyone on the U.S. Treasury Department’s list of Specially Designated Nationals or the U.S. Department of Commerce Denied Person’s List or Entity List. By using the Developer Software, you represent and warrant that you are not located in any such country or on any such list. You also agree that you will not use the Developer Software for any purposes prohibited by United States law, including, without limitation, the development, design, manufacture or production of missiles, nuclear, chemical or biological weapons.

10. Government End Users. The Developer Software and related documentation are “Commercial Items”, as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation”, as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States.

11. Controlling Law and Severability. This License will be governed by and construed in accordance with the laws of the State of California, excluding its conflict of law principles. This License shall not be governed by the United Nations Convention on Contracts for the International Sale of Goods, the application of which is expressly excluded. If for any reason a court of competent jurisdiction finds any provision, or portion thereof, to be unenforceable, the remainder of this License shall continue in full force and effect.

12. Complete Agreement; Governing Language. This License constitutes the entire agreement between you and Apple relating to the use of the Developer Software licensed hereunder and supersedes all prior or contemporaneous understandings regarding such subject matter. No amendment to or modification of this License will be binding unless in writing and signed by Apple.  The parties hereto confirm that they have requested that this License and all related documents be drafted in English. Les parties ont exigé que le présent contrat et tous les documents connexes soient rédigés en anglais.

13. Third Party Acknowledgements.

A. Certain components of the Developer Software, and third party open source programs included with the Developer Software, have been or may be made available by Apple on its Open Source web site (http://www.opensource.apple.com/) (collectively the “Open-Sourced Components”). You may modify or replace only these Open-Sourced Components; provided that: (i) the resultant modified Developer Software is used in accordance with the permitted uses set forth above; and (ii) you otherwise comply with the terms of this License and any applicable licensing terms governing use of the Open-Sourced Components. Apple is not obligated to provide any updates, maintenance, warranty, technical or other support, or services for the resultant modified Developer Software. You expressly acknowledge that if failure of or damage to Apple hardware results from modification of the Open-Sourced Components of the Developer Software, such failure or damage is excluded from the terms of the Apple hardware warranty.

B. Certain software libraries and other third party software included with the Developer Software are free software and licensed under the terms of the GNU General Public License (GPL) or the GNU Library/Lesser General Public License (LGPL), as the case may be. You may obtain a complete machine-readable copy of the source code for such free software under the terms of the GPL or LGPL, as the case may be, without charge except for the cost of media, shipping, and handling, upon written request to Apple. The GPL/LGPL software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of the GPL and LGPL is included with the Developer Software.

C. The Developer Software includes certain software licensed under the IBM Public License Version 1.0 (IPL) or the Common Public License Version 1.0 (CPL). A copy of the source code for the IPL and CPL licensed software may be found in Apple’s Open Source repository. See Apple’s Open Source web site (<http://www.opensource.apple.com>/) for information on how to obtain the source code. THE IPL AND CPL SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  NEITHER APPLE, IBM NOR ANY OTHER CONTRIBUTOR TO THE  IPL AND CPL SOFTWARE SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE IPL AND CPL SOFTWARE OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

————————————————————————————————

Apple Inc.

iOS SDK Agreement

Internal Use Only; No Redistribution

PLEASE SCROLL DOWN AND READ ALL OF THE FOLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE USING THE SOFTWARE. THIS IS A LEGAL AGREEMENT BETWEEN YOU AND APPLE. IF YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS, CLICK THE “AGREE” BUTTON OR CHECK THE BOX DISPLAYED AT THE END OF THIS AGREEMENT IF YOU ARE READING THIS ON AN APPLE WEBSITE. BY CLICKING “AGREE”, CHECKING THE BOX OR BY DOWNLOADING, USING OR COPYING ANY PART OF THIS SDK, YOU ARE AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY TO THE TERMS AND CONDITIONS STATED BELOW. IF YOU DO NOT OR CANNOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU CANNOT USE THIS SDK.  DO NOT DOWNLOAD OR USE THIS SDK IN THAT CASE.

NOTE:  You understand and agree that this Agreement is only for development purposes, and that Applications You develop using these SDK materials cannot be distributed or installed on an iOS Product unless You enter into a separate license agreement with Apple.  If You would like to load such Applications onto iOS Products or submit such Applications to the App Store, then You must apply to join the applicable iOS Developer Program.  More information is available at http://developer.apple.com/.  Apple reserves the right to refuse admission to any of its iOS Developer Programs at any time in its sole discretion.

1.      Definitions

Whenever capitalized in this Agreement:

“Agreement” means this iOS SDK Agreement.

“App Store” means an electronic store and its storefronts branded, and owned and/or controlled by Apple or an affiliate of Apple.

“Apple” means Apple Inc., a California corporation with its principal place of business at One Infinite Loop, Cupertino, California 95014, U.S.A.

“Application” means one or more software programs developed by You in compliance with this Agreement, under Your own trademark or brand, and for specific use with an iOS Product, including bug fixes, updates, upgrades, modifications, enhancements, supplements to, revisions, new releases and new versions of such software programs.

“Authorized Users” means Your employees and contractors or, if You are an educational institution, Your faculty and staff who (a) each have an active and valid Registered Apple Developer account with Apple, (b) have a demonstrable need to know or use the SDK in order to develop and test Applications, and (c) to the extent such individuals will have access to Apple Confidential Information, each have written and binding agreements with You to protect the unauthorized use and disclosure of such Apple and third party confidential information.

“Documentation” means any technical or other specifications or documentation that Apple may provide to You for use in connection with the SDK.

“FOSS” (Free and Open Source Software) means any software that is subject to terms that, as a condition of use, copying, modification or redistribution, require such software and/or derivative works thereof to be disclosed or distributed in source code form, to be licensed for the purpose of making derivative works, or to be redistributed free of charge, including without limitation software distributed under the GNU General Public License or GNU Lesser/Library GPL.

“iOS Developer Program Agreement” means a separate agreement that may be entered into between You and Apple regarding the provisioning of test devices for Your Applications, loading of Your Applications onto iOS Products for enterprise or educational purposes, and/or submission of Your Application to the App Store for approval and digital signing by Apple, among other things.

“iOS Product” means an Apple-branded product that runs Apple’s iOS operating system software (or any successor thereto).

“Program Requirements” mean the technical, human interface, design, product category, security, performance, and other criteria and requirements for Applications specified by Apple in the iOS Developer Program Agreement.

“SDK” (Software Development Kit) means the Documentation, software (source code and object code), applications, sample code, simulator, tools, libraries, APIs, data, files, and materials provided by Apple for use by You in connection with Your Application development, and includes any Updates that may be provided by Apple to You pursuant to this Agreement.

“Term” means the period described in Section 6.

“Updates” means bug fixes, updates, upgrades, modifications, enhancements, supplements, and new releases or versions of the SDK, or to any part of the SDK.

“You” or “Your” means the person(s) or entity using the SDK or otherwise exercising rights under this Agreement.  If You are entering into this Agreement on behalf of Your company, organization, educational institution, or an agency, instrumentality, or department of the federal government, “You” or “Your” refers to your company, organization, educational institution or agency, instrumentality, or department of the federal government as well.

2.      SDK Internal Use License and Restrictions

2.1     Confidential Nature of Pre-Release SDK

Pre-release versions of the SDK constitute Apple Confidential Information and are subject to the confidentiality obligations of this Agreement. Such pre-release versions of the SDK should not be relied upon to perform in the same manner as a final-release, commercial-grade product, nor should they be used with data that is not sufficiently and regularly backed up. Distribution of Applications created with the SDK is not permitted absent a separate agreement with Apple.

2.2     Permitted Uses and Restrictions

Subject to the terms and conditions of this Agreement, Apple hereby grants You during the Term, a limited, non-exclusive, personal, revocable, non-sublicensable and non-transferable license to:

(a)  Install a reasonable number of copies of the SDK on Apple-branded computers owned or controlled by You, to be used internally by You or Your Authorized Users for the sole purpose of developing or testing Applications; and

(b)  Make and distribute a reasonable number of copies of the Documentation to Your Authorized Users for Your internal use only and for the sole purpose of developing or testing Applications.

You understand and agree that Applications developed using these SDK materials cannot be installed or used on an iOS Product or submitted to the App Store unless You enter into a separate iOS Developer Program Agreement with Apple and comply with the Program Requirements.  Information regarding the iOS Developer Program Agreement and the Program Requirements is available within the iOS Developer Program website at http://developer.apple.com/programs/ios/information/index.html.  Apple reserves the right to change the Program Requirements and/or the terms of the iOS Developer Program Agreement from time to time. You are fully responsible for any and all costs, expenses or other liabilities You may incur as a result of Your Application development or use of this SDK.

2.3     Copies

You agree to retain and reproduce in full the Apple copyright, disclaimers and other proprietary notices (as they appear in the SDK and Documentation provided) in all copies of the SDK and Documentation that You are permitted to make under this Agreement.

2.4      Ownership

Apple retains all rights, title, and interest in and to the SDK. You agree to cooperate with Apple to maintain Apple’s ownership of the SDK, and, to the extent that You become aware of any claims relating to the SDK, You agree to use reasonable efforts to promptly provide notice of any such claims to Apple. The parties acknowledge that this Agreement does not give Apple any ownership interest in Your Applications.

2.5     No Other Permitted Uses

Unless otherwise expressly permitted by Apple in writing, You agree not to rent, lease, lend, upload to or host on any website or server, sell, redistribute, or sublicense the SDK, in whole or in part, or to enable others to do so. You may not use the SDK for any purpose not expressly permitted by this Agreement. You agree not to install, use or run the SDK on any non-Apple-branded computer, or to enable others to do so. You may not and You agree not to, or to enable others to, copy (except as expressly permitted under this Agreement), decompile, reverse engineer, disassemble, attempt to derive the source code of, modify, decrypt, or create derivative works of the SDK or any services provided by the SDK, or any part thereof (except as and only to the extent any foregoing restriction is prohibited by applicable law, or to the extent as may be permitted by licensing terms governing use of open-sourced components or sample code included with the SDK). You agree not to exploit any services provided by the SDK in any unauthorized way whatsoever, including but not limited to, by trespass or burdening network capacity. Any attempt to do so is a violation of the rights of Apple and its licensors of the SDK or services provided by the SDK. If You breach any of the foregoing restrictions, You may be subject to prosecution and damages. All licenses not expressly granted in this Agreement are reserved and no other licenses, immunity or rights, express or implied are granted by Apple, by implication, estoppel, or otherwise. This Agreement does not grant You any rights to use any trademarks, logos or service marks belonging to Apple, including but not limited to the iPhone or iPod word marks. If You make reference to any Apple products or technology or use Apple’s trademarks, You agree to comply with the published guidelines at http://www.apple.com/legal/trademark/guidelinesfor3rdparties.html, as modified by Apple from time to time.

2.6     Updates; No Support or Maintenance

Apple may extend, enhance, or otherwise modify the SDK at any time without notice, but Apple shall not be obligated to provide You with any Updates to the SDK. If Updates are made available by Apple, the terms of this Agreement will govern such Updates, unless the Update is accompanied by a separate license in which case the terms of that license will govern. Apple is not obligated to provide any maintenance, technical or other support for the SDK. You acknowledge that Apple has no express or implied obligation to announce or make available any Updates of the SDK to anyone in the future. Should an Update be made available, it may have APIs, features, services or functionality that are different from those found in the SDK licensed hereunder.

3.      Your Obligations

3.1     General

You certify to Apple and agree that:

(a) You are of the legal age of majority in the jurisdiction in which You reside (at least 18 years of age in many countries) and have the right and authority to enter into this Agreement on Your own behalf, or if You are entering into this Agreement on behalf of Your company, organization, educational institution, or agency, instrumentality, or department of the federal government, that You have the right and authority to legally bind such entity or organization to the terms and obligations of this Agreement;     

(b) All information provided to Apple by You will be current, true, accurate, supportable and complete;

(c) You will comply with the terms of and fulfill Your obligations under this Agreement and You agree to monitor and be responsible for Your Authorized Users’ use of the SDK and their compliance with the terms of this Agreement; and

(d) You will be solely responsible for all costs, expenses, losses and liabilities incurred, and activities undertaken by You and Authorized Users in connection with the SDK, Your Applications and Your related development efforts.

3.2     Use of the SDK

As a condition to using the SDK, You agree that:

(a) You will only use the SDK for the purposes and in the manner expressly permitted by this Agreement and in accordance with all applicable laws and regulations;

(b) You will not use the SDK for any unlawful or illegal activity, nor to develop any Application which would commit or facilitate the commission of a crime, or other tortious, unlawful, or illegal act;

(c) You will not install or use Applications developed hereunder on any iOS Products or on any other hardware or device, except on Apple-branded computers as expressly permitted in Section 2.2(a);

(d) You will not distribute Applications created with the SDK absent a separate agreement with Apple;

(e) To the best of Your knowledge and belief, Your Application does not and will not violate, misappropriate, or infringe any Apple or third party copyrights, trademarks, rights of privacy and publicity, trade secrets, patents, or other proprietary or legal rights (e.g. musical composition or performance rights, video rights, photography or image rights, logo rights, third party data rights, etc. for content and materials that may be included in Your Application); and

(f) You will not, through use of the SDK or otherwise, create any Application or other program that would disable, hack or otherwise interfere with any security, digital signing, digital rights management, content protection, verification or authentication mechanisms implemented in or by the iOS operating system software, this SDK, or other Apple software, services or technology, or enable others to do so.

4.      Confidentiality

4.1     Information Deemed Apple Confidential

You agree that all pre-release versions of the SDK (including pre-release Documentation) will be deemed “Apple Confidential Information”; provided however that upon the commercial release of the SDK the terms and conditions that disclose pre-release features of the SDK will no longer be confidential. Other non-public information disclosed by Apple to You in connection with this Agreement will be deemed Apple Confidential Information under this Agreement only if it is identified or marked as “Confidential” if disclosed in writing, or is designated as being confidential at the time of disclosure, if disclosed orally or visually. Notwithstanding the foregoing, Apple Confidential Information will not include: (i) information that is generally and legitimately available to the public through no fault or breach of Yours, (ii) information that is generally made available to the public by Apple, (iii) information that is independently developed by You without the use of any Apple Confidential Information, (iv) information that was rightfully obtained from a third party who had the right to transfer or disclose it to You without limitation, or (v) any FOSS included in the SDK and accompanied by licensing terms that do not impose confidentiality obligations on the use or disclosure of such FOSS.

4.2     Obligations Regarding Apple Confidential Information

You agree to protect Apple Confidential Information using at least the same degree of care that You use to protect Your own confidential information of similar importance, but no less than a reasonable degree of care. You agree to use Apple Confidential Information solely for the purpose of exercising Your rights and performing Your obligations under this Agreement and agree not to use Apple Confidential Information for any other purpose, for Your own or any third party’s benefit, without Apple’s prior written consent. You further agree not to disclose or disseminate Apple Confidential Information to anyone other than: (i) those of Your employees and contractors, or those of Your faculty and staff if You are an educational institution, who have a need to know and who are bound by a written agreement that prohibits unauthorized use or disclosure of the Apple Confidential Information; or (ii) except as otherwise agreed or permitted in writing by Apple. You may disclose Apple Confidential Information to the extent required by law, provided that You take reasonable steps to notify Apple of such requirement before disclosing the Apple Confidential Information and to obtain protective treatment of the Apple Confidential Information. You acknowledge that damages for improper disclosure of Apple Confidential Information may be irreparable; therefore, Apple is entitled to seek equitable relief, including injunction and preliminary injunction, in addition to all other remedies.

4.3     Information Submitted to Apple Not Deemed Confidential

Apple works with many application and software developers and some of their products may be similar to or compete with Your Applications. Apple may also be developing its own similar or competing applications and products or may decide to do so in the future. To avoid potential misunderstandings, Apple cannot agree, and expressly disclaims, any confidentiality obligations or use restrictions, express or implied, with respect to any information that You may provide in connection with this Agreement, including information about Your Application (such disclosures will be referred to as “Licensee Disclosures”). You agree that any such Licensee Disclosures will be non-confidential. Apple will be free to use and disclose any Licensee Disclosures on an unrestricted basis without notifying or compensating You. You release Apple from all liability and obligations that may arise from the receipt, review, use, or disclosure of any portion of any Licensee Disclosures. Any physical materials You submit to Apple will become Apple property and Apple will have no obligation to return those materials to You or to certify their destruction.

4.4     Press Releases and Other Publicity

You may not issue any press releases or make any other public statements regarding this Agreement, its terms and conditions, or the relationship of the parties without Apple’s express prior written approval, which may be withheld at Apple’s discretion.

5.      Indemnification

To the extent permitted by applicable law, You agree to indemnify, defend and hold harmless Apple, its directors, officers, employees, independent contractors and agents (each an “Apple Indemnified Party”) from any and all claims, losses, liabilities, damages, expenses and costs (including without limitation attorneys’ fees and court costs) (collectively “Losses”) incurred by an Apple Indemnified Party as a result of Your breach of this Agreement, a breach of any certification, covenant, representation or warranty made by You in this Agreement, any claims that Your Applications violate or infringe any third party intellectual property or proprietary rights, or otherwise related to or arising from Your use of the SDK, Your Application(s) or Your development of Applications.

You acknowledge that the SDK is not intended for use in the development of Applications in which errors or inaccuracies in the content, functionality, services, data or information provided by the Application or the failure of the Application could lead to death, personal injury, or severe physical or environmental damage, and, to the extent permitted by law, You hereby agree to indemnify, defend and hold harmless each Apple Indemnified Party from any Losses incurred by such Apple Indemnified Party by reason of any such use.  In no event may You enter into any settlement or like agreement with a third party that affects Apple’s rights or binds Apple in any way, without the prior written consent of Apple.

6.      Term and Termination

6.1     Term

The license to use this version of the SDK is effective until terminated in accordance with Section 6.2.

6.2     Termination

This Agreement and all rights under this Agreement will terminate automatically or cease to be effective without notice from Apple if You or any of Your Authorized Users fail to comply with any term(s) of this Agreement. In addition, Apple reserves the right to terminate this Agreement if a new version of Apple’s iOS operating system software or the SDK is released which is incompatible with this version of the SDK.  Either party may terminate this Agreement for its convenience, for any reason or no reason, effective 30 days after providing the other party with written notice of its intent to terminate.

6.3     Effect of Termination

Upon the termination of this Agreement for any reason, You agree to immediately cease all use of the SDK and erase and destroy all copies, full or partial, of the SDK and all copies of Apple Confidential Information in Your and Your Authorized Users’ possession or control. At Apple’s request, You agree to provide written certification of such destruction to Apple. The provisions of Sections 1, 2.4, 2.5, 3.1(d), 3.2(c), 3.2(d), 3.2(e), 3.2(f), 4, 5, 6, 7, 8, and 9 will survive any termination of this Agreement. Apple will not be liable for compensation, indemnity, or damages of any sort as a result of terminating this Agreement in accordance with its terms, and termination of this Agreement will be without prejudice to any other right or remedy Apple may have, now or in the future.

7.      NO WARRANTY

The SDK may contain inaccuracies or errors that could cause failures or loss of data and it may be incomplete. Apple may, through the SDK, provide or make available services (collectively the “Services”). Apple and its licensors reserve the right to change, suspend, remove, or disable access to any Services at any time without notice. In no event will Apple be liable for the removal of or disabling of access to any such Services. Apple may also impose limits on the use of or access to certain Services, in any case and without notice or liability. YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT USE OF THE SDK AND SERVICES IS AT YOUR SOLE RISK AND THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND EFFORT IS WITH YOU. THE SDK AND SERVICES ARE PROVIDED “AS IS” AND “AS AVAILABLE”, WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND, AND APPLE AND APPLE’S LICENSORS (COLLECTIVELY REFERRED TO AS “APPLE” FOR THE PURPOSES OF SECTIONS 7 AND 8) HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH RESPECT TO THE SDK AND SERVICES, EITHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, TIMELINESS, AND NON-INFRINGEMENT OF THIRD PARTY RIGHTS. APPLE DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE SDK, THAT THE SDK OR SERVICES WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE SDK OR SERVICES WILL BE UNINTERRUPTED OR ERROR-FREE, THAT DEFECTS IN THE SDK OR SERVICES WILL BE CORRECTED, OR THAT THE SDK OR SERVICES WILL BE COMPATIBLE WITH FUTURE APPLE PRODUCTS OR SOFTWARE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE OR AN APPLE AUTHORIZED REPRESENTATIVE WILL CREATE A WARRANTY. SHOULD THE SDK OR SERVICES PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. Location data provided by any Services is for basic navigational purposes only and is not intended to be relied upon in situations where precise location information is needed or where erroneous, inaccurate or incomplete location data may lead to death, personal injury, property or environmental damage. Neither Apple nor any of its licensors guarantees the availability, accuracy, completeness, reliability, or timeliness of location data or any other data displayed by any Services.

8.      LIMITATION OF LIABILITY

TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL APPLE BE LIABLE FOR PERSONAL INJURY, OR ANY INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES WHATSOEVER, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, LOSS OF DATA, BUSINESS INTERRUPTION OR ANY OTHER COMMERCIAL DAMAGES OR LOSSES, ARISING OUT OF OR RELATED TO THIS AGREEMENT, YOUR USE OR INABILITY TO USE THE SDK OR SERVICES, OR YOUR DEVELOPMENT EFFORTS, HOWEVER CAUSED, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY, OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY REMEDY. In no event shall Apple’s total liability to You under this Agreement for all damages (other than as may be required by applicable law in cases involving personal injury) exceed the amount of fifty dollars ($50.00).

9.      General Legal Terms

9.1     Third Party Notices

Portions of the SDK utilize or include third party software and other copyrighted material. Acknowledgements, licensing terms and disclaimers for such material are contained in the electronic documentation for the SDK, and Your use of such material is governed by their respective terms.

9.2     Consent to Collection and Use of Non-Personal Data

You agree that Apple and its subsidiaries may collect and use technical and related information, including but not limited to information about Your Applications, computer, system software, other software and peripherals, that is gathered periodically to facilitate the provision of software updates and other services to You (if any) related to the SDK, and to verify compliance with the terms of this Agreement. Apple may use this information, as long as it is in a form that does not personally identify You, to improve the SDK, our products or to provide services or technologies to You and our customers.

9.3     Assignment

This Agreement may not be assigned, nor may any of Your obligations under this Agreement be delegated, in whole or in part, by You by operation of law, merger, or any other means without Apple’s express prior written consent and any attempted assignment without such consent will be null and void.

9.4     Relationship of Parties

This Agreement will not be construed as creating an agency, partnership, joint venture, fiduciary duty, or any other form of legal association between You and Apple, and You will not represent to the contrary, whether expressly, by implication, appearance or otherwise. This Agreement is not for the benefit of any third parties.

9.5     Independent Development

Nothing in this Agreement will impair Apple’s right to develop, acquire, license, market, promote, or distribute products or technologies that perform the same or similar functions as, or otherwise compete with, Your Applications or any other products or technologies that You may develop, produce, market, or distribute.

9.6     Notices

Any notices relating to this Agreement shall be in writing. Notices will be deemed given by Apple when sent to You at the email address You provided as part of Your Registered Apple Developer sign-up process. Notices to Apple will be deemed given (a) when delivered personally, (b) three business days after having been sent by commercial overnight carrier with written proof of delivery, and (c) five business days after having been sent by first class or certified mail, postage prepaid, to this Apple address:  iOS SDK Licensing, Apple Inc., 12545 Riata Vista Circle, MS 198-3SWL, Austin, TX 78727, USA. You consent to receive notices by email and agree that any such notices that Apple sends You electronically will satisfy any legal communication requirements. A party may change its email or mailing address by giving the other written notice as described above.

9.7     Severability

If a court of competent jurisdiction finds any clause of this Agreement to be unenforceable for any reason, that clause of this Agreement shall be enforced to the maximum extent permissible so as to effect the intent of the parties, and the remainder of this Agreement shall continue in full force and effect. However, if applicable law prohibits or restricts You from fully and specifically complying with the Sections of this Agreement entitled “SDK Internal Use License and Restrictions” or “Your Obligations” or prevents the enforceability of either of those Sections, this Agreement will immediately terminate and You must immediately discontinue any use of the SDK as described in the Section entitled “Term and Termination.”

9.8     Waiver and Construction

Failure by Apple to enforce any provision of this Agreement shall not be deemed a waiver of future enforcement of that or any other provision. Any laws or regulations that provide that the language of a contract will be construed against the drafter will not apply to this Agreement. Section headings are for convenience only and are not to be considered in construing or interpreting this Agreement.

9.9     Export Control

You may not use, export, re-export, import, sell or transfer the SDK except as authorized by United States law, the laws of the jurisdiction in which You obtained the SDK, and any other applicable laws and regulations. In particular, but without limitation, the SDK may not be exported or re-exported (a) into any U.S. embargoed countries or (b) to anyone on the U.S. Treasury Department’s list of Specially Designated Nationals or the U.S. Department of Commerce Denied Person’s List or Entity List. By using the SDK, You represent and warrant that You are not located in any such country or on any such list. You also agree that You will not use the SDK for any purposes prohibited by United States law, including, without limitation, the development, design, manufacture or production of nuclear, chemical or biological weapons.

9.10    Government End Users

The SDK and Documentation are “Commercial Items”, as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation”, as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States.

9.11    Dispute Resolution; Governing Law

Any litigation or other dispute resolution between You and Apple arising out of or relating to this Agreement, the SDK, or Your relationship with Apple will take place in the Northern District of California, and You and Apple hereby consent to the personal jurisdiction of and exclusive venue in the state and federal courts within that District with respect any such litigation or dispute resolution. This Agreement will be governed by and construed in accordance with the laws of the United States and the State of California, except that body of California law concerning conflicts of law.

Notwithstanding the foregoing, if You are an agency, instrumentality or department of the federal government of the United States, then this Agreement shall be governed in accordance with the laws of the United States of America, and in the absence of applicable federal law, the laws of the State of California will apply. Further, and notwithstanding anything to the contrary in this Agreement (including but not limited to Section 5 (Indemnification)), all claims, demands, complaints and disputes will be subject to the Contract Disputes Act (41 U.S.C. §§601-613), the Tucker Act (28 U.S.C. § 1346(a) and § 1491), or the Federal Tort Claims Act (28 U.S.C. §§ 1346(b), 2401-2402, 2671-2672, 2674-2680), as applicable, or other applicable governing authority.

If You (as an entity entering into this Agreement) are a U.S. public and accredited educational institution, then (a) this Agreement will be governed and construed in accordance with the laws of the state (within the U.S.) in which Your educational institution is domiciled, except that body of state law concerning conflicts of law; and (b) any litigation or other dispute resolution between You and Apple arising out of or relating to this Agreement, the SDK, or Your relationship with Apple will take place in federal court within the Northern District of California, and You and Apple hereby consent to the personal jurisdiction of and exclusive venue of such District unless such consent is expressly prohibited by the laws of the state in which Your educational institution is domiciled.

This Agreement shall not be governed by the United Nations Convention on Contracts for the International Sale of Goods, the application of which is expressly excluded.

9.12    Entire Agreement; Governing Language

This Agreement constitutes the entire agreement between the parties with respect to the use of the SDK licensed hereunder and supersedes all prior understandings regarding such subject matter. This Agreement may be modified only: (a) by a written amendment signed by both parties, or (b) to the extent expressly permitted by this Agreement (for example, by Apple by written or email notice to You). Any translation of this Agreement is done for local requirements and in the event of a dispute between the English and any non-English version, the English version of this Agreement shall govern. If You are located in the province of Quebec, Canada, the following clause applies: The parties hereby confirm that they have requested that this Agreement and all related documents be drafted in English. Les parties ont exigé que le présent contrat et tous les documents connexes soient rédigés en anglais.

EA1187

8/14/2014

By typing ‘agree’ you are agreeing to the terms of the software license agreements. Type ‘print’ to print them or anything else to cancel, [agree, print, cancel] agree

You can view the license agreements in Xcode’s About Box, or at /Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf

Reclaiming disk space on the Mac

When I bought my MacBook Pro I immediately ditched the hard drive that came with it, open up the system and installed an SSD drive – immediately voiding the warranty!

But, I got some amazing response times – applications launch almost immediately – heaven!

The downside, however, is that your disk space is at a premium. So, I’ve got a bunch of ways to reclaim disk space. I’m an iOS and web developer so they’re more geared to that type of usage. Here are my top tips sorted by priority:

High

If the Mac is complaining about low disk space and I need an immediate fix here’s what I do:

1. Empty Trash

2. Run ./bin/reclaimMacDiskSpace.sh

This is a series of scripts that delete non-important stuff such as iPhoneSimulator apps, DerivedData, Downloads (I can always re-download stuff!) and Mobile Backups.

I won’t list the script details ‘cos it should all be pretty obvious. But ping me if you’re interested.

These turn out to save a surprising amount of space right off the bat. 

Medium

When I have a bit more time (usually after something important has happened like I’ve run out of disk space or Xcode won’t install due to insufficient space!) I’ll do these:

Backup to an external drive then delete: 

1. iPhone app Archives: ~/Library/Developer/Xcode/Archives

2. Old versions under iOS DeviceSupport: ~/Library/Developer/Xcode/iOS DeviceSupport

http://stackoverflow.com/questions/5302789/can-i-remove-previous-versions-of-iphone-support-in-devicesupport-folder-in-xcod

3. Mobile backups under: ~/Library/Application Support/MobileSync/Backup.local

At one time I had over 2GB of data here!

Low

When I want to be really meticulous (and I sometimes make a point of clearing out an additional 20GB of space on my SSD drive) I go through these:

1. use OmniDiskSweeper to work out what’s using the most space and start off by clearing these out

2. Use Gemini.app to dedupe files

Any other suggestions?

message sent to deallocated instance

When an object crashes you can use Xcode to replace this object with an NSZombie. This way you can find out more information about the crashed object. Here’s how:

In Xcode
1. Edit the Run scheme (click on your Project name to the right of the Run / Stop buttons (top left of Xcode) and choose Edit Scheme)
2. Arguments > Environment Variables > NSZombieEnabled > YES
3. Diagnostics > Enable Zombie Objects

Then run via Instruments (Xcode > Product > Profile (Cmd I)) and select Zombies.
Pause Instruments when your app loads, click the i in Allocations and make sure “Record reference counts” and “Enable NSZombie detection” are enabled.
Click Record again and trigger your crash.

You’ll get a Zombie Messaged dialog at the crash.

Screen Shot 2013-04-13 at 13 Apr  16.23.21http://www.snowcrash.eu/wp-content/uploads/2013/04/Screen-Shot-2013-04-13-at-13-Apr-16.23.21.png 304w" sizes="(max-width: 300px) 100vw, 300px" />

Click the arrow to see a full stack trace.

To work out the cause of the crash switch on the Extended Detail side pane (View > Extended Detail (or Cmd E)). This opens up a pane which has a section titled Stack Trace. Note that lines in bold are your code. Double click on one of these lines to open up the code.

To return to the stack trace, click History to the right of Statistics the lower middle pane.

Screen Shot 2013-04-13 at 13 Apr  16.57.46http://www.snowcrash.eu/wp-content/uploads/2013/04/Screen-Shot-2013-04-13-at-13-Apr-16.57.46.png 436w" sizes="(max-width: 300px) 100vw, 300px" />

If you look at the first line you’ll see what the object was. It’ll say the Address, the Category and the Event Type (i.e. the object name and Malloc).

Further Retain / Release / Autorelease events are listed in subsequent chronological order.

More on using Instruments here:

https://developer.apple.com/library/ios/#recipes/instruments_help-memory-allocations-help/Eliminating_Messages_To_Deallocated_Objects/06_Eliminating_Messages_To_Deallocated_Objects.html

and much more here:
http://stackoverflow.com/questions/5386160/how-to-enable-nszombie-in-xcode

http://www.markj.net/iphone-memory-debug-nszombie/

http://www.cocoadev.com/index.pl?NSZombieEnabled

And a bit more here on zombies

See this very useful hack on how to run app in Instruments with Allocations instrument and get both zombie detection and allocation tracking: http://stackoverflow.com/questions/6797944/how-do-you-enable-nszombie-in-instruments-of-xcode-4-1-under-lion

App Store Review Guidelines

The full text of the App Store Review Guidelines. Note that this is a “living document” so they may change it as and when they please.

Introduction

We’re pleased that you want to invest your talents and time to develop applications for iOS. It has been a rewarding experience – both professionally and financially – for hundreds of thousands of developers and we want to help you join this successful group. We have published our App Store Review Guidelines in the hope that they will help you steer clear of issues as you develop your App and speed you through the approval process when you submit it.

We view Apps different than books or songs, which we do not curate. If you want to criticize a religion, write a book. If you want to describe sex, write a book or a song, or create a medical App. It can get complicated, but we have decided to not allow certain kinds of content in the App Store. It may help to keep some of our broader themes in mind:

We have lots of kids downloading lots of Apps, and parental controls don’t work unless the parents set them up (many don’t). So know that we’re keeping an eye out for the kids.
We have over 700,000 Apps in the App Store. If your App doesn’t do something useful, unique or provide some form of lasting entertainment, it may not be accepted.
If your App looks like it was cobbled together in a few days, or you’re trying to get your first practice App into the store to impress your friends, please brace yourself for rejection. We have lots of serious developers who don’t want their quality Apps to be surrounded by amateur hour.
We will reject Apps for any content or behavior that we believe is over the line. What line, you ask? Well, as a Supreme Court Justice once said, “I’ll know it when I see it”. And we think that you will also know it when you cross it.
If your App is rejected, we have a Review Board that you can appeal to. If you run to the press and trash us, it never helps.
If you attempt to cheat the system (for example, by trying to trick the review process, steal data from users, copy another developer’s work, or manipulate the ratings) your Apps will be removed from the store and you will be expelled from the developer program.
This is a living document, and new Apps presenting new questions may result in new rules at any time. Perhaps your App will trigger this.

Lastly, we love this stuff too, and honor what you do. We’re really trying our best to create the best platform in the world for you to express your talents and make a living too. If it sounds like we’re control freaks, well, maybe it’s because we’re so committed to our users and making sure they have a quality experience with our products. Just like almost all of you are too.
Table of Contents

Terms and conditions
Functionality
Metadata, ratings and rankings
Location
Push notifications
Game Center
Advertising
Trademarks and trade dress
Media content
User interface
Purchasing and currencies
Scraping and aggregation
Damage to device
Personal attacks
Violence
Objectionable content
Privacy
Pornography
Religion, culture, and ethnicity
Contests, sweepstakes, lotteries, and raffles
Charities and contributions
Legal requirements
Passbook

1. Terms and conditions

1.1

As a developer of applications for the App Store you are bound by the terms of the Program License Agreement (PLA), Human Interface Guidelines (HIG), and any other licenses or contracts between you and Apple. The following rules and examples are intended to assist you in gaining acceptance for your App in the App Store, not to amend or remove provisions from any other agreement.

2. Functionality

2.1

Apps that crash will be rejected
2.2

Apps that exhibit bugs will be rejected
2.3

Apps that do not perform as advertised by the developer will be rejected
2.4

Apps that include undocumented or hidden features inconsistent with the description of the App will be rejected
2.5

Apps that use non-public APIs will be rejected
2.6

Apps that read or write data outside its designated container area will be rejected
2.7

Apps that download code in any way or form will be rejected
2.8

Apps that install or launch other executable code will be rejected
2.9

Apps that are “beta”, “demo”, “trial”, or “test” versions will be rejected
2.10

iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
2.11

Apps that duplicate Apps already in the App Store may be rejected, particularly if there are many of them, such as fart, burp, flashlight, and Kama Sutra Apps.
2.12

Apps that are not very useful, unique, are simply web sites bundled as Apps, or do not provide any lasting entertainment value may be rejected
2.13

Apps that are primarily marketing materials or advertisements will be rejected
2.14

Apps that are intended to provide trick or fake functionality that are not clearly marked as such will be rejected
2.15

Apps larger than 50MB in size will not download over cellular networks (this is automatically prohibited by the App Store)
2.16

Multitasking Apps may only use background services for their intended purposes: VoIP, audio playback, location, task completion, local notifications, etc.
2.17

Apps that browse the web must use the iOS WebKit framework and WebKit Javascript
2.18

Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke cigarettes, will be rejected
2.19

Apps that provide incorrect diagnostic or other inaccurate device data will be rejected
2.20

Developers “spamming” the App Store with many versions of similar Apps will be removed from the iOS Developer Program
2.21

Apps that are simply a song or movie should be submitted to the iTunes store. Apps that are simply a book should be submitted to the iBookstore.
2.22

Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected
2.23

Apps must follow the iOS Data Storage Guidelines or they will be rejected
2.24

Apps that are offered in Newsstand must comply with schedules 1, 2 and 3 of the Developer Program License Agreement or they will be rejected
2.25

Apps that display Apps other than your own for purchase or promotion in a manner similar to or confusing with the App Store will be rejected

3. Metadata (name, descriptions, ratings, rankings, etc)

3.1

Apps or metadata that mentions the name of any other mobile platform will be rejected
3.2

Apps with placeholder text will be rejected
3.3

Apps with descriptions not relevant to the application content and functionality will be rejected
3.4

App names in iTunes Connect and as displayed on a device should be similar, so as not to cause confusion
3.5

Small and large App icons should be similar, so as to not to cause confusion
3.6

Apps with App icons and screenshots that do not adhere to the 4+ age rating will be rejected
3.7

Apps with Category and Genre selections that are not appropriate for the App content will be rejected
3.8

Developers are responsible for assigning appropriate ratings to their Apps. Inappropriate ratings may be changed/deleted by Apple
3.9

Developers are responsible for assigning appropriate keywords for their Apps. Inappropriate keywords may be changed/deleted by Apple
3.10

Developers who attempt to manipulate or cheat the user reviews or chart ranking in the App Store with fake or paid reviews, or any other inappropriate methods will be removed from the iOS Developer Program
3.11

Apps which recommend that users restart their iOS device prior to installation or launch may be rejected
3.12

Apps should have all included URLs fully functional when you submit it for review, such as support and privacy policy URLs

4. Location

4.1

Apps that do not notify and obtain user consent before collecting, transmitting, or using location data will be rejected
4.2

Apps that use location-based APIs for automatic or autonomous control of vehicles, aircraft, or other devices will be rejected
4.3

Apps that use location-based APIs for dispatch, fleet management, or emergency services will be rejected
4.4

Location data can only be used when directly relevant to the features and services provided by the App to the user or to support approved advertising uses

5. Push notifications

5.1

Apps that provide Push Notifications without using the Apple Push Notification (APN) API will be rejected
5.2

Apps that use the APN service without obtaining a Push Application ID from Apple will be rejected
5.3

Apps that send Push Notifications without first obtaining user consent will be rejected
5.4

Apps that send sensitive personal or confidential information using Push Notifications will be rejected
5.5

Apps that use Push Notifications to send unsolicited messages, or for the purpose of phishing or spamming will be rejected
5.6

Apps cannot use Push Notifications to send advertising, promotions, or direct marketing of any kind
5.7

Apps cannot charge users for use of Push Notifications
5.8

Apps that excessively use the network capacity or bandwidth of the APN service or unduly burden a device with Push Notifications will be rejected
5.9

Apps that transmit viruses, files, computer code, or programs that may harm or disrupt the normal operation of the APN service will be rejected

6. Game Center

6.1

Apps that display any Player ID to end users or any third party will be rejected
6.2

Apps that use Player IDs for any use other than as approved by the Game Center terms will be rejected
6.3

Developers that attempt to reverse lookup, trace, relate, associate, mine, harvest, or otherwise exploit Player IDs, alias, or other information obtained through the Game Center will be removed from the iOS Developer Program
6.4

Game Center information, such as Leaderboard scores, may only be used in Apps approved for use with the Game Center
6.5

Apps that use Game Center service to send unsolicited messages, or for the purpose of phishing or spamming will be rejected
6.6

Apps that excessively use the network capacity or bandwidth of the Game Center will be rejected
6.7

Apps that transmit viruses, files, computer code, or programs that may harm or disrupt the normal operation of the Game Center service will be rejected

7. Advertising

7.1

Apps that artificially increase the number of impressions or click-throughs of ads will be rejected
7.2

Apps that contain empty iAd banners will be rejected
7.3

Apps that are designed predominantly for the display of ads will be rejected

8. Trademarks and trade dress

8.1

Apps must comply with all terms and conditions explained in the Guidelines for Using Apple Trademarks and Copyrights and the Apple Trademark List
8.2

Apps that suggest or infer that Apple is a source or supplier of the App, or that Apple endorses any particular representation regarding quality or functionality will be rejected
8.3

Apps which appear confusingly similar to an existing Apple product or advertising theme will be rejected
8.4

Apps that misspell Apple product names in their App name (i.e., GPS for Iphone, iTunz) will be rejected
8.5

Apps may not use protected third party material such as trademarks, copyrights, patents or violate 3rd party terms of use. Authorization to use such material must be provided upon request.

9. Media content

9.1

Apps that do not use the MediaPlayer framework to access media in the Music Library will be rejected
9.2

App user interfaces that mimic any iPod interface will be rejected
9.3

Audio streaming content over a cellular network may not use more than 5MB over 5 minutes
9.4

Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 64 kbps audio-only HTTP Live stream

10. User interface

10.1

Apps must comply with all terms and conditions explained in the Apple iOS Human Interface Guidelines
10.2

Apps that look similar to Apps bundled on the iPhone, including the App Store, iTunes Store, and iBookstore, will be rejected
10.3

Apps that do not use system provided items, such as buttons and icons, correctly and as described in the Apple iOS Human Interface Guidelines may be rejected
10.4

Apps that create alternate desktop/home screen environments or simulate multi-App widget experiences will be rejected
10.5

Apps that alter the functions of standard switches, such as the Volume Up/Down and Ring/Silent switches, will be rejected
10.6

Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it. Apple sets a high bar. If your user interface is complex or less than very good, it may be rejected

11. Purchasing and currencies

11.1

Apps that unlock or enable additional features or functionality with mechanisms other than the App Store will be rejected
11.2

Apps utilizing a system other than the In-App Purchase API (IAP) to purchase content, functionality, or services in an App will be rejected
11.3

Apps using IAP to purchase physical goods or goods and services used outside of the application will be rejected
11.4

Apps that use IAP to purchase credits or other currencies must consume those credits within the application
11.5

Apps that use IAP to purchase credits or other currencies that expire will be rejected
11.6

Content subscriptions using IAP must last a minimum of 7 days and be available to the user from all of their iOS devices
11.7

Apps that use IAP to purchase items must assign the correct Purchasability type
11.8

Apps that use IAP to purchase access to built-in capabilities provided by iOS, such as the camera or the gyroscope, will be rejected
11.9

Apps containing “rental” content or services that expire after a limited time will be rejected
11.10

Insurance applications must be free, in legal-compliance in the regions distributed, and cannot use IAP
11.11

In general, the more expensive your App, the more thoroughly we will review it
11.12

Apps offering subscriptions must do so using IAP, Apple will share the same 70/30 revenue split with developers for these purchases, as set forth in the Developer Program License Agreement.
11.13

Apps that link to external mechanisms for purchases or subscriptions to be used in the App, such as a “buy” button that goes to a web site to purchase a digital book, will be rejected
11.14

Apps can read or play approved content (specifically magazines, newspapers, books, audio, music, video and cloud storage) that is subscribed to or purchased outside of the app, as long as there is no button or external link in the App to purchase the approved content. Apple will only receive a portion of revenues for content purchased inside the App.
11.15

Apps may only use auto renewing subscriptions for periodicals (newspapers, magazines), business Apps (enterprise, productivity, professional creative, cloud storage) and media Apps (video, audio, voice), or the App will be rejected.
11.16

Apps may enable additional approved features or functionality when used in combination with specific approved physical products (such as a toy) as long as the additional features and functionality are either completely dependent on such hardware (for example an App that is used to control a telescope) or also available through the App without the physical products, such as by way of reward for achievement or by use of IAP.

12. Scraping and aggregation

12.1

Applications that scrape any information from Apple sites (for example from apple.com, iTunes Store, App Store, iTunes Connect, Apple Developer Programs, etc) or create rankings using content from Apple sites and services will be rejected
12.2

Applications may use approved Apple RSS feeds such as the iTunes Store RSS feed
12.3

Apps that are simply web clippings, content aggregators, or a collection of links, may be rejected

13. Damage to device

13.1

Apps that encourage users to use an Apple Device in a way that may cause damage to the device will be rejected
13.2

Apps that rapidly drain the device’s battery or generate excessive heat will be rejected

14. Personal attacks

14.1

Any App that is defamatory, offensive, mean-spirited, or likely to place the targeted individual or group in harms way will be rejected
14.2

Professional political satirists and humorists are exempt from the ban on offensive or mean-spirited commentary

15. Violence

15.1

Apps portraying realistic images of people or animals being killed or maimed, shot, stabbed, tortured or injured will be rejected
15.2

Apps that depict violence or abuse of children will be rejected
15.3

“Enemies” within the context of a game cannot solely target a specific race, culture, a real government or corporation, or any other real entity
15.4

Apps involving realistic depictions of weapons in such a way as to encourage illegal or reckless use of such weapons will be rejected
15.5

Apps that include games of Russian roulette will be rejected

16. Objectionable content

16.1

Apps that present excessively objectionable or crude content will be rejected
16.2

Apps that are primarily designed to upset or disgust users will be rejected

17. Privacy

17.1

Apps cannot transmit data about a user without obtaining the user’s prior permission and providing the user with access to information about how and where the data will be used
17.2

Apps that require users to share personal information, such as email address and date of birth, in order to function will be rejected
17.3

Apps that target minors for data collection will be rejected

18. Pornography

18.1

Apps containing pornographic material, defined by Webster’s Dictionary as “explicit descriptions or displays of sexual organs or activities intended to stimulate erotic rather than aesthetic or emotional feelings”, will be rejected
18.2

Apps that contain user generated content that is frequently pornographic (ex “Chat Roulette” Apps) will be rejected

19. Religion, culture, and ethnicity

19.1

Apps containing references or commentary about a religious, cultural or ethnic group that are defamatory, offensive, mean-spirited or likely to expose the targeted group to harm or violence will be rejected
19.2

Apps may contain or quote religious text provided the quotes or translations are accurate and not misleading. Commentary should be educational or informative rather than inflammatory

20. Contests, sweepstakes, lotteries, and raffles

20.1

Sweepstakes and contests must be sponsored by the developer/company of the App
20.2

Official rules for sweepstakes and contests, must be presented in the App and make it clear that Apple is not a sponsor or involved in the activity in any manner
20.3

It must be permissible by law for the developer to run a lottery App, and a lottery App must have all of the following characteristics: consideration, chance, and a prize
20.4

Apps that allow a user to directly purchase a lottery or raffle ticket in the App will be rejected

21. Charities and contributions

21.1

Apps that include the ability to make donations to recognized charitable organizations must be free
21.2

The collection of donations must be done via a web site in Safari or an SMS

22. Legal requirements

22.1

Apps must comply with all legal requirements in any location where they are made available to users. It is the developer’s obligation to understand and conform to all local laws
22.2

Apps that contain false, fraudulent or misleading representations or use names or icons similar to other Apps will be rejected
22.3

Apps that solicit, promote, or encourage criminal or clearly reckless behavior will be rejected
22.4

Apps that enable illegal file sharing will be rejected
22.5

Apps that are designed for use as illegal gambling aids, including card counters, will be rejected
22.6

Apps that enable anonymous or prank phone calls or SMS/MMS messaging will be rejected
22.7

Developers who create Apps that surreptitiously attempt to discover user passwords or other private user data will be removed from the iOS Developer Program
22.8

Apps which contain DUI checkpoints that are not published by law enforcement agencies, or encourage and enable drunk driving, will be rejected

23. Passbook

23.1

Passbook Passes can be used to make or receive payments, transmit offers or offer identification (such as movie tickets, airline tickets, coupons and reward offers). Other uses may result in the rejection of the App and the revocation of Passbook credentials.
23.2

Passes must include valid contact information from the issuer of the pass or the App will be rejected and Passbook credentials may be revoked.
23.3

Passes must be signed by the entity that will be distributing the pass under its own name, trademark, or brand or the App will be rejected and Passbook credentials may be revoked.

Living document

This document represents our best efforts to share how we review Apps submitted to the App Store, and we hope it is a helpful guide as you develop and submit your Apps. It is a living document that will evolve as we are presented with new Apps and situations, and we’ll update it periodically to reflect these changes.

Thank you for developing for iOS. Even though this document is a formidable list of what not to do, please also keep in mind the much shorter list of what you must do. Above all else, join us in trying to surprise and delight users. Show them their world in innovative ways, and let them interact with it like never before. In our experience, users really respond to polish, both in functionality and user interface. Go the extra mile. Give them more than they expect. And take them places where they have never been before. We are ready to help.

How to develop / migrate apps for the iPhone 5

1. Set a 4-inch launch image for your app called Default-568h@2x.png

This is how you get 1136 px screen height (without it, you will get 960 px with black margins on top and bottom).

This should be enough.

2. If not, adjust your view layouts with proper auto resizing masks or look into Auto Layout if you only want to support >= iOS 6.

If you need to some specific resizing then check the height of [[UIScreen mainScreen] bounds] (or applicationFrame, but then you need to consider status bar height if it's present) as there seems to be no specific API for that.

http://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution

 

Let an iPhone user know they can access your content via their device

Here's how:

1. Check if the user-agent matches an iPhone/iPod Touch

2. Check for an appInstalled cookie

3. If the cookie exists and is set to true, set window.location to your-uri:// (or do the redirect server side)

4. If the cookie doesn't exist, open a “Did you know this site has an iPhone application?” dialog with a “Yes, already got it”, “No, let's try it” or a “Leave me alone” button.

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200