3

KMP project. I've uninstalled ruby and reinstalled using brew and rbenv. kdoctor shows all check marks

ruby 3.4.2 ruby gems 3.6.3 cocoa pods 1.16.2

When I open my project in Xcode I get the following build Error with no other details:

ERROR: CocoaPods executable not found in your PATH. Reveal in project nav takes me to my Podfile which is:

# Uncomment the next line to define a global platform for your project
platform :ios, '15.4' #min ios version
target 'iosApp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

pod 'composeApp', :path => '../composeApp'
pod 'FirebaseStorage', '11.10.0'

end

My gradle file compiles, here is the cocoa pods section:

cocoapods{
    summary = "Some description of Shared Module"
    homepage = "Link to Shared Module homepage"
    version = "1.0"
    ios.deploymentTarget = "15.4"
    podfile = project.file("../iosApp/Podfile")
    framework {
        baseName = "composeApp"
        isStatic = true
    }

    pod("FirebaseStorage"){linkOnly = true}

}

I have no experience with Xcode, first KMP project and I've hit a wall. Does anyone have any suggestions? I'm using a MacBook Pro with M3 chip.

1 Answer 1

0

Found answer here: https://stackoverflow.com/a/76462352/26635937

Issue with ~/.zshrc file and PATH within that file.

Had to reinstall cocoa pods with a specific path and then put that path into the .zshrc file

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.