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

Need Help with iOS demo app #21

Open
michaelklem opened this issue Mar 28, 2020 · 2 comments
Open

Need Help with iOS demo app #21

michaelklem opened this issue Mar 28, 2020 · 2 comments

Comments

@michaelklem
Copy link

Hi again. I have been trying to get this your demo code to work on Android and iOS devices. The Android demo worked, but I cannot make progress with the iOS demo app. I have not used XCode in a while so I may be missing something.

I am using OS X 10.14.6
XCode 11.3.1
Node 11
react-native 4.4.0

Errors shown in XCode:
/Users/klemm/Sites/react_native/react-native-advertising-id/demo/node_modules/react-native-advertising-id/ios/RNAdvertisingId-Bridging-Header.h:1:9: 'React/RCTBridgeModule.h' file not found

failed to emit precompiled header '/Users/klemm/Library/Developer/Xcode/DerivedData/demo-fdvybqppbmpffsfydatjyizmizdk/Build/Intermediates.noindex/PrecompiledHeaders/RNAdvertisingId-Bridging-Header-swift_28Y52FXFNEZV-clang_KLU4EDN5EN1U.pch' for bridging header '/Users/klemm/Sites/react_native/react-native-advertising-id/demo/node_modules/react-native-advertising-id/ios/RNAdvertisingId-Bridging-Header.h'

It is not clear to me if I need to do something with the pod file.
I am not seeing any files in XCode as red.
Any ideas what I am missing?

Thanks

Screen Shot 2020-03-27 at 6 37 45 PM

@luatnd
Copy link

luatnd commented Dec 10, 2020

If you use the latest react-native version (>=0.60.x), the package is auto-linked,

I guess you do some manual linking?

@JackJBlundell
Copy link

Ever find a fix here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants