iOS Configuration

Estimated reading: 2 minutes 420 views

Open Project in Xcode

  1. Open Xcode.
  2. Select Open another Project.
  3. Open the iOS directory within your app.
  4. Now, click on Done button.

Change Bundle Name

  1. Select your project file icon in Group and files panel.
  2. Then Select Target -> Info Tab.
  3. At last change Bundle Name.

Change Bundle Identifier.

Bundle Id is a unique Identifier of your of app on iOS and MacOS. iOS and MacOS use it to recognise updates to your app. The identifier must be unique for your app.

  1. Select your project file icon in Group and files panel.
  2. Select General Tab.
  3. After Select General tab you can see the details of your application.
  4. In Identity section, rename your Bundle identifier.

Change App Icons

  1. see How to Generate App Icons?
  2. In Group and files panel find “Assets.xcassets” folder.
  3. In Assets.xcassets folder replace AppIcon.

Google SignIn

  •  On Firebase, register your app.
  • Make sure that GoogleService-Info.plist is the name of the file that you download in step 1.
  • Move or Copy the GoogleService-Info.plist into the ” [My_project] / ios / Runner”.
  • Open Xcode, right-click on the Runner directory, and select Add files into Runner.
  • Select the GoogleService-Info.plist from the file Manager.
  • A Dialog will show up and ask you to select the targets, select the Runner.
  • Then add the CFBundleURLTypes attritubes below into the ” [My_project] / ios / Runner/ Info.plist “ file.
  • Then Run your Project.

Open  Info.plist file in Xcode.

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            < TODO Replace this value:>
            < Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID>
            <string>"Enter your REVERSED_CLIENT_ID"</string>
        </array>
    </dict>
</array>


SignIn with Apple

  • Open project in Xcode.
  • Goto the Project Editor choose your target then Open the Signing & capabilities panel
  • Click the Library button (+) to open the Capabilities library (or choose Editor > Sign in with Apple).
  • Then Run your Project.

 

Leave a Comment

Share this Doc

iOS Configuration

Or copy link

CONTENTS