Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.59 KB

Starting a New Project in Xcode.md

File metadata and controls

42 lines (27 loc) · 1.59 KB

#Starting a New Project in Xcode

###1. Create the Project

  • Product Name - The product name is just the name of your app
  • Organization Name - This is the name of company
  • Company Identifier - reverse domain name notation for identifiers. (eg. com.aney)
  • Devices - This determines if your app is for the iPhone, iPad, or Universal (both). Use Universal.
  • Language - Swift.
  • Use Core Data - It will add the boilerplate Core Data setup code.

###2. Add .gitignores

.DS_Store
xcuserdata

.DS_Store files are used by OS X to remember information about the current folder's window location.

The xcuserdata folder stores you local Xcode data, such as the breakpoints you've set.

###3. Use a shared scheme

scheme

As you change build configurations, you want those changes shared with your team.

  1. Click the Application icon drop-down, and choose Manage Schemes. Application icon

  2. In the new window, there is one scheme bundled with your app. scheme

  3. Check the Shared box.

Check the shared box

You will now have an ProjectName.xcodeproj/xcshareddata folder in your app. Add this file to git.

###Ref https://github.com/codepath/ios_guides/wiki/New-Project