Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build failure #115

Open
4 of 16 tasks
craig-at-rsg opened this issue Jan 5, 2017 · 1 comment
Open
4 of 16 tasks

iOS build failure #115

craig-at-rsg opened this issue Jan 5, 2017 · 1 comment

Comments

@craig-at-rsg
Copy link

craig-at-rsg commented Jan 5, 2017

Issue: xcode fails to build AppPreferences.m

The message is:
.../Plugins/cordova-plugin-app-preferences/AppPreferences.m:24:16: No visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'

Here's the function:

- (void)defaultsChanged:(NSNotification *)notification {
	NSString * jsCallBack = [NSString stringWithFormat:@"cordova.fireDocumentEvent('preferencesChanged');"];
	[self.webView stringByEvaluatingJavaScriptFromString:jsCallBack];
}

Please specify your environment

Plugin version:

  • released version: 0.7.4
  • repository master

Toolchain:

  • Cordova cli
  • Phonegap cli
  • Phonegap cloud
  • Ionic
  • Other: XCode

Platforms affected:

  • Android
  • iOS/macOS
  • LocalStorage fallback for browser and blackberry
  • Windows and Windows Phone 8.1 and later
  • Windows Phone 8 and earlier (deprecated)

What the scope of your problem:

  • General functionality (store/fetch/remove/clearAll)
  • Suites
  • Cloud synchronization and events
  • Preferences pane generation and display
@craig-at-rsg
Copy link
Author

Here's an example fix:
Telerik-Verified-Plugins/PushNotification@ddaa7a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant