1

I have a test ios project.
And I built my custom framework. The custom framework uses thirt-party framework using cocoapods: for example, Alamofire Library.
My custom framework's build is successfull.
However, if I try to import the custom framework and build it, the error is occurred.
No such module 'Alamofire'
I don't know how to solve this problem.

The below is my podfile code.

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '16.0'
use_frameworks!

target 'MyCustomFramework' do
  # Pods for MyCustomFramework
  pod 'Alamofire'

  target 'MyCustomFrameworkTests' do
    # Pods for testing
  end

end
2
  • Share you .podspec file Commented Aug 11 at 5:55
  • @AnbalaganD I didn't upload to cocoapods' Specs repository. Just testing in local. Commented Aug 12 at 1:52

0

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.