ShaMan123 / react-native-math-view

Math view for react native! No WebView!
https://github.com/ShaMan123/react-native-math-view
MIT License
79 stars 25 forks source link

IOS Linking Error #17

Closed Kings-dev-02 closed 4 years ago

Kings-dev-02 commented 4 years ago

Hi ShaMan,

In Andriod running perfectly

In Ios Getting below error:

error Could not find the following native modules: react-native-math-view, RNSVG. Did you forget to run "pod install"?

On running Pod install cd ios && pod install

Getting Below Error:

Detected React Native module pods for RNSVG and react-native-math-view Analyzing dependencies [!] The react-native-math-view pod failed to validate due to 2 errors:

Any Help!!!!!!!

Thanks, Kings

ShaMan123 commented 4 years ago

hmmm... I can't say. No mac present. Does the example app work? I checked that last publish. Did you follow react-native-svg installation guide?

If react-native-math-view pod is troublesome for this version it can be removed safely as it is incomplete. react-native-svg is used as fallback. Next version this will change.

Make sure you're version is the latest.

PR is welcome!

ShaMan123 commented 4 years ago

I see the problem. Try deleting the file ios/react-native-math-view.podspec. I thought it had been deleted. And run pod install of course.

Kings-dev-02 commented 4 years ago

G8 it works, after deleting the file ios/react-native-math-view.podspec inside node_modules, Thanks ShaMan.

one more thing how to show as inline, formula blocks the entire line.

ShaMan123 commented 4 years ago

check out MathExample for code, navigate to Fallback. I bumped the version so you can re-install -> 3.4.3

ShaMan123 commented 4 years ago

BTW next major version ios will depart of react-native-svg in favor of iosMath which is fantastic and renders at 1/10 the time