infoxicator / react-native-star-prnt

React-Native bridge to communicate with Star Micronics Bluetooth/LAN Printers
MIT License
67 stars 65 forks source link

Expo ejected project link not working, error:ld: framework not found StarIO_Extension clang: error: linker command failed with exit code 1 (use -v to see invocation) #13

Open lilyyang88 opened 5 years ago

lilyyang88 commented 5 years ago

I got a project created using expo. In order to link this package. I detached from expo using ExpoKit. When I build the project I got:Apple Mach-O Linker Error error:ld: framework not found StarIO_Extension clang: error: linker command failed with exit code 1 (use -v to see invocation) Anyone has any ideas?

Instead, I use cocoapod to install the package: I added those two lines to the podfile pod 'RNStarPrnt', :path => "../node_modules/react-native-star-prnt", :podspec => "../node_modules/react-native-star-prnt/ios/RNStarPrnt.podspec"

but got those errors:

The RNStarPrnt pod failed to validate due to 1 error:

infoxicator commented 5 years ago

@lilyyang88 I tried a lot using a podfile to link the library but the only way I made it resolve the plugin external star libraries was by linking them manually as explained on the documentation on how to install it for iOS.

dnlowman commented 5 years ago

The repository URL looks incorrect @lilyyang88, could you try to replace author with infoxicator.

msert29 commented 5 years ago

I solved this issue by adding the framework search paths to the settings.