ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.02k forks source link

No Such Module "OTRKit" #1182

Open kapil0408 opened 4 years ago

kapil0408 commented 4 years ago

I am implementing ChatSecure iOS in my app, Step That I have followed.

  1. First, I clone a separate chat secure app from below branch and follow these steps

git clone -b xcode-11 https://github.com/ChatSecure/ChatSecure-iOS.git $ cd ChatSecure-iOS/ $ git submodule update --init --recursive

  1. I created a new app where I copied Podspecs, Submodules and other folder and file (OTRResources, README.md, OTRAssets.podspec, OTRAssets, media, license_plist.yml, LICENSE, Gemfile.lock, Gemfile,fastlane, COPYING, CONTRIBUTING.md, ChatSecureCore.podspec, CHANGES.md, ChatSecure folder, ChatSecureCore folder ) from Chat secure app in My app and copy module path from ChatSecure's Podfile to MyProject's Podfile

  2. Then I run command on terminal from My project folder $ bash ./Submodules/CPAProxy/scripts/build-all.sh $ bash ./Submodules/OTRKit/scripts/build-all.sh $ pod repo update $ pod install

$ cp OTRResources/Secrets-template.plist OTRResources/Secrets.plist

All are working fine. Then I import downloaded module in My app. it works fine.

I also drag OTRKIt and CPAProxy project file from submodule in my app as working on this branch (git clone -b xcode-11 https://github.com/ChatSecure/ChatSecure-iOS.git).

But when I build My Project then it shows "NO such module "OTRKIt" I also added dependencies, Link Binary with Library in build Phase for (OTRKit and CPAProxy). I also set Framework search path and Header search path for this module But not get any success.

I am very stuck on this way last 3-4 days. Please help me to find out for this solution. Thanks

kapil0408 commented 4 years ago

This is for Pod File for My Project. It is working fine TravelDemoPodFile.zip

pasha4uu commented 4 years ago

Hello , I Integrating the chatsecure App into my App , IM getting this error " No Such Module "OTRKit"" as I Integrated Steps followed by you same to same.... but i couldn't get any success Please..would be any help i really more appreciated you thank you.....

Zulqarnayn commented 3 years ago

Have you found any solution?