I create swift framework and pod 'AMap3DMap'. My podfile is that
platform :ios, '8.0'
target ‘mapFrameWork’ do
pod 'AMap3DMap'
pod 'AFNetworking'
end
when it did finished but i found that error:
i set the
but it does't work. now what should i do?
I solved it removing
Modules
folder from the framework.Browse to your framework location which is present in the App Project using finder
Go inside
Test.framework
folder (In the above case it will bemapFrameWork.framework
) & DeleteModules
folder.Clean and Re Build the app, it will solve the problem.
Go to project -> Build Settings under "Target" and set "Allow Non-modular Includes in Framework Modules" to YES.
Hope this will help.
Add the header file to the Framework's umbrella header, and then add it to the Headers section as Public. In the below image it shows how to add Reachability library.