Comments (15)
Hello, how strange. Does this happen when using the example app in the repo? What version of the SDK are you using? I assume 1.8.4 is your cocoa pods version
from drift-sdk-ios.
No, I'm using my project. I used version 2.2.11 of drift-sdk-ios. My cocoa pods version is 1.8.4
from drift-sdk-ios.
Can you please try the example project to see if it happens there also?
It sounds like it might be a conflict with dependencies
from drift-sdk-ios.
I try running the example but I see errors
from drift-sdk-ios.
Just to confirm you opened the workspace and not the project file ye?
from drift-sdk-ios.
I am not an ios programmer, I am a react native developer. So there are many things I don't understand about ios. If you need me to provide any additional information so you can spot the error, I'd be happy to. Thank you!
from drift-sdk-ios.
Just to confirm you opened the workspace and not the project file ye?
I went to SDKExample folder and run "Pod install". Then I opened SDKExample.xcworkspace and run it. Is it right?
from drift-sdk-ios.
Yeah that should be it. Have you made any changes to your system or anything. It seems to be not able to find String.swift which seems rather strange. Do you have a custom installation of swift on your machine?
from drift-sdk-ios.
I add lines on file Podfile
pod 'SVProgressHUD', :modular_headers => true
pod 'Drift', '~> 2.2.11'
Then I deleted Pods folder, ran "pod install" and built it. I tried running on 3 different computer but I got the same error
from drift-sdk-ios.
is there any other dependencies in your pod file? how come you are using modular_headers
for the progress hud?
from drift-sdk-ios.
I added modular_headers
because I got an error when I ran pod install
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `Drift` depends upon `SVProgressHUD`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
from drift-sdk-ios.
Ah ok, do you have use_frameworks!
at the top of your podfile? If not could you add it, remove the modular_headers
and try again?
from drift-sdk-ios.
Currently most libraries discourage using use_frameworks!. Do you have any other solutions?
from drift-sdk-ios.
Hi, currently we only support use_frameworks I'm afraid
from drift-sdk-ios.
Hi, as of 2.4.0 we now support static building the library so you should no longer need use_frameworks!
from drift-sdk-ios.
Related Issues (20)
- Push notification HOT 1
- 'UserDTO' Decoding error: Expected to decode Int64 but found a string/data instead. HOT 1
- Conversations dont load on first open, Display just 1 conversation even HOT 3
- Conversation doens't update in real time HOT 4
- What's the state of this SDK?
- AppDelegate Could not load NIB in bundle: 'NSBundle' HOT 1
- Push notification
- New Messages Popup on App Keep coming after close or leave the conversation from Drift HOT 1
- Drift not working properly.
- Push Notification Support HOT 1
- Localization support 🙏 HOT 1
- Support localization HOT 1
- Are real names a possibility? HOT 4
- UI is broken when dark mode is enabled on iOS 13 HOT 3
- Type 'UIColor' has no member 'label' HOT 4
- Can someone help me fix this? I installed the drift-sdk-ios module but it didn't work. show error: HOT 1
- Cartfile needs to be updated for Carthage users HOT 1
- Pre-filled message HOT 2
- Drift pod 2.3.0 has 9 compile error 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 drift-sdk-ios.