erikpoort / react-native-salesforce-dmp

ReactNative module for Salesforce DMP 4.0.+
MIT License
2 stars 4 forks source link

Fresh install, cannot get to build #1

Open mrTuomoK opened 5 years ago

mrTuomoK commented 5 years ago

Hi. Trying to get this working but unable. I created a fresh RN-app, installed & linked this npm-package, added the AdSupport & SystemConfiguration frameworks... Trying to build & run on the simulator gives me error --> "Undefined symbols for architecture x86_64: "_OBJCCLASS$_KruxTracker", referenced from: objc-class-ref in libRNSalesforceDMPModule.a(RNSalesforceDMPModule.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) "

Any ideas?

mrTuomoK commented 5 years ago

Update --> I had to manually ad also the Krux-framework... I thought it was already included?

erikpoort commented 5 years ago

It does say so in the readme doesn't it 😅 I'll investigate!

erikpoort commented 5 years ago

Seems like I was trying to introduce an umbrella framework, which is bad!

I'll update the code and documentation later this week! Happy to hear you made it work, and thanks for the feedback :)