Comments (5)
Hello @yuhao900914
Yes solved the simulator run issue with following changes
Build Settings > Build Active Architecture Only > DEBUG = Yes
Thanks
from amplitude-ios.
Hi @ravipappyogi, it looks like that the linker is unable to find the definition of the Amplitude class in Objective-C. Could you check if you've followed the guides to install the dependency?
from amplitude-ios.
Hello
I have followed this step to add Amplitude
- Navigate to File > Swift Package Manager > Add Package Dependency.
- Enter https://github.com/amplitude/Amplitude-iOS into the search bar.
- It automatically resolves to the latest version.
Also, not showing any error while I connected the iPhone device and run on that. Only getting a fail while I am trying to run in the simulator.
Undefined symbol: OBJC_CLASS$_Amplitude
Please let us know if anything manually adds any dependency or if any linker flag needs to add to build settings.
from amplitude-ios.
@ravipappyogi
That's all you need to install amplitude. I'm not able to reproduce this in my local. There have several things you can check.
-
Can clean build and rebuild to see if it fixes the issue?
- Xcode -> Product -> Clean Build Folder and then build again.
-
Please check after you installed Amplitude-iOS SDK, if there are 2 packages has been installed.
Check if theAmplitude
Framework has been auto-added into frameworks section.
Check ifAmplitude
is underLink Binary With Libraries
for your selected target.
-
Please also try to clone this simple example to see if it can be built successfully.
Thanks.
from amplitude-ios.
Hi @ravipappyogi ,
any progress on this issue?
from amplitude-ios.
Related Issues (20)
- Test Issue ticket creation in AMP
- Is there a way to batch events and send them manually? HOT 7
- visionOS support HOT 2
- Feature Request: Add a way to be notified when the session id changes HOT 2
- Is it possible to build static_xcframework from source code? HOT 1
- How can I disable tracking in Swift? HOT 2
- Data race in -[AMPIdentifyInterceptor transferInterceptedIdentify] HOT 1
- Xcode 15 and MacOS Sonoma throw analyze error HOT 1
- API CORS Header Configuration Potentially Allow Unintented Data Leakage
- iOS App Extension (Event Ordering / Grouping) HOT 1
- Apple says that support for the iad framework has ended and the framework must be removed. HOT 1
- Failed to send events in widget extension HOT 2
- Privacy Manifests HOT 10
- Identify does not always update user values
- Need ATTrackingManager??
- Privacy Manifest is not recognized. HOT 5
- Why does `-[Amplitude getDeviceId]` sometimes return empty string? HOT 1
- When running on the visionOS device, Amplitude reports the platform as iOS instead of visionOS HOT 1
- Int and Decimal event properties missing from events HOT 6
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 amplitude-ios.