Onesignal-ios-sdk: Xcode manual installation

Created on 10 Dec 2017  路  3Comments  路  Source: OneSignal/OneSignal-iOS-SDK

Please, allow for manual SDK installation as Xcode sub-project.
There are many environments, were it is not allowed to use CocoaPods or any other non-official build tool.

CocoaPods should be an option and should not be forced on users.

Documentation

Most helpful comment

@konkontos We currently do not have manual instructions at this time, however I can give you a quick overview to help guide you on adding it until we create a complete guide.

  1. Download or clone this repo.
  2. Drop and drag iOS_SDK/OneSignalSDK/Framework/OneSignal.framework into your Xcode project. Make sure to check the copy option.
  3. Add SystemConfiguration, UIKit, and UserNotifications to your framework list.
  4. You can then follow our full setup guide for the code setup.
  5. If you need the features provided by the Notification Service Extension you will need to repeat steps 2 and 3 above for this target.

In-addition to CocoaPods we do support Carthage for others who my find this issue.
https://documentation.onesignal.com/docs/carthage-setup

All 3 comments

@konkontos We currently do not have manual instructions at this time, however I can give you a quick overview to help guide you on adding it until we create a complete guide.

  1. Download or clone this repo.
  2. Drop and drag iOS_SDK/OneSignalSDK/Framework/OneSignal.framework into your Xcode project. Make sure to check the copy option.
  3. Add SystemConfiguration, UIKit, and UserNotifications to your framework list.
  4. You can then follow our full setup guide for the code setup.
  5. If you need the features provided by the Notification Service Extension you will need to repeat steps 2 and 3 above for this target.

In-addition to CocoaPods we do support Carthage for others who my find this issue.
https://documentation.onesignal.com/docs/carthage-setup

Closing due to inactivity, if you have any other questions or problems please feel free to ask!

@konkontos We currently do not have manual instructions at this time, however I can give you a quick overview to help guide you on adding it until we create a complete guide.

  1. Download or clone this repo.
  2. Drop and drag iOS_SDK/OneSignalSDK/Framework/OneSignal.framework into your Xcode project. Make sure to check the copy option.
  3. Add SystemConfiguration, UIKit, and UserNotifications to your framework list.
  4. You can then follow our full setup guide for the code setup.
  5. If you need the features provided by the Notification Service Extension you will need to repeat steps 2 and 3 above for this target.

In-addition to CocoaPods we do support Carthage for others who my find this issue.
https://documentation.onesignal.com/docs/carthage-setup

Hello, guys, @konkontos @jkasten2
after doing this still have

'No such module 'OneSignal'

Do I need add Run Script phase like at Carthage manual (step11) ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

huahengling picture huahengling  路  5Comments

0x7fs picture 0x7fs  路  6Comments

brunodelgado picture brunodelgado  路  3Comments

pvcary picture pvcary  路  5Comments

chmiiller picture chmiiller  路  6Comments