Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

error in iOS example #9

Closed
gianpaj opened this issue May 27, 2018 · 2 comments
Closed

error in iOS example #9

gianpaj opened this issue May 27, 2018 · 2 comments

Comments

@gianpaj
Copy link

gianpaj commented May 27, 2018

TypeError: undefined is not a constructor (evaluating 'new _reactNativeSpruce.CorneredSort(60)')

This error is located at:
    in App (at renderApplication.js:33)

render
    App.js:8:36

The issue is here:

let sortWith = new CorneredSort(60);

steps

git clone [email protected]:prscX/react-native-spruce.git
cd react-native-spruce/SpruceExample
yarn
react-native run-ios

Got this warning when building the app:

The following commands produced analyzer issues:
	Analyze Base/RCTModuleMethod.mm normal x86_64
(1 command with analyzer issues)

Extra info:

$ react-native info

Environment:
  OS: macOS High Sierra 10.13.4
  Node: 8.11.1
  Yarn: 1.5.1
  npm: 5.8.0
  Watchman: 4.9.0
  Xcode: Xcode 9.3.1 Build version 9E501
  Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.4 => 0.55.4
@prscX
Copy link
Owner

prscX commented May 31, 2018

Thanks @gianpaj for raising the issue and providing a detailed description.

Which platform are you trying to test (Android/iOS)?

Note: On iOS it is not currently supported. Please refer below issue for the same:

Issue: 101

Soon I am planning to work on Objective-C wrapper in order enable this library for iOS as well.

Thanks
</ Pranav >

@gianpaj
Copy link
Author

gianpaj commented May 31, 2018

got it. would be useful probably to update the readme file then:

React Native Spruce - iOS & Android

@gianpaj gianpaj closed this as completed May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants