calvinkei / react-native-mathjax

Render Mathjax content in React Native Webview
MIT License
34 stars 37 forks source link

The plugin is changing app bundle name to demo while running #7

Closed rinku-k closed 6 years ago

rinku-k commented 6 years ago

I have following dependency - "react": "16.3.1", "react-native": "~0.55.2",

I have installed the above plugin via npm and linked to my project. Once I try running my project (ios), I am seeing that the project name is changed to Demo and then the whole build is failing.

My project runs fine once I remove and unlink Mathjax. Help me know what steps needs to be followed

rinku-k commented 6 years ago

Found that the issue does not persist for old react version 16.0.0 but occurs only for newer react and react-native versions.

While linking mathjax library in react 16.3.1, there are extra link generated. Remove file 900C8298E0384CECAEDD3331 /* demo.app in Resources */, 7423F0FE82A74222865571AF /* demoTests.xctest in Resources */, from 13B07F8C1A680F5B00A75B9A /* Frameworks */ object in ios/ProjectName.xcodeproj/project.pbxproj .

This should solve issue.