我使用
但是,我遇到了错误:
除了替换ReplaceMe.swift文件并添加其他文件之外,我没有真正编辑任何其他文件。
以下是Podfile的内容:
pod lib create
创建了一个骨架Pod,并将代码编写到Development pods > MyPod > Classes
组中。但是,我遇到了错误:
Swift is not supported for static libraries
。除了替换ReplaceMe.swift文件并添加其他文件之外,我没有真正编辑任何其他文件。
以下是Podfile的内容:
use_frameworks!
target 'MyPod_Example' do
pod 'MyPod', :path => '../'
target 'MyPod_Tests' do
inherit! :search_paths
end
end
我错过了什么?
pod install
或pod update
命令时,请确保您处于正确的路径下。 - Mohammad Zaid Pathan