You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the private repository, and create a .podspec for that. I want to use the repository from the another app so that I run pod install. But It shows the following error:
Command
/Users/james/.rvm/gems/ruby-2.2.1/bin/pod install
Stack
CocoaPods : 0.37.2
Ruby : ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
RubyGems : 2.4.6
Host : Mac OS X 10.10.3 (14D136)
Xcode : 6.3.1 (6D1002)
Git : git version 2.3.2 (Apple Git-55)
Ruby lib dir : /Users/james/.rvm/rubies/ruby-2.2.1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ cb025e2d8d38a20b612efc0ae2bd872fcb45afd9
Actually I cannot pass pod spec lint xxx.podspec.json, it shows the following errors:
-> myRepository (0.0.1)
- WARN | Git sources should specify a tag.
- WARN | Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
- WARN | The description is equal to the summary.
- WARN | There was a problem validating the URL homepage.
- ERROR | [iOS] Returned an unsuccessful exit code. You can use `--verbose` for more information.
- NOTE | <module-includes>:1:9: note: in file included from <module-includes>:1:
- NOTE | Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:3:9: note: in file included from Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:3:
- ERROR | myRepository/myRepository/FMDatabase.h:2:9: error: include of non-modular header inside framework module 'myRepository.FMDatabase'
- NOTE | myRepository/myRepository/FMDatabase.h:3:9: note: in file included from myRepository/myRepository/FMDatabase.h:3:
- ERROR | myRepository/myRepository/FMResultSet.h:2:9: error: include of non-modular header inside framework module 'myRepository.FMResultSet'
- NOTE | myRepository/myRepository/FMDatabase.h:4:9: note: in file included from myRepository/myRepository/FMDatabase.h:4:
- ERROR | myRepository/myRepository/FMDatabasePool.h:10:9: error: include of non-modular header inside framework module 'myRepository.FMDatabasePool'
- NOTE | Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:6:9: note: in file included from Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:6:
- ERROR | myRepository/myRepository/FMDatabaseQueue.h:10:9: error: include of non-modular header inside framework module 'myRepository.FMDatabaseQueue'
- NOTE | Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:9:9: note: in file included from Target Support Files/Pods-myRepository/Pods-myRepository-umbrella.h:9:
- ERROR | myRepository/myRepository/headers.h:9:10: error: include of non-modular header inside framework module 'myRepository.headers'
- ERROR | myRepository/myRepository/headers.h:10:10: error: include of non-modular header inside framework module 'myRepository.headers'
- NOTE | <unknown>:0: error: could not build Objective-C module 'myRepository'
- WARN | [iOS] Unable to find a license file
Analyzed 1 podspec.
[!] The spec did not pass validation.
I'm not sure whether something I miss in the config. I think it's the problem I use objective-c(FMDB) and swift in the same time so that it seems not build successfully. Anyone can give me some suggestion or raise a bug?
The text was updated successfully, but these errors were encountered:
jamesweb1
changed the title
Error: unknown file type when using pod install
error: include of non-modular header inside framework module
Jun 11, 2015
FMDB includes SQLite for which the platform SDKs do not provide a Clang module, therefore its headers are classified as "non-modular". See also #3654 for more information on potential workarounds. Make sure to also file a radar with Apple, so that they might provide Clang modules for the whole breadth of the platform SDK.
I have the private repository, and create a .podspec for that. I want to use the repository from the another app so that I run
pod install
. But It shows the following error:Command
Stack
Plugins
Podfile
Error
Podspec
Following is my xxx.podspec.json in my private repository:
Actually I cannot pass
pod spec lint xxx.podspec.json
, it shows the following errors:I'm not sure whether something I miss in the config. I think it's the problem I use objective-c(FMDB) and swift in the same time so that it seems not build successfully. Anyone can give me some suggestion or raise a bug?
The text was updated successfully, but these errors were encountered: