vishaldhanotiya / react-native-modal-picker

This is a cross-platform picker with search bar for react native support both platform IOs and android
https://www.npmjs.com/package/rn-modal-picker
44 stars 18 forks source link

Fail when build for Ios #12

Closed sewerrat closed 4 years ago

sewerrat commented 4 years ago

I got this error when building on Ios. Pls show me how to fix No profile for team 'Q84UD28472' matching 'XXXWildCard' found: Xcode couldn't find any provisioning profiles matching 'Q84UD28472/XXXXWildCard'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor. (in target 'RNModalPicker') Thanks!

vishaldhanotiya commented 4 years ago

If you need to run this project on device you need to IOS provisioning profile and certificates. You can generate certificate form Apple developer account/console or if you don't have apple developer account you can run this project on simulator.

sewerrat commented 4 years ago

Actually I already archived my project, and I've just included your picker into my new version. I build succeed on Android, but I got error with iOs. Another error when I tried to build my project with your picker:

'React/RCTBundleURLProvider.h' file not found

Do you have any ideas? Thanks so much!

sewerrat commented 4 years ago

Hi! I found something when rerun pod install:

[!] use_native_modules! skipped the react-native dependency 'rn-modal-picker'. No podspec file was found.
    - Check to see if there is an updated version that contains the necessary
    podspec file
    - Contact the library maintainers or send them a PR to add a podspec. The
    react-native-webview podspec is a good example of a package.json driven
    podspec. See

I think it's reason why I got above errors. Can you check? Thanks so much!

vishaldhanotiya commented 4 years ago

Hello @sewerrat Please check latest version of this npm package, We have resolved this issue in this version npm i rn-modal-picker@0.2.7

This issue generate because of react native support Automatic linking from 0.60.0, so we updated our npm package according to new react native update.