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

Build error on iOS (Non Cocoapod) #713

Closed
vinpro24 opened this issue Dec 25, 2017 · 13 comments
Closed

Build error on iOS (Non Cocoapod) #713

vinpro24 opened this issue Dec 25, 2017 · 13 comments

Comments

@vinpro24
Copy link

I using Non Cocoapod & put frameworks under ios/Frameworks folder.
Any Idea?

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in FirebaseAnalytics(FIRAInAppPurchaseTransactionReporter_51b6624ff1330bf43a3ed7d9ba76e1ba.o) "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in FirebaseAnalytics(FIRAProductsRequest_b9979194c8f29313114f911734ebc0e8.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

@evollu
Copy link
Owner

evollu commented Dec 25, 2017

link issue? have you put the frameworks into your project?

@vinpro24
Copy link
Author

yes. I checked in xcode and its has been linked

@evollu
Copy link
Owner

evollu commented Dec 26, 2017

try rm -rf ~/Library/Developer/Xcode/DerivedData?
or you can post a public repo with the issue

@iMagdy
Copy link

iMagdy commented Dec 28, 2017

I'm getting the same error, but for the FirebaseAnalytics part, if you add #import "Firebase.h" to the top of AppDelegate.m you'll end up with one error regarding _OBJC_CLASS_$_RNFIRMessaging like what I'm having now.

Any idea? @evollu

image

@iMagdy
Copy link

iMagdy commented Dec 28, 2017

I ran react-native unlink .... and react-native link ... again and it cleared the above issue!

Now I have this:

image

@evollu
Copy link
Owner

evollu commented Dec 28, 2017

@iMagdy
Copy link

iMagdy commented Dec 28, 2017

Doing manual linking fixed the issue for me, it seem something wrong with react-native auto linking.

@evollu
Copy link
Owner

evollu commented Dec 28, 2017

it has been not working for months

@vinpro24
Copy link
Author

vinpro24 commented Jan 6, 2018

rm -rf ~/Library/Developer/Xcode/DerivedData
this didnot worked for me

@niocncn
Copy link

niocncn commented Jan 25, 2018

same here

@EstebanBP
Copy link

EstebanBP commented Feb 6, 2018

@vinXpro @niocncn
Took me like 4 hours to fix this.
Build phases > Link binary with libraries > Add StoreKit.framework
captura de pantalla 2018-02-06 a las 13 56 47

@rohitgoyal
Copy link

Why is it necessary to add Storekit though?
I don't have In-app purchases in my app.

@evollu
Copy link
Owner

evollu commented Feb 26, 2018

I don't think StoreKit is the issue. the example project doesn't have that.
The original issue seems to be solved?

@evollu evollu closed this as completed Feb 26, 2018
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

6 participants