Comments (7)
How does you Podfile look like? Seems like an issue with the Pod itself, as RNMixpanel is loading and looking for Mixpanel, but can't find it.
from react-native-mixpanel.
It just has the one line in it, that mixpanel themselves tell you to use here -
pod 'Mixpanel'
Since posting I've found a solution, on stackoverflow -
Go to your target Build Settings -> Other linker flags -> double click . Add $(inherited)
to a new line.
It was apparently because I was getting errors on pod install
that looked like this -
[!] The `Corona [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'.
This can lead to problems with the CocoaPods installation
Hopefully this will help anyone else who comes across this issue.
from react-native-mixpanel.
Glad you could fix it, next time it would be best to use the command pod init
first, which should create a Podfile looking like this
# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'YourProject' do
end
target 'YourProjectTests' do
end
to which you can add pod 'Mixpanel'
like so:
# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'YourProject' do
pod 'Mixpanel'
end
target 'YourProjectTests' do
end
from react-native-mixpanel.
So does that mean that I don't have to use the xcworkspace that is generated? It would add it to the project itself?
Also, would I specify the Project just as 'YourProject', or would it be 'YourProject.xcodeproj'?
Thanks very much for the help.
from react-native-mixpanel.
Still need to use the workspace, but you just need to input the pod init command and it will take care of generating workspace and Podfile.
I would suggest to look at this https://cocoapods.org/#get_started
from react-native-mixpanel.
Thanks again.
from react-native-mixpanel.
No worries! Let me know if that works better :)
from react-native-mixpanel.
Related Issues (20)
- Mixpanel.sharedInstanceWithToken is not a function HOT 3
- Feature: Group Profile Properties
- MixpanelInstance.initialized boolean is missing from type definitions
- Property 'connectedScenes' not found on object of type 'UIApplication *'
- Please update the notification payload to support the latest iOS HOT 1
- Events not being fired to Mixpanel HOT 14
- Testing with Jest and Enzyme: TypeError: Cannot read property 'sharedInstanceWithToken' of undefined HOT 1
- MIX_PANEL.showInAppMessageIfAvailable() throws "Unhandled promise rejection", ReferenceError : Can't find variable: token HOT 13
- Calling .reset() forcibly re-identifies the user causing issues with identity merge HOT 2
- iOS build fails for fresh React Native 0.63 project
- Mixpanel.people.set HOT 1
- Android: Notifications with deeplinks doesn't open targetted view HOT 3
- Not able to receive push notifications after upgrading Mixpanel Android SDK to 5.8.5 HOT 3
- Method setAppSessionPropertiesIOS is not exposed. HOT 1
- mixpanel crash on Adnroid after the latest release 1.2.4
- davodesign84 / react-native-mixpanel is not working fine.
- Does this library implementation requires iOS App tracking transparency permission? HOT 4
- Multiple push providers
- Crash when opening app HOT 3
- Ignore params on init Instance.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-mixpanel.