Cocoapods do not create workspace

I am new to ios and cocoapods. I am using the version of realm.io swift. All this is the latest version, including xcode, realm and cocoapods

I did this with dynamic linking and realized that itunes does not accept framework.sh bands ... so I'm trying to use cocoapods. I did not remove the dynamic layout and followed the steps using cocoapods to set the area.

It generated a workspace file for me, and the launch continues to show the realm object cannot be found, although I have an import area.

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

Now cocoapods do not create a workspace for me. Even the new project that I created.

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

Please, help. Why is he no longer creating a workspace for me

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

+6
source share
4 answers

Simple copy from comments: the answer was to specify use_frameworks! for a test purpose.

+5
source

I was getting an Abort: 6 error during the Generating Pods project stage of the pod installation.

I deleted the Pods folder, reinstalled Cocoapods, ran pod install again, and it worked.

Reinstall cocoapods:

 sudo gem uninstall cocoapods sudo gem install cocoapods 
+4
source

To create a workspace, you must have an installer line in your subpixel:

integrate_targets => true

like this:

install! 'cocoapods', :integrate_targets => true

If you use frameworks, you do not need to create a workspace.

0
source

Try to add

use_frameworks!

between the platform line and the target line, then drag pod install from your terminal.

0
source

Source: https://habr.com/ru/post/987838/


All Articles