iOS Configuration

Estimated reading: 3 minutes 723 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.

Firebase setup in ios

  • Go to Firebase concole
  • In the center of the project overview page, click the iOS+ icon to launch the setup workflow. (If you’ve already added an app to your Firebase project, click Add app to display the platform options.)
  • Enter your app’s bundle ID in the bundle ID field.(package name: com.iqonic.example)
  • (Optional) Enter other app information: App nickname and App Store ID.
  • Click Register app.

Add a Firebase configuration file in Xcode

  • Click Download GoogleService-Info.plist to obtain your Firebase Apple platforms config file (GoogleService-Info.plist).
  • Make sure,the file name should be GoogleService-Info.plist 
  • 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.
  • Select TARGETS section in Xcode, then select the Info tab, and expand the URL Types section.
  • Click the + button, and add a URL scheme for your reversed client ID. To find this value, open the GoogleService-Info.plist configuration file, and look for the REVERSED_CLIENT_ID key. Copy the value of that key, and paste it into the URL Schemes box on the configuration page. Leave the other fields blank.


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.

 


Instructions for adding the OneSignal SDK to your iOS native app

Follow following Documnettation link for set up

https://documentation.onesignal.com/docs/ios-sdk-setup


Generate Certificates for OneSignal

Follow following Documentation link for generating certificates.

Click here to view Documentation

Leave a Comment

Share this Doc

iOS Configuration

Or copy link

CONTENTS