-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Error while generating docs for Objective-C framework #958
Comments
There is no iphone SDK. Did you mean iphonesimulator or iphoneos? |
Sorry for the delay. I corrected the command to specify One with my framework project : Error : Here And I also tried with the framework created for CocoaPods : Command Used : Error : I'm getting Please confirm that
|
Stick with the first (non-podspec) form -- the command is missing the |
@johnfairh I added framework root as suggested by you but still getting error : Error :
As mentioned earlier ** MOPayloadBuilder.h is one of the public headers imported in umbrella header.** |
Jazzy is just running the compiler against your umbrella header file with the include search path set to everything under the framework root directory. If that is not going to match 'MoEngage/MOPayloadBuilder.h' (etc.) then you may need to do some alias directory creation - see eg. #667. I think you have all the jazzy flags set correctly now, hopefully that explanation of what is happening is enough to let you work through the build issues. |
Closing this one now. |
I used the following command in my framework project's directory:
jazzy --objc --umbrella-header MoEngage/MoEngage.h --author "MoEngage Inc." --author_url "https://moengage.com" --github_url "https://github.com/moengage/MoEngage-iOS-SDK" --module "MoEngage" --module-version 4.0.1 --sdk iphone
Getting this Error :
xcodebuild: error: SDK "iphone" cannot be located. xcrun: error: unable to lookup item 'Path' in SDK 'iphone' warning: no such sysroot directory: '' [-Wmissing-sysroot] /Users/Chengappa/Documents/MoEngage/MoEObjC/MoEFramework/MoEngage/MoEngage/MoEngage.h:9:9: fatal error: 'Foundation/Foundation.h' file not found 63% documentation coverage with 42 undocumented symbols included 114 symbols building site building search index jam out ♪♫ to your fresh new docs in
docs``Am I missing something here?
The text was updated successfully, but these errors were encountered: