react-native-xmpp icon indicating copy to clipboard operation
react-native-xmpp copied to clipboard

Throws "Expected a type" on enum object "OMEMOModuleNamespace"

Open AAGSICON opened this issue 6 years ago • 7 comments

Hi @aksonov and @robbiehanson,

I followed the given instructions on my custom project. I am getting the following error on building the application on XCODE.

screen shot 2018-06-05 at 5 50 40 pm

But this error gone when I imported the missing file on the following file given below.

screen shot 2018-06-05 at 5 55 40 pm

But now I am getting following errors on the Enumerated objects on the method declarations on the following file give below.

screen shot 2018-06-05 at 2 16 15 pm

AAGSICON avatar Jun 05 '18 08:06 AAGSICON

Please try older XMPPFramework 3.7 (my forked version that works with XCode 9.3+)

On 5 Jun 2018, at 10:56, AAGSICON [email protected] wrote:

I followed the given instructions my custom project. I am getting the following error on building the application on XCODE.

https://user-images.githubusercontent.com/31310379/40965668-fc92ca5a-68cb-11e8-9f41-3924894706ab.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aksonov/react-native-xmpp/issues/99, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcaD2GhC37TqxQhJJyjoX0n9CcsMrks5t5keqgaJpZM4UaadO.

aksonov avatar Jun 06 '18 07:06 aksonov

I tried with 3.7 earlier. But still getting error : 'XMPPFramework.h' file not found

AAGSICON avatar Jun 06 '18 09:06 AAGSICON

Have you added this module to Podfile?

6 июня 2018 г., в 11:13, AAGSICON [email protected] написал(а):

I tried with 3.7 earlier. But still getting error : 'XMPPFramework.h' file not found

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

aksonov avatar Jun 06 '18 09:06 aksonov

My podfile is as follows

platform :ios, '9.3'

target 'XmppDemo' do

use_frameworks!

pod 'XMPPFramework', '~> 3.7.0' pod 'KissXML', :git => "https://github.com/aksonov/KissXML.git", :branch => '5.1.4'

end

AAGSICON avatar Jun 06 '18 09:06 AAGSICON

You have to add forked XMPPFramework AND this module pod

6 июня 2018 г., в 11:22, AAGSICON [email protected] написал(а):

My podfile is as follows

platform :ios, '9.3'

target 'XmppDemo' do

use_frameworks!

pod 'XMPPFramework', '~> 3.7.0' pod 'KissXML', :git => "https://github.com/aksonov/KissXML.git", :branch => '5.1.4'

end

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

aksonov avatar Jun 06 '18 09:06 aksonov

How to add forked XMPPFramework

AAGSICON avatar Jun 06 '18 09:06 AAGSICON

I already have this issue.

Solved by following way

  1. Manually placed the folder RNXMPP on my project
  2. Then install XMPPFramework, only via pod

Now it works. The issue is related to the RNXMPP package.

skumarm avatar Jul 02 '18 05:07 skumarm