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

file not found in iOS and No resourcefound in android #3

Closed
WCChimiiz opened this issue Mar 20, 2018 · 22 comments
Closed

file not found in iOS and No resourcefound in android #3

WCChimiiz opened this issue Mar 20, 2018 · 22 comments
Assignees
Labels
bug Something isn't working

Comments

@WCChimiiz
Copy link

when I run iOS
./node_modules/react-native-app-tour/ios/RNAppTour.h:3:9: fatal error: 'MaterialShowcase/MaterialShowcase-Swift.h' file not found

when I run android
/android/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resourcefound that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/android/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/android/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

@prscX
Copy link
Owner

prscX commented Mar 20, 2018

Thanks @WCChimiiz for raising the issue.

iOS: Did you followed iOS installation steps? Basically need to init and install Pods in your app
Android: Can you please share buildToolsVersion of your app. Please note that this is supported only SDK 25 >

Thanks
Pranav

@congnguyen91
Copy link
Contributor

congnguyen91 commented Mar 22, 2018

@WCChimiiz
IOS:
screen shot 2018-03-22 at 15 40 19
Add pod xproj to your project framework, re-embed lib material showcase again.
When u see your lib with clearly color like this -(opacity = 1)
screen shot 2018-03-22 at 15 44 03
=> correct

Android: let use -sdk 25, 26 ...
compileSdkVersion 26
buildToolsVersion "26.0.1"

@congnguyen91
Copy link
Contributor

congnguyen91 commented Mar 22, 2018

@prscX Let note it on read me or link to this issue :) thanks
@WCChimiiz Please follow our example 👍 It should run :)

@prscX prscX added the bug Something isn't working label Mar 22, 2018
@prscX prscX self-assigned this Mar 22, 2018
@prscX
Copy link
Owner

prscX commented Mar 22, 2018

Thanks @congnguyen91 for the response.

I will add this issue in README, so that it will help folks who encounter the same issue.

Thanks
Pranav

@WCChimiiz
Copy link
Author

@prscX @congnguyen91
sorry all
now I'm fix and then got new fork

@prscX
Copy link
Owner

prscX commented Mar 22, 2018

No problem @WCChimiiz, Please feel free to share PR/Suggestions in case you feel something can be improved.

Please let us know in case you face any issues, lets make community strong and help folks with our work 😄

Thanks
Pranav

@congnguyen91
Copy link
Contributor

@WCChimiiz I have seen your README.md - wonderful. Could you make a best clear README for this project :) like that about this iOS/Android issue. You are alway welcome 👍 to make a merge quest to master branch.

@shubhanus
Copy link

After doing all above steps i am getting material showcase not found please help.

@prscX
Copy link
Owner

prscX commented Apr 18, 2018

Thanks @shubhanus for reporting the issue.

We have added setup video on how to add the native library. Can you please try by following same steps. Let us know in case it does not work.

Thanks
</ Pranav >

@shubhanus
Copy link

Thanks i will try and let u know if anything wont workout.

@shubhanus
Copy link

@prscX I have used old method and just we need to do pod install in ./node_modules/react-native-app-tour/ios then open xcode and follow @congnguyen91 instructions. if we get swift version is not define then in xcode click on frameworks>Pods.xcodeproj and search for swift language version and select Swift 3.3. and that will work!!!!

I think in docs you should remove that video that might be confusing just keep that pod install line.

@lutakyn
Copy link

lutakyn commented Feb 2, 2020

I think the best solution is for the library owner to add a .podspec file to the project. React native is advising people to stop manual linking because they can break the code.Thank you.

@prscX
Copy link
Owner

prscX commented Feb 2, 2020

@lutakyn: Thanks for bringing this up, we have already added .podspec file to iOS folder and is compatible with latest RN61. Please follow installation steps. Let me know if you face any problem.

@khagi
Copy link

khagi commented Apr 17, 2020

sorry guys I don't know whats I did a mistake each and every step I followed android working fine but in ios same issue occurred
Screenshot 2020-04-17 at 11 35 38 AM
Screenshot 2020-04-17 at 11 36 25 AM
Screenshot 2020-04-17 at 11 36 43 AM
Screenshot 2020-04-17 at 11 37 10 AM
Screenshot 2020-04-17 at 11 37 18 AM

@prscX
Copy link
Owner

prscX commented Apr 17, 2020

Could you please share RN version. I would recommend to migrate to RN61, it is easy to do setup and has default pod support.

@khagi
Copy link

khagi commented Apr 17, 2020

Could you please share RN version. I would recommend to migrate to RN61, it is easy to do setup and has default pod support.

I,m Using This version "react-native": "0.60.4"

@prscX
Copy link
Owner

prscX commented Apr 18, 2020

Is it possible to upgrade to RN61, it will be easy to do the setup.

@khagi
Copy link

khagi commented Apr 18, 2020

Is it possible to upgrade to RN61, it will be easy to do the setup.

Thanks, I will check all impact area and upgrade RN61 then I will let you know. it's working or not.

@jalajbridgera
Copy link

Hello @prscX , i am also stuck in the ios build and getting the below error. I am using RN0.61. added the materialshowcase in framework also. Please can you help, i am stuck for long in this, as android it is working fine
79538402-ec411680-80a1-11ea-8b99-99564de7e30c

@kgauravBridgera
Copy link

'MaterialShowcase/MaterialShowcase-Swift.h' file not found error in AppTour.h. On pod update I can see the below logs :
Installing MaterialShowcase (0.7.1)
Installing RNAppTour (1.0.3).
Please guide me over this. I have seen the docs and issues over a week, please help.

@prateekchitransh1907
Copy link

No pod file in or ios folder in node modules when installed.

pod install in ./node_modules/react-native-app-tour/ios ---- no pods file to install

@StefanoCremona
Copy link

I'm stuck in the same situation of @prateekchitransh1907 and @kgauravBridgera .
I couldn't put use_frameworks! in my Podfile because of the existing configuration (it generates conflicts).
Any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants