CocoaPods spec doesn't validate
Closed this issue · 1 comments
phatblat commented
Using CocoaPods 1.1.1 and Xcode 8.1 the podspec fails to validate due to a "include of non-modular header inside framework module" error.
Validating spec
-> ABFRealmMapView (1.8)
- WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
- WARN | xcodebuild: Realm/Realm/ObjectStore/src/sync_session.cpp:293:17: warning: enumeration values 'invalid_error' and 'disabled_session' not handled in switch [-Wswitch]
- ERROR | xcodebuild: /Users/admin/Library/Developer/Xcode/DerivedData/App-dleskvpyfcpmljeszyycxycdeqls/Build/Products/Release-iphonesimulator/ABFRealmMapView/ABFRealmMapView.framework/Headers/ABFLocationFetchRequest.h:14:9: error: include of non-modular header inside framework module 'ABFRealmMapView.ABFLocationFetchRequest' [-Werror,-Wnon-modular-include-in-framework-module]
- ERROR | xcodebuild: /Users/admin/Library/Developer/Xcode/DerivedData/App-dleskvpyfcpmljeszyycxycdeqls/Build/Products/Release-iphonesimulator/ABFRealmMapView/ABFRealmMapView.framework/Headers/ABFLocationFetchedResultsController.h:17:9: error: include of non-modular header inside framework module 'ABFRealmMapView.ABFLocationFetchedResultsController' [-Werror,-Wnon-modular-include-in-framework-module]
- NOTE | [iOS] xcodebuild: /var/folders/rj/b3q1yrj102s6d7m3bcfv0_hw0000gn/T/CocoaPods/Lint/App/main.m:3:9: fatal error: could not build module 'ABFRealmMapView'
[!] The `ABFRealmMapView.podspec.json` specification does not validate.