LoginSignup
2
0

More than 5 years have passed since last update.

NotificationServiceExtensionをiOS9端末で動かす方法(要検証)

Posted at

前提

XCode : Version 9.2 (9C40b)
iOS : 9.3.5

やりたいこと

OneSignalのSDKを搭載しようとしています。

現象

表題にあるNotificationServiceExtensionを作成し、iOS9端末でデバッグしようとしたところ
端末にインストールする際に以下のエラーになりました。

App installation failed

This app contains an app extension that specifies an extension point identifier that is not supported 
on this version of iOS for the value of the NSExtensionPointIdentifier key in its Info.plist.

エラーメッセージをもとにググるとAppleのフォーラムがヒット
https://forums.developer.apple.com/thread/67797

「Deployment Targetを10に上げたら解決したよ」とあります。
ただ諸事情により古い端末でも動かしたいのです。

方法

Extension側のDeployment Targetだけ10.0に上げる
動作確認していますが、Pushのパーミッション取得、Push通知受信においては問題なく動いているようです。

以上です

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0