Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cocoapods don't generate workspace

I'm quite New to ios and cocoapods. I am using realm.io swift version. Everything is latest version including xcode, realm and cocoapods

I did it with dynamic linking and realised itunes don't accept the strips framework.sh ...so I try using cocoapods. I didn't remove the dynamic linking and followed the steps using cocoapods to install realm.

It generated the workspace file for me and the running keeps telling realm object can't be found though I have import realm.

So I decided to remove the previous dynamic linking and install cocoapods to start all over again.

Now cocoapods don't generate workspace for me.even a new project that I created.

I tried all the comments to remove pod, cocoapod and even clone the cocoapods etc but nothing works

Please help. Why it don't generate workspace for me anymore

I followed these steps but still don't work https://teamtreehouse.com/forum/pod-install-error-in-terminal-not-creating-xcode-workspace

like image 857
Steven Yong Avatar asked May 25 '15 00:05

Steven Yong


1 Answers

I used all of the given solution and get success.

First got to Product->Scheme->ManageScheme and then check the shared box(Selected Form)
now pod install
if problem still arise
Try this

pod setup
pod install

if still have problem.(this worked for me)

rm -rf ~/.cocoapods 
pod setup
pod install

if problem still there then last but not least

rm -rf ~/.cocoapods 
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
pod install
like image 130
Sultan Ali Avatar answered Sep 19 '22 04:09

Sultan Ali