react-native-zendesk-chat
react-native-zendesk-chat copied to clipboard
xcode error: use of undeclared identifier 'ZDKFormFieldStatus...
I am having exact same error as #63 in iOS with RN0.60.4
Am using 0.4.1-beta.4 of the library. For some reason, the frameworks won't link up correctly. I saw the library podspec depends on
...
s.dependency 'React-Core'
s.dependency 'ZendeskChatSDK'
end
In Xcode 'Development Pods' I see RNZendeskChat/RNZendeskChatModule.m references
#import <ChatSDK/ChatSDK.h>
#import <ChatProvidersSDK/ChatProvidersSDK.h>
The frameworks shows up in Pods/ZendeskChatProvidersSDK/Frameworks/ChatProvidersSDK.framework and
Pods/ZendeskChatSDK/Frameworks/ChatSDK.framework but somehow it won't recognize ChatSDK
and ChatProvidersSDK
Anybody experienced this or has any suggestion for a workaround? Thanks!
What version of Cocoapods & Xcode are you using?
Cocoapods was very flaky in react-native before 0.62. We didn't use cocoapods until we had upgraded to 0.62.0.
I'm using pod v1.9.3, xcode version 12.1 (12A7403)
It's failing for me as well. If I try to "Run" the App, using a Debug Configuration it works. Once I try to Build using Release config, it fails.
It's failing for me as well. If I try to "Run" the App, using a Debug Configuration it works. Once I try to Build using Release config, it fails.
I see. Thanks for the heads up! Indeed, I'm using Release. Trying debug and will see. How's the build for archive in release, is it working?
p/s: debug config works with exisiting project's podfile. still figuring out with release.
Archiving worked fine, it's weird. In fact If I select 'Any iOS Device' it works ok for both building / archiving.
Any news about this issue? I am having the same problem on release
I have the same bug. I fixed it to update cocoapods version to 1.10.0 with:
sudo gem install cocoapods
and do pod install --repo-update
in ios file again.
Any news about this issue? I am having the same problem
cocospod: 1.9.3
RN: 0.63.2
xcode: 12.1
To @sanshao and everyone still exhibiting this issue:
It sounds like @zhudax noticed the key difference: please make sure you're using the latest version of Cocoapods, and make sure to pod install --repo-update
.
Thanks!
To @sanshao and everyone still exhibiting this issue:
It sounds like @zhudax noticed the key difference: please make sure you're using the latest version of Cocoapods, and make sure to
pod install --repo-update
.Thanks!
Nice! worked fine!
To @sanshao and everyone still exhibiting this issue:
It sounds like @zhudax noticed the key difference: please make sure you're using the latest version of Cocoapods, and make sure to
pod install --repo-update
.Thanks!
This error appear again when I switch my project scheme on Release :( Cocoapods: 1.10.1 RN: 0.63.4 Xcode: 12.3
To @sanshao and everyone still exhibiting this issue: It sounds like @zhudax noticed the key difference: please make sure you're using the latest version of Cocoapods, and make sure to
pod install --repo-update
. Thanks!This error appear again when I switch my project scheme on Release :( Cocoapods: 1.10.1 RN: 0.63.4 Xcode: 12.3
ok I found how to fix it. Basically you have to exclude arm64 for simulator architecture both from your project and the Pod project: https://stackoverflow.com/a/63955114