katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin
Apache License 2.0
2.57k stars 1.76k forks source link

iOS 8.1 build fails with linker error #365

Closed smistry-toushay closed 9 years ago

smistry-toushay commented 9 years ago

Using master 998ea0de83d4765efbc2f7b3a442a83784b33bce

Installed platforms: iOS 3.7.0 Xcode Version 6.1.1 (6A2008a)

  "_UIApplicationRegisterUserNotificationSettings", referenced from:
      -[APPLocalNotification pluginInitialize] in APPLocalNotification.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
dgurkaynak commented 9 years ago

Same here.

renderf0x commented 9 years ago

Confirmed on Cordova 4.1.2 - same error.

christophermiles commented 9 years ago

Same here. Cordova 4.1.2. de.appplant.cordova.plugin.local-notification 0.8.0dev

sherlockat commented 9 years ago

same here check : Build Phases -> Compile Sources my case, UIApplication+APPLocalNotification.m file had been left out list

dscx commented 9 years ago

Confirming here as well.

Cordova 4.1.2. de.appplant.cordova.plugin.local-notification 0.8.0dev

joshhunt commented 9 years ago

Confirming again.

Is there a last known good commit I can install from?

→ cordova --version
4.1.2

→ xcodebuild -version
Xcode 6.1.1
Build version 6A2008a

→ cordova plugins info
de.appplant.cordova.plugin.local-notification 0.8.0dev "LocalNotification"
nl.x-services.plugins.actionsheet 1.1.1 "ActionSheet"
org.apache.cordova.camera 0.3.4 "Camera"
org.apache.cordova.console 0.2.12 "Console"
org.apache.cordova.device 0.2.14-dev "Device"
org.apache.cordova.dialogs 0.2.11 "Notification"
org.apache.cordova.file 1.3.2 "File"
org.apache.cordova.file-transfer 0.4.8 "File Transfer"
org.apache.cordova.inappbrowser 0.5.4 "InAppBrowser
taenadar commented 9 years ago

Above fix seems to work for me

dscx commented 9 years ago

Confirmed madflanderz's fix does indeed work. I did have to re-add the platform, however. Thanks!

sunsus commented 9 years ago

+1 please merge

katzer commented 9 years ago

The new 0.8.x release is a complete rewrite. If the issue still exists please reopen it.

You may also take a look into the new wiki.

Thanks!