ChatSecure-iOS icon indicating copy to clipboard operation
ChatSecure-iOS copied to clipboard

No Such Module "OTRKit"

Open kapil0408 opened this issue 5 years ago • 3 comments

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 avatar Feb 17 '20 06:02 kapil0408

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

kapil0408 avatar Feb 17 '20 06:02 kapil0408

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.....

pasha4uu avatar Feb 21 '20 05:02 pasha4uu

Have you found any solution?

Zulqarnayn avatar Apr 22 '21 05:04 Zulqarnayn