Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Steps I followed:
1. I have downloaded the Aviary SDK 4.0.1 from https://developers.aviary.com/docs/ios
2. I Created an iOS binding Project.
3. Renamed the AviarySDK file to AviarySDK.a
4. Added this file to the binding project.
5. Added the AviarySDKResources.bundle to this project.
6. Now as per the documentation for Binding Projects (http://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c/binding_walkthrough/offline.pdf), I tried to generate the ApiDefinition.cs in ObjectiveSharpie, by selecting header files from the path "AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/"
7. This generates an error:
I have attached the text file with the generated Error text.
Please can anyone help me?
Created attachment 6778 [details]
Error while generating ApiDefinition.cs from Objective Sharpie
We are observing same behavior. On creating APIdefinition using ObjectiveSharpie by selecting
header files from the path "AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/"
results in error.
Screencast for this: http://screencast.com/t/o4dpB7qUr5
Error Details: https://gist.github.com/AkhileshKumar01/bd380681fc7df1739975
Do you have any solution for it? How can it be resolved? Your immediate attention would be appreciated.
Please can you inform me if there is any solution to this bug? I really need to generate this binding.
Created attachment 6814 [details]
Successful output from Objective Sharpie
I was able to run Objective Sharpie on Aviary SDK 4.0.1 successfully. Output file attached.
The trickiest step I had to follow was to add an "extra clang command line argument"  on the first dialog window of Objective Sharpie. This was required to allow `clang` to find and import the various Aviary header files.
 -F /path/to/AviarySDK-4.0.1/AviarySDK/
On the "Select Header Files" screen, I then selected just the "main" `AviarySDK.h` header file , and left "Follow #include and #import directives" ON.
Closing because of how old this bug is. So much has changed in Objective Sharpie since this was opened (notably the introduction of the -framework option).
If you have problems with the current release (3.1 as of 2016-05-31) on this SDK, please feel free to file a new bug.
FWIW, I can successfully bind the SDK using the new CocoaPods support:
sharpie pod init ios AviarySDK
sharpie pod bind
Which produces the following output in the working directory:
│ ├── AviarySDK -> Versions/Current/AviarySDK
│ ├── Headers -> Versions/Current/Headers
│ └── ...